Text FormattingLeft and Right align dialogue

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
johnjamessmith0
Posts: 37
Joined: Sun Mar 29, 2009 1:41 am

Left and Right align dialogue

Post by johnjamessmith0 »

I'm looking for a way (a non-manual way, mind you)... perhaps via defined environments?.... to create a dialogue that puts one speaker's text aligned to the left and the other on the right so that they interleave, like this:

Code: Select all

A                                            B

Hello! blablablablabla bla
bla blabla bla bla bla bla
bla bla bla bla bla!

                    bleh bleh blehbeeh blah ba
                    bloo blah balh blablablabl
                    dafdkgl;ashg blablabloodee
                                     bla, bla?


blabjasdbla badssalb bdalk
badd!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
joe74
Posts: 15
Joined: Tue Mar 24, 2009 6:17 am

Re: Left and Right align dialogue

Post by joe74 »

Hello.

If the font type isn't a problem for your document or for that specific part of it, you can try with {verbatim} environment.

\vspace and \hspace might be of use, too.

Some ideas only. I've never needed to do such thing.

Regards.
joe74
http://latexlive.wordpress.com/
TeX Live 2009/TeXmaker
Powered by Debian Squeeze
Post Reply