Debian Codegraph @

texmf-dist/source/latex/oberdiek/pdfcolparcolumns.dtx

raw
1 % \iffalse meta-comment
2 %
3 % File: pdfcolparcolumns.dtx
4 % Version: 2019/12/29 v1.5
5 % Info: Color stacks for parcolumns
6 %
7 % Copyright (C)
8 % 2007, 2008, 2010 Heiko Oberdiek
9 % 2016-2019 Oberdiek Package Support Group
10 % https://github.com/ho-tex/oberdiek/issues
11 %
12 % This work may be distributed and/or modified under the
13 % conditions of the LaTeX Project Public License, either
14 % version 1.3c of this license or (at your option) any later
15 % version. This version of this license is in
16 % https://www.latex-project.org/lppl/lppl-1-3c.txt
17 % and the latest version of this license is in
18 % https://www.latex-project.org/lppl.txt
19 % and version 1.3 or later is part of all distributions of
20 % LaTeX version 2005/12/01 or later.
21 %
22 % This work has the LPPL maintenance status "maintained".
23 %
24 % The Current Maintainers of this work are
25 % Heiko Oberdiek and the Oberdiek Package Support Group
26 % https://github.com/ho-tex/oberdiek/issues
27 %
28 % This work consists of the main source file pdfcolparcolumns.dtx
29 % and the derived files
30 % pdfcolparcolumns.sty, pdfcolparcolumns.pdf, pdfcolparcolumns.ins,
31 % pdfcolparcolumns.drv, pdfcolparcolumns-test1.tex.
32 %
33 % Distribution:
34 % CTAN:macros/latex/contrib/oberdiek/pdfcolparcolumns.dtx
35 % CTAN:macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf
36 %
37 % Unpacking:
38 % (a) If pdfcolparcolumns.ins is present:
39 % tex pdfcolparcolumns.ins
40 % (b) Without pdfcolparcolumns.ins:
41 % tex pdfcolparcolumns.dtx
42 % (c) If you insist on using LaTeX
43 % latex \let\install=y\input{pdfcolparcolumns.dtx}
44 % (quote the arguments according to the demands of your shell)
45 %
46 % Documentation:
47 % (a) If pdfcolparcolumns.drv is present:
48 % latex pdfcolparcolumns.drv
49 % (b) Without pdfcolparcolumns.drv:
50 % latex pdfcolparcolumns.dtx; ...
51 % The class ltxdoc loads the configuration file ltxdoc.cfg
52 % if available. Here you can specify further options, e.g.
53 % use A4 as paper format:
54 % \PassOptionsToClass{a4paper}{article}
55 %
56 % Program calls to get the documentation (example):
57 % pdflatex pdfcolparcolumns.dtx
58 % makeindex -s gind.ist pdfcolparcolumns.idx
59 % pdflatex pdfcolparcolumns.dtx
60 % makeindex -s gind.ist pdfcolparcolumns.idx
61 % pdflatex pdfcolparcolumns.dtx
62 %
63 % Installation:
64 % TDS:tex/latex/oberdiek/pdfcolparcolumns.sty
65 % TDS:doc/latex/oberdiek/pdfcolparcolumns.pdf
66 % TDS:source/latex/oberdiek/pdfcolparcolumns.dtx
67 %
68 %<*ignore>
69 \begingroup
70 \catcode123=1 %
71 \catcode125=2 %
72 \def\x{LaTeX2e}%
73 \expandafter\endgroup
74 \ifcase 0\ifx\install y1\fi\expandafter
75 \ifx\csname processbatchFile\endcsname\relax\else1\fi
76 \ifx\fmtname\x\else 1\fi\relax
77 \else\csname fi\endcsname
78 %</ignore>
79 %<*install>
80 \input docstrip.tex
81 \Msg{************************************************************************}
82 \Msg{* Installation}
83 \Msg{* Package: pdfcolparcolumns 2019/12/29 v1.5 Color stacks for parcolumns (HO)}
84 \Msg{************************************************************************}
85
86 \keepsilent
87 \askforoverwritefalse
88
89 \let\MetaPrefix\relax
90 \preamble
91
92 This is a generated file.
93
94 Project: pdfcolparcolumns
95 Version: 2019/12/29 v1.5
96
97 Copyright (C)
98 2007, 2008, 2010 Heiko Oberdiek
99 2016-2019 Oberdiek Package Support Group
100
101 This work may be distributed and/or modified under the
102 conditions of the LaTeX Project Public License, either
103 version 1.3c of this license or (at your option) any later
104 version. This version of this license is in
105 https://www.latex-project.org/lppl/lppl-1-3c.txt
106 and the latest version of this license is in
107 https://www.latex-project.org/lppl.txt
108 and version 1.3 or later is part of all distributions of
109 LaTeX version 2005/12/01 or later.
110
111 This work has the LPPL maintenance status "maintained".
112
113 The Current Maintainers of this work are
114 Heiko Oberdiek and the Oberdiek Package Support Group
115 https://github.com/ho-tex/oberdiek/issues
116
117
118 This work consists of the main source file pdfcolparcolumns.dtx
119 and the derived files
120 pdfcolparcolumns.sty, pdfcolparcolumns.pdf, pdfcolparcolumns.ins,
121 pdfcolparcolumns.drv, pdfcolparcolumns-test1.tex.
122
123 \endpreamble
124 \let\MetaPrefix\DoubleperCent
125
126 \generate{%
127 \file{pdfcolparcolumns.ins}{\from{pdfcolparcolumns.dtx}{install}}%
128 \file{pdfcolparcolumns.drv}{\from{pdfcolparcolumns.dtx}{driver}}%
129 \usedir{tex/latex/oberdiek}%
130 \file{pdfcolparcolumns.sty}{\from{pdfcolparcolumns.dtx}{package}}%
131 % \usedir{doc/latex/oberdiek/test}%
132 % \file{pdfcolparcolumns-test1.tex}{\from{pdfcolparcolumns.dtx}{test1}}%
133 }
134
135 \catcode32=13\relax% active space
136 \let =\space%
137 \Msg{************************************************************************}
138 \Msg{*}
139 \Msg{* To finish the installation you have to move the following}
140 \Msg{* file into a directory searched by TeX:}
141 \Msg{*}
142 \Msg{* pdfcolparcolumns.sty}
143 \Msg{*}
144 \Msg{* To produce the documentation run the file `pdfcolparcolumns.drv'}
145 \Msg{* through LaTeX.}
146 \Msg{*}
147 \Msg{* Happy TeXing!}
148 \Msg{*}
149 \Msg{************************************************************************}
150
151 \endbatchfile
152 %</install>
153 %<*ignore>
154 \fi
155 %</ignore>
156 %<*driver>
157 \NeedsTeXFormat{LaTeX2e}
158 \ProvidesFile{pdfcolparcolumns.drv}%
159 [2019/12/29 v1.5 Color stacks for parcolumns (HO)]%
160 \documentclass{ltxdoc}
161 \usepackage{holtxdoc}[2011/11/22]
162 \begin{document}
163 \DocInput{pdfcolparcolumns.dtx}%
164 \end{document}
165 %</driver>
166 % \fi
167 %
168 %
169 %
170 % \GetFileInfo{pdfcolparcolumns.drv}
171 %
172 % \title{The \xpackage{pdfcolparcolumns} package}
173 % \date{2019/12/29 v1.5}
174 % \author{Heiko Oberdiek\thanks
175 % {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}}
176 %
177 % \maketitle
178 %
179 % \begin{abstract}
180 % Since version 1.40 \pdfTeX\ supports several color stacks.
181 % This package uses them to fix color problems in
182 % package \xpackage{parcolumns}.
183 % \end{abstract}
184 %
185 % \tableofcontents
186 %
187 % \section{Usage}
188 %
189 % \begin{quote}
190 % |\usepackage{pdfcolparcolumns}|
191 % \end{quote}
192 % The package \xpackage{pdfcolparcolumns} loads package \xpackage{parcolums}
193 % \cite{parcolumns}. If color stacks are available then the
194 % macros of \xpackage{parcolumns} are patched to add support
195 % for color stacks.
196 %
197 % \subsection{Option \xoption{rulebetweencolor}}
198 %
199 % Package \xpackage{pdfcolparcolumns} also fixes the color for the
200 % rule between columns (if \xoption{rulebetween} is set).
201 % Default color is \cs{normalcolor}. But this can be changed by using
202 % option \xoption{rulebetweencolor}. It takes a color specification
203 % as value. If the value is empty, then the default (\cs{normalcolor})
204 % is used.
205 % Examples:
206 % \begin{quote}
207 % |rulebetweencolor=blue|,\\
208 % |rulebetweencolor={red}|,\\
209 % |rulebetweencolor={}|, \textit{\% \cs{normalcolor} is used}\\
210 % |rulebetweencolor=[rgb]{1,0,.5}| \textit{\% see below}
211 % \end{quote}
212 % If used inside the optional argument of environment \textsf{parcolumns}
213 % and the value contains an optional argument, then whole value
214 % must be put in curly braces:
215 %\begin{quote}
216 %\begin{verbatim}
217 %\begin{parcolumns}[
218 % rulebetween,
219 % rulebetweencolor={[rgb]{1,0,.5}},
220 %]{2}
221 % ...
222 %\end{parcolumns}
223 %\end{verbatim}
224 %\end{quote}
225 % This option \xoption{rulebetweencolor} can also be set using
226 % \cs{setkeys}:
227 %\begin{quote}
228 %\begin{verbatim}
229 %\setkeys{parcolumns}{rulebetweencolor=green}
230 %\end{verbatim}
231 %\end{quote}
232 %
233 % \subsection{Future}
234 %
235 % Currently package \xpackage{parcolumns} does not seem to be
236 % maintained. Nevertheless if there will be a new version that
237 % adds support for color stacks, then this package may become
238 % obsolete.
239 %
240 % \StopEventually{
241 % }
242 %
243 % \section{Implementation}
244 %
245 % \subsection{Identification}
246 %
247 % \begin{macrocode}
248 %<*package>
249 \NeedsTeXFormat{LaTeX2e}
250 \ProvidesPackage{pdfcolparcolumns}%
251 [2019/12/29 v1.5 Color stacks for parcolumns (HO)]%
252 % \end{macrocode}
253 %
254 % \subsection{Load packages}
255 %
256 % \subsubsection{Package \xpackage{parcolumns}}
257 %
258 % Currently package \xpackage{parcolumns} does not define options.
259 % Thus it is just a precaution that the options of
260 % package \xpackage{pdfcolparcolumns} are passed to
261 % package \xpackage{parcolumns}.
262 % \begin{macrocode}
263 \DeclareOption*{%
264 \PassOptionsToPackage{\CurrentOption}{parcolumns}%
265 }
266 \ProcessOptions\relax
267 \RequirePackage{parcolumns}[2004/11/25]
268 % \end{macrocode}
269 %
270 % \subsubsection{Package \xpackage{pdfcol}}
271 %
272 % \begin{macrocode}
273 \RequirePackage{pdfcol}[2007/09/09]
274 \ifpdfcolAvailable
275 \else
276 \PackageInfo{pdfcolparcolumns}{%
277 Loading aborted, because color stacks are not available%
278 }%
279 \expandafter\endinput
280 \fi
281 % \end{macrocode}
282 %
283 % \subsubsection{Package \xpackage{infwarerr}}
284 %
285 % \begin{macrocode}
286 \RequirePackage{infwarerr}[2007/09/09]
287 % \end{macrocode}
288 %
289 % \subsection{Color stack macros}
290 %
291 % \begin{macro}{\pcpc@MaxStack}
292 % Macro \cs{pcpc@MaxStack} holds the highest number of
293 % allocated stacks.
294 % \begin{macrocode}
295 \global\chardef\pcpc@MaxStack=\z@
296 % \end{macrocode}
297 % \end{macro}
298 % \begin{macro}{\pcpc@InitStacks}
299 % Macro \cs{pcpc@InitStacks} takes the number of columns
300 % as argument and ensures that there are enough color
301 % stacks for all columns.
302 % \begin{macrocode}
303 \def\pcpc@InitStacks#1{%
304 \ifnum#1>\pcpc@MaxStack
305 \begingroup
306 \count@\pcpc@MaxStack
307 \loop
308 \advance\count@\@ne
309 \pdfcolInitStack{pcpc@\the\count@}%
310 \ifnum#1>\count@
311 \repeat
312 \global\chardef\pcpc@MaxStack=\count@
313 \endgroup
314 \fi
315 }
316 % \end{macrocode}
317 % \end{macro}
318 %
319 % \begin{macro}{\pcpc@SwitchStack}
320 % \begin{macrocode}
321 \def\pcpc@SwitchStack#1{%
322 \pdfcolSwitchStack{pcpc@\number#1}%
323 }
324 % \end{macrocode}
325 % \end{macro}
326 %
327 % \begin{macro}{\pcpc@SetCurrent}
328 % \begin{macrocode}
329 \def\pcpc@SetCurrent#1{%
330 \pdfcolSetCurrent{pcpc@\number#1}%
331 }
332 % \end{macrocode}
333 % \end{macro}
334 %
335 % \subsection{Patches}
336 %
337 % Now the color stack macros are patched into the macros
338 % of package \xpackage{parcolumns}.
339 %
340 % \subsubsection{Init stacks}
341 %
342 % \cs{pcpc@InitStacks} should go into the definition of
343 % environment |parcolumns|. \cs{pc@alloccolumns} is executed
344 % there and nowhere else, thus we hook into it.
345 % \begin{macrocode}
346 \g@addto@macro\pc@alloccolumns{%
347 \pcpc@InitStacks\pc@columncount
348 }
349 % \end{macrocode}
350 %
351 % \subsubsection{Switch stack}
352 %
353 % \cs{pcpc@SwitchStack} should be called by marco \cs{colchunk@}.
354 % However it is easier to patch \cs{pc@setcolumnwidth} that
355 % is executed in \cs{colchunk@} only.
356 % \begin{macrocode}
357 \g@addto@macro\pc@setcolumnwidth{%
358 \pcpc@SwitchStack\pc@columnctr
359 }
360 % \end{macrocode}
361 %
362 % \subsubsection{Set current stack color}
363 %
364 % \cs{pcpc@SetCurrent} is set at the begin of each line.
365 % It must be inserted into \cs{pc@placeboxes}. Unhappily
366 % there is no easy way. Therefore we check and
367 % redefine \cs{pc@placeboxes}.
368 % \begin{macrocode}
369 \begingroup
370 \def\x{%
371 \global\let\@tempa\relax
372 \count@\z@
373 \hb@xt@\linewidth{%
374 \vfuzz30ex %
375 \vbadness\@M
376 \splittopskip\z@skip
377 \loop
378 \ifnum\count@<\pc@columncount
379 \advance\count@\@ne
380 \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
381 \hskip\csname pc@column@width@\number\count@\endcsname
382 \else
383 \expandafter\setbox\expandafter\@tempboxa\expandafter
384 \vsplit\csname pc@column@\number\count@\endcsname
385 to \dp\strutbox
386 \vbox{%
387 \unvbox\@tempboxa
388 }%
389 \fi
390 \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
391 \else
392 \global\let\@tempa\pc@placeboxes
393 \fi
394 \ifnum\count@<\pc@columncount
395 \strut
396 \hfill
397 \ifpc@rulebetween
398 \vrule
399 \hfill
400 \fi
401 \fi
402 \repeat
403 }%
404 \@tempa
405 }%
406 \ifx\x\pc@placeboxes
407 \else
408 \@PackageWarningNoLine{pdfcolparcolumns}{%
409 Command \string\pc@placeboxes\space has changed.\MessageBreak
410 Supported versions of package `parcolumns':\MessageBreak
411 \space\space 2004/08/05.\MessageBreak
412 The redefinition of \string\pc@placeboxes\space may not%
413 \MessageBreak
414 behave correctly depending on the changes%
415 }%
416 \fi
417 \endgroup
418 % \end{macrocode}
419 % \begin{macro}{\pc@placeboxes}
420 % \begin{macrocode}
421 \renewcommand*{\pc@placeboxes}{%
422 \global\let\@tempa\relax
423 \count@\z@
424 \hb@xt@\linewidth{%
425 \vfuzz30ex %
426 \vbadness\@M
427 \splittopskip\z@skip
428 \loop
429 \ifnum\count@<\pc@columncount
430 \advance\count@\@ne
431 \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
432 \hskip\csname pc@column@width@\number\count@\endcsname
433 \else
434 \expandafter\setbox\expandafter\@tempboxa\expandafter
435 \vsplit\csname pc@column@\number\count@\endcsname
436 to \dp\strutbox
437 \vbox{%
438 \pcpc@SetCurrent\count@
439 \unvbox\@tempboxa
440 }%
441 \fi
442 \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
443 \else
444 \global\let\@tempa\pc@placeboxes
445 \fi
446 \ifnum\count@<\pc@columncount
447 \strut
448 \hfill
449 \ifpc@rulebetween
450 \begingroup
451 \pcpc@RuleBetweenColor
452 \vrule
453 \endgroup
454 \hfill
455 \fi
456 \fi
457 \repeat
458 }%
459 \@tempa
460 }
461 % \end{macrocode}
462 % \end{macro}
463 % \begin{macro}{\pcpc@RuleBetweenColorDefault}
464 % \begin{macrocode}
465 \def\pcpc@RuleBetweenColorDefault{%
466 \normalcolor
467 }
468 % \end{macrocode}
469 % \end{macro}
470 % \begin{macro}{\pcpc@RuleBetweenColor}
471 % \begin{macrocode}
472 \let\pcpc@RuleBetweenColor\pcpc@RuleBetweenColorDefault
473 % \end{macrocode}
474 % \end{macro}
475 % \begin{macrocode}
476 \define@key{parcolumns}{rulebetweencolor}{%
477 \edef\pcpc@temp{#1}%
478 \ifx\pcpc@temp\@empty
479 \let\pcpc@RuleBetweenColor\pcpc@RuleBetweenColorDefault
480 \else
481 \edef\pcpc@temp{%
482 \noexpand\@ifnextchar[{%
483 \def\noexpand\pcpc@RuleBetweenColor{%
484 \noexpand\color\pcpc@temp
485 }%
486 \noexpand\pcpc@GobbleNil
487 }{%
488 \def\noexpand\pcpc@RuleBetweenColor{%
489 \noexpand\color{\pcpc@temp}%
490 }%
491 \noexpand\pcpc@GobbleNil
492 }%
493 \pcpc@temp\noexpand\@nil
494 }%
495 \pcpc@temp
496 \fi
497 }
498 % \end{macrocode}
499 % \begin{macro}{\pcpc@GobbleNil}
500 % \begin{macrocode}
501 \long\def\pcpc@GobbleNil#1\@nil{}
502 % \end{macrocode}
503 % \end{macro}
504 %
505 % \begin{macrocode}
506 %</package>
507 % \end{macrocode}
508 %% \section{Installation}
509 %
510 % \subsection{Download}
511 %
512 % \paragraph{Package.} This package is available on
513 % CTAN\footnote{\CTANpkg{pdfcolparcolumns}}:
514 % \begin{description}
515 % \item[\CTAN{macros/latex/contrib/oberdiek/pdfcolparcolumns.dtx}] The source file.
516 % \item[\CTAN{macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf}] Documentation.
517 % \end{description}
518 %
519 %
520 % \paragraph{Bundle.} All the packages of the bundle `oberdiek'
521 % are also available in a TDS compliant ZIP archive. There
522 % the packages are already unpacked and the documentation files
523 % are generated. The files and directories obey the TDS standard.
524 % \begin{description}
525 % \item[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}]
526 % \end{description}
527 % \emph{TDS} refers to the standard ``A Directory Structure
528 % for \TeX\ Files'' (\CTANpkg{tds}). Directories
529 % with \xfile{texmf} in their name are usually organized this way.
530 %
531 % \subsection{Bundle installation}
532 %
533 % \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the
534 % TDS tree (also known as \xfile{texmf} tree) of your choice.
535 % Example (linux):
536 % \begin{quote}
537 % |unzip oberdiek.tds.zip -d ~/texmf|
538 % \end{quote}
539 %
540 % \subsection{Package installation}
541 %
542 % \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
543 % \docstrip\ archive. The files are extracted by running the
544 % \xfile{.dtx} through \plainTeX:
545 % \begin{quote}
546 % \verb|tex pdfcolparcolumns.dtx|
547 % \end{quote}
548 %
549 % \paragraph{TDS.} Now the different files must be moved into
550 % the different directories in your installation TDS tree
551 % (also known as \xfile{texmf} tree):
552 % \begin{quote}
553 % \def\t{^^A
554 % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
555 % pdfcolparcolumns.sty & tex/latex/oberdiek/pdfcolparcolumns.sty\\
556 % pdfcolparcolumns.pdf & doc/latex/oberdiek/pdfcolparcolumns.pdf\\
557 % pdfcolparcolumns.dtx & source/latex/oberdiek/pdfcolparcolumns.dtx\\
558 % \end{tabular}^^A
559 % }^^A
560 % \sbox0{\t}^^A
561 % \ifdim\wd0>\linewidth
562 % \begingroup
563 % \advance\linewidth by\leftmargin
564 % \advance\linewidth by\rightmargin
565 % \edef\x{\endgroup
566 % \def\noexpand\lw{\the\linewidth}^^A
567 % }\x
568 % \def\lwbox{^^A
569 % \leavevmode
570 % \hbox to \linewidth{^^A
571 % \kern-\leftmargin\relax
572 % \hss
573 % \usebox0
574 % \hss
575 % \kern-\rightmargin\relax
576 % }^^A
577 % }^^A
578 % \ifdim\wd0>\lw
579 % \sbox0{\small\t}^^A
580 % \ifdim\wd0>\linewidth
581 % \ifdim\wd0>\lw
582 % \sbox0{\footnotesize\t}^^A
583 % \ifdim\wd0>\linewidth
584 % \ifdim\wd0>\lw
585 % \sbox0{\scriptsize\t}^^A
586 % \ifdim\wd0>\linewidth
587 % \ifdim\wd0>\lw
588 % \sbox0{\tiny\t}^^A
589 % \ifdim\wd0>\linewidth
590 % \lwbox
591 % \else
592 % \usebox0
593 % \fi
594 % \else
595 % \lwbox
596 % \fi
597 % \else
598 % \usebox0
599 % \fi
600 % \else
601 % \lwbox
602 % \fi
603 % \else
604 % \usebox0
605 % \fi
606 % \else
607 % \lwbox
608 % \fi
609 % \else
610 % \usebox0
611 % \fi
612 % \else
613 % \lwbox
614 % \fi
615 % \else
616 % \usebox0
617 % \fi
618 % \end{quote}
619 % If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
620 % TDS installing feature, then some files can already be in the right
621 % place, see the documentation of \docstrip.
622 %
623 % \subsection{Refresh file name databases}
624 %
625 % If your \TeX~distribution
626 % (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh
627 % these. For example, \TeX\,Live\ users run \verb|texhash| or
628 % \verb|mktexlsr|.
629 %
630 % \subsection{Some details for the interested}
631 %
632 % \paragraph{Unpacking with \LaTeX.}
633 % The \xfile{.dtx} chooses its action depending on the format:
634 % \begin{description}
635 % \item[\plainTeX:] Run \docstrip\ and extract the files.
636 % \item[\LaTeX:] Generate the documentation.
637 % \end{description}
638 % If you insist on using \LaTeX\ for \docstrip\ (really,
639 % \docstrip\ does not need \LaTeX), then inform the autodetect routine
640 % about your intention:
641 % \begin{quote}
642 % \verb|latex \let\install=y\input{pdfcolparcolumns.dtx}|
643 % \end{quote}
644 % Do not forget to quote the argument according to the demands
645 % of your shell.
646 %
647 % \paragraph{Generating the documentation.}
648 % You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
649 % the documentation. The process can be configured by the
650 % configuration file \xfile{ltxdoc.cfg}. For instance, put this
651 % line into this file, if you want to have A4 as paper format:
652 % \begin{quote}
653 % \verb|\PassOptionsToClass{a4paper}{article}|
654 % \end{quote}
655 % An example follows how to generate the
656 % documentation with pdf\LaTeX:
657 % \begin{quote}
658 %\begin{verbatim}
659 %pdflatex pdfcolparcolumns.dtx
660 %makeindex -s gind.ist pdfcolparcolumns.idx
661 %pdflatex pdfcolparcolumns.dtx
662 %makeindex -s gind.ist pdfcolparcolumns.idx
663 %pdflatex pdfcolparcolumns.dtx
664 %\end{verbatim}
665 % \end{quote}
666 %
667 % \begin{thebibliography}{9}
668 %
669 % \bibitem{parcolumns}
670 % Jonathan Sauer: \textit{The \xpackage{parcolumns} package};
671 % 2004/11/25;\\
672 % \CTANpkg{parcolumns}.
673 %
674 % \bibitem{pdfcol}
675 % Heiko Oberdiek: \textit{The \xpackage{pdfcol} package};
676 % 2007/09/09;\\
677 % \CTANpkg{pdfcol}.
678 %
679 % \end{thebibliography}
680 %
681 % \begin{History}
682 % \begin{Version}{2007/07/26 v1.0}
683 % \item
684 % First version, published in the newsgroup \xnewsgroup{comp.text.tex}
685 % with the name \xpackage{parcolumns-colorstacks}: ^^A no line break
686 % \URL{``\link{Re: \xpackage{xcolor} glitches}''}^^A
687 % {https://groups.google.com/group/comp.text.tex/msg/56bd897b11bca414}
688 % \end{Version}
689 % \begin{Version}{2007/09/09 v1.1}
690 % \item
691 % CTAN version, package name renamed to \xpackage{pdfcolparcolumns}.
692 % \item
693 % Uses package \xpackage{pdfcol}.
694 % \item
695 % Documentation added.
696 % \item
697 % Test file added.
698 % \end{Version}
699 % \begin{Version}{2008/08/11 v1.2}
700 % \item
701 % Code is not changed.
702 % \item
703 % URLs updated.
704 % \end{Version}
705 % \begin{Version}{2010/01/11 v1.3}
706 % \item
707 % Fix for rule color.
708 % \item
709 % New option \xoption{rulebetweencolor} for environment |parcolumns|.
710 % \end{Version}
711 % \begin{Version}{2016/05/16 v1.4}
712 % \item
713 % Documentation updates.
714 % \end{Version}
715 % \begin{Version}{2019/12/29 v1.5}
716 % \item
717 % \cs{PassOptionsToPackage} not \cs{PassoptionsToPackage}
718 % \end{Version}
719 % \end{History}
720 %
721 % \PrintIndex
722 %
723 % \Finale
724 \endinput