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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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