[Tex/LaTex] Writing texts in two parallel columns

two-column

I need to quote an excerpt of a book along with its translation, but I don't know how to write the original text in the left of my document and the translated one in the right of the same page.

The document class is book, and my document is written full page, not divided in columns.

Can you help me?

Best Answer

You can use, possibly amongst other choices, paracol or parcolumns. Each have their own option to specify/choose from.


paracol

enter image description here

\documentclass{article}

\usepackage[margin=1in]{geometry}% Just for this example
\usepackage{paracol,lipsum}

\begin{document}

\sloppy% Just for this example
\lipsum[1]

\columnratio{0.4}
%\setlength{\columnseprule}{.4pt}
\begin{paracol}{2}
  \lipsum[2]
  \switchcolumn
  \lipsum[3]
\end{paracol}

\lipsum[4]

\end{document}

parcolumns

enter image description here

\documentclass{article}

\usepackage[margin=1in]{geometry}% Just for this example
\usepackage{parcolumns,lipsum}

\begin{document}

\sloppy% Just for this example
\lipsum[1]

\begin{parcolumns}[colwidths={1=.4\linewidth},rulebetween]{2}
  \colchunk{\lipsum[2]}
  \colchunk{\lipsum[3]}
\end{parcolumns}

\lipsum[4]

\end{document}
Related Question