summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/paracol/ppts.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/paracol/ppts.dtx')
-rw-r--r--Master/texmf-dist/source/latex/paracol/ppts.dtx66
1 files changed, 45 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/paracol/ppts.dtx b/Master/texmf-dist/source/latex/paracol/ppts.dtx
index 311a1efda13..cc7847db7c5 100644
--- a/Master/texmf-dist/source/latex/paracol/ppts.dtx
+++ b/Master/texmf-dist/source/latex/paracol/ppts.dtx
@@ -1,3 +1,4 @@
+% \def\oddeven#1#2{\ifodd\value{page}#1\else#2\fi}
% \marginparpush5pt \@mparswitchtrue
% \section{Two-Sided Typesetting and Parallel-Paging}
% \label{sec:ppts}
@@ -10,25 +11,33 @@
%
% This and the next section are typeset with \Uidx{\!\twosided!} enabling
% features |p|, |c| and |m| and also |b| for a part of the next section.
-% The effect of |p| feature can be seen by the left side, or in other word
-% inside, margin of this odd-numbered page is narrower than that of the
-% previous pages because the author reduced the effective left side margin
-% being $\!\oddsidemargin!+1\,|in|$ by 75\,\%\footnote{
+% The effect of |p| feature can be seen by the \oddeven{left}{right}, or in
+% other word inside, margin of this \oddeven{odd}{even}-numbered page is
+% narrower than that of the previous pages because the author reduced the
+% effective \oddeven{left}{right} side margin being calculated from
+% \oddeven{\cs{oddsidemargin}}{\cs{evesidemargin}}
+% 
+% \SpecialIndex{\oddsidemargin}
+% \SpecialIndex{\evensidemargin}
+% 
+% by 75\,\%\footnote{
% 
% This document itself does not have |twoside| option in its
% \!\documentclass! but the inconsistency between the option and
% \!\twosided! is not visible because \!\pagestyle! is |plain|.}.
% 
-% This setting makes the right side or outside margin of this page enlarged
-% by 125\,\% as well as the left side and outside margin of the next
-% even-numbered page.
+% This setting makes the \oddeven{right}{left} side or outside margin of
+% this page enlarged by 125\,\%, as well as the \oddeven{left}{right} side
+% and outside margin of the next \oddeven{even}{odd}-numbered page specified
+% by \oddeven{\cs{evensidemargin}}{\cs{oddsidemargin}}.
%
% Next, we see the effects of |c| and |m| features by the \env{paracol}
% environment below for which \Uidx{\!\columnratio!}|{0.6}| and
% \Uidx{\!\marginparthreshold!}|{0}| are declared to make the \emph{inside}
-% columns (left ones in odd-numbered pages) are wider than the
-% \emph{outside} ones and all marginal notes go to outside (right in
-% odd-numbered pages) margins.
+% columns (\oddeven{left}{right} ones in \oddeven{odd}{even}-numbered pages)
+% are wider than the \emph{outside} ones and all marginal notes go to
+% outside (\oddeven{right}{left} in \oddeven{odd}{even}-numbered pages)
+% margins.
% 
% \columnratio{0.6}\marginparthreshold{0}
% 
@@ -52,15 +61,15 @@
% page.\\
% \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\
% \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\
-% \Dotfill\\ \Dotfill\\ \Dotfill\par
+% \Dotfill\\ \Dotfill\par
%
% This is the third paragraph of the inside column-0 having a page break in
-% it. Since shortly we will be in an even-numbered page
+% it. Since shortly we will be in an \oddeven{even}{odd}-numbered page
% \pageref{page:ppts2} (now), this wider column\Marginpar{Third marginal
-% note from column-0} is now right one keeping it
+% note from column-0} is now \oddeven{right}{left} one keeping it
% inside, while the marginal note given in the first line of this page goes
-% to left and outside. Now we will have a \!\switchcolumn! below this
-% paragraph to go to the column-1 and back to the previous page
+% to \oddeven{left}{right} and outside. Now we will have a \!\switchcolumn!
+% below this paragraph to go to the column-1 and back to the previous page
% \pageref{sec:ppts}.\label{page:ppts2}
% \switchcolumn
% \it
@@ -82,14 +91,14 @@
% pushing the note from this column down rather than that from the
% column-0. Now the author puts a few dummy lines to go to the second last
% line of this page.\\
-% \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\
+% \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\ \Dotfill\\
% \Dotfill\par
%
-% This is the third paragraph of the outside column-1, which becomes left
-% shortly by the page break.\Marginpar{\it Third marginal note from
-% column-1.} The third marginal note is given in the first line of this
-% page, but it is pushed down again due to the conflict with the note from
-% the column-0.
+% This is the third paragraph of the outside column-1, which becomes
+% \oddeven{left}{right} shortly by the page break.\Marginpar{\it Third
+% marginal note from column-1.} The third marginal note is given in the
+% first line of this page, but it is pushed down again due to the conflict
+% with the note from the column-0.
% \end{paracol}
% \Hrule
%
@@ -99,7 +108,22 @@
% in \postenv. For example, the marginal note given in the first line of
% this paragraph is pushed down.
%
+% \ifodd\value{page}
+% We will see a few examples of \parapag{}ing shortly, but before that we
+% will have an intentional black page to make the first page of the example
+% odd-numbered to avoid you have an impression that its layout is
+% incorrect\footnote{
+% 
+% At least the author himself had such impression without the blank page.}
+% 
+% because if it were in an even page you would see the {\em outside\/} third
+% and fourth supplementary {\em columns\/} at first.
+% 
+% \newpage\vspace*{\fill}\centerline{(intentionally blanked page)}\vfill
+% 
+% \else
% From the next page, we will see a few examples of \parapag{}ing.
+% \fi
%
%
%