diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-parallel.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-parallel.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-parallel.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-parallel.html new file mode 100644 index 00000000000..b84159458b7 --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-parallel.html @@ -0,0 +1,59 @@ +<head> +<title>UK TeX FAQ -- question label parallel</title> +</head><body> +<h3>Parallel setting of text</h3> +<p/>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. +<p/>The <i>parallel</i> 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 +<blockquote> +<pre> +\usepackage{parallel} +... +\begin{Parallel}{<left-width>}{<right-width} + \ParallelLText{left-text} + \ParallelRText{right-text} + \ParallelPar + ... +\end{Parallel} +</pre> +</blockquote><p> +<i>Parallel</i> can get terribly confused with colour changes, in +PDFTeX; the indefatigable Heiko Oberdiek has a patch for this +issue — the <i>pdfcolparallel</i>, which maintains separate +colour stacks for the columns. +<p/>The <i>parcolumns</i> 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 <i>parallel</i>, +though there is of course a “number of columns to specify”: +<blockquote> +<pre> +\usepackage{parcolumns} +... +\begin{parcolumns}[<options>]{3} + \colchunk{<Column 1 text>} + \colchunk{<Column 2 text>} + \colchunk{<Column 3 text>} + \colplacechunks + ... +\end{parcolumns} +</pre> +</blockquote><p> +The <<i>options</i>> can specify the widths of the columns, whether to +place rules between the columns, whether to set the columns sloppy, etc. +<p/>The <i>ledpar</i> package is distributed with (and integrated with) +the <a href="FAQ-linenos.html"><i>ledmac</i> package</a>. 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. +<dl> +<dt><tt><i>ledpar.sty</i></tt><dd>Distributed with <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ledmac.zip">macros/latex/contrib/ledmac</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ledmac.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ledmac/">browse</a>) +<dt><tt><i>parallel.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/parallel.zip">macros/latex/contrib/parallel</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/parallel.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/parallel/">browse</a>) +<dt><tt><i>parcolumns.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/sauerj.zip">macros/latex/contrib/sauerj</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/sauerj.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/sauerj/">browse</a>) +<dt><tt><i>pdfcolparallel.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/oberdiek.zip">macros/latex/contrib/oberdiek</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/oberdiek.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/oberdiek/">browse</a>) +</dl> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=parallel">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=parallel</a> +</body> |