Debian Codegraph @

texmf-dist/doc/latex/paracol/README

raw
1 paracol (v1.37): a multi-column package to typeset columns in "parallel".
2 ===
3 Copyright (C) 2005-2018
4 Hiroshi Nakashima (Kyoto University, deceased)
5 Copyright (C) 2024,2025
6 Markus Kurtz
7 This package can be redistributed and/or modified under the terms
8 of the LaTeX Project Public License distributed from CTAN
9 archives in directory macros/latex/base/lppl.txt; either
10 version 1 of the License, or any later version.
11 ===
12
13 [Contents]
14
15 - README ............ this document
16 - paracol.ins ....... for docstrip
17 - paracol.dtx ....... main dtx for manual and implementation document
18 - man.dtx ........... source of Section 1 to 6 of user's manual
19 - ref.dtx ........... source of Section 7 of user's manual
20 - pwfnote.dtx ....... source of Section 8 of user's manual
21 - ppts.dtx .......... source of Section 9 of user's manual
22 - bgpaint.dtx ....... source of Section 10 of user's manual
23 - probs.dtx ......... source of Section 11 of user's manual
24 - impl.dtx .......... source of implementation document
25 - paracol-man.pdf ... PDF of user's manual
26 - paracol.pdf ....... PDF of implementation manual
27
28 [How to "make"]
29
30 ## The l3build way: get the zip archive from
31 # https://codeberg.org/mgkurtz/paracol/archive/main.zip
32
33 % unzip main.zip
34 % cd paracol
35 % l3build install # to install paracol.sty or
36 % l3build install --full # to also install docs and source
37
38 ## The classical way
39
40 % tex paracol.ins # you'll have paracol.sty and paracol-man.tex
41
42 # to have user's manual (its PDF is included in the distribution)
43 % latex paracol-man
44 % latex paracol-man # you need do it twice to make index correct.
45 % makeindex -s gind.ist -o paracol-man.ind paracol-man.idx
46 % latex paracol-man
47
48 # to have implementation document of almmost 300 pages(!!)
49 % latex paracol.dtx
50 % latex paracol.dtx # you need do it twice to make index correct.
51 % makeindex -s gind.ist -o paracol.ind paracol.idx
52 % makeindex -s gglo.ist -o paracol.gls paracol.glo
53 % latex paracol.dtx
54
55 Note that if you want LaTeXing paracol-man.tex and/or paracol.dtx,
56 you need newvbtm.sty being also available in CTAN.
57
58 [Features]
59
60 + "paracol" environment in which you may "switch" and "synchronize columns
61 by \switchcolumn(*).
62
63 + "column", "nthcolumn", "leftcolumn" and "rightcolumn" environments used in
64 "paracol" to enclose texts to appear in a column.
65
66 + Counters are "local" to each column in default but you may make some of
67 them global to all columns by \globalcounter{<ctr>}.
68
69 + \definethecounter{<ctr>}{<col>}{<rep>} to give <ctr> its <rep>resentaion
70 specific to <col>-th column.
71
72 + \addcontentsonly{<file>}{<col>} to allow contents output for <file> only
73 from <col> (new for v1.00).
74
75 + \columnratio{<r_0>,<r_1>,...} to control the width of each column rather
76 than splitting columns evenly (new for v1.1).
77
78 - \columncolor[<mode>]{<color>}[<col>] to give the default <color> (with
79 <mode>) to the column <col> (new for v1.2).
80
81 - \footnoteplacement{<layout>} to choose ordinary column-wise footnote
82 typesetting or page-wise typesetting to gather footnotes in all columns
83 (new for v1.2, *NEW* for v1.3 with better API, new for v1.36 with new name).
84
85 - \twosided{<t_1><t_2>...} to enable ordinary two-sided typesetting
86 (<t_i>=p), reversal of printing order of columns in even-numbered pages
87 (<t_i>=c), reversal of margins where marginal notes go to (<t_i>=m),
88 and/or mirroring background painting (<t_i>=b) ('m' and 'b' and better API
89 are *NEW* for v1.3).
90
91 - "paracol" environment has options for "parallel-paging" to typeset
92 parallel-columns in adjacent page pairs (*NEW* for v1.3).
93
94 - \thecolumn to let your macros know which columns they are in (*NEW* for
95 v1.3).
96
97 - \ensurevspace{<len>} to force a page break if a synchronization point
98 would be set leaving a small space less than <len> (*NEW* for v1.3).
99
100 - \setcolumnwidth{<s_1>,<s_2>,...}[<s'_1>,<s'_2>,...] to specify widths of
101 columns and column-separating gaps more detailedly than \columnratio
102 (*NEW* for v1.3).
103
104 - \marginparthreshold{<k>}[<k'>] to specify the minimum ordinal <k> of
105 columns whose marginal notes go to right margin (*NEW* for v1.3).
106
107 - \[no]coloredwordhyphenated to allow/disallow hyphenating the first word
108 following a coloring command (*NEW* for v1.3).
109
110 - \colseprulecolor[<mode>]{<color>}[<col>] to specify the color of rules
111 drawn in gaps separating columns, i.e., now they can be drawn (*NEW* for
112 v1.3).
113
114 - \backgroundcolor{<regino>}{<color>}[<mode>] to paint the background of a
115 <region> by <color> (*NEW* for v1.3).
116
117 - \globalcounter* to make all counters global (*NEW* for v1.32).
118
119 - Compatible with the new implemenatation of LaTeX (2015/01/10 or
120 later) now (*NEW* for v 1.32).
121
122 - \belowfootnoteskip to add space below non-merged pre-environment footnotes
123 (*NEW* for v 1.35).
124
125 - \definecolumnpreamble{<col>}{<pream>} to define the column preamble
126 <pream> for the column <col> (*NEW* for v 1.35).
127
128 - Emulation of \marginnote[<left>]{<right>}[<voffset>] given by marginnote
129 package (*NEW* for v 1.35).
130
131 - Bugs found in v1.3 and successors up to v1.35 has been fixed.
132
133 Enjoy!
134
135 Hiroshi Nakashima