UK TeX FAQ -- question label parallel

### Parallel setting of text

It’s commonly necessary to present text in two languages ‘together’ on a page, or on a two-page spread. For this to be satisfactory, one usually needs some sort of alignment between the two texts.

The parallel package satisfies the need, permitting typesetting in two columns (not necessarily of the same width) on one page, or on the two opposing pages of a two-page spread. Use can be as simple as

>     \usepackage{parallel}
>     ...
>     \begin{Parallel}{<left-width>}{<right-width}
>       \ParallelLText{left-text}
>       \ParallelRText{right-text}
>       \ParallelPar
>       ...
>     \end{Parallel}

Parallel can get terribly confused with colour changes, in PDFTeX; the indefatigable Heiko Oberdiek has a patch for this issue — the pdfcolparallel package, which maintains separate colour stacks for the columns.

The parcolumns package can (in principle) deal with any number of columns: the documentation shows its use with three columns. Usage is rather similar to that of parallel, though there is of course a “number of columns to specify”:

>     \usepackage{parcolumns}
>     ...
>     \begin{parcolumns}[<options>]{3}
>       \colchunk{<Column 1 text>}
>       \colchunk{<Column 2 text>}
>       \colchunk{<Column 3 text>}
>       \colplacechunks
>       ...
>     \end{parcolumns}

The <options> can specify the widths of the columns, whether to place rules between the columns, whether to set the columns sloppy, etc. Again, there are issues with colours, which are addressed by the pdfcolparcolumns package.

The ledpar package is distributed with (and integrated with) the ledmac package. It provides parallel setting carefully integrated with the needs of a scholarly text, permitting translation, or notes, or both, to be set in parallel with the ‘base’ text of the document.

`ledpar.sty`
  Distributed with macros/latex/contrib/ledmac (or browse the directory); catalogue entry
`parallel.sty`
  macros/latex/contrib/parallel (or browse the directory); catalogue entry
`parcolumns.sty`
  Distributed as part of macros/latex/contrib/sauerj (or browse the directory); catalogue entry
`pdfcolparallel.sty`
  Distributed as part of macros/latex/contrib/oberdiek (or browse the directory); catalogue entry
`pdfcolparcolumns.sty`
  pdfcolparcolumns]

This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=parallel