summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-19 20:45:20 +0000
committerKarl Berry <karl@freefriends.org>2021-06-19 20:45:20 +0000
commitd5034bea880dd37b6d05f21e8f7ae6a68592040f (patch)
tree0caf1143b229f8044fa07f39d795deaa6edc654f /Master/texmf-dist/tex/latex
parent769261120c460ce6cefe45da29898d75c81c4d08 (diff)
bilingualpages (19jun21)
git-svn-id: svn://tug.org/texlive/trunk@59643 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty b/Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty
new file mode 100644
index 00000000000..6defd32feaa
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty
@@ -0,0 +1,15 @@
+% Author: Arlie Coles
+% License: LaTeX Project Public License 1.3c
+
+\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{paracol}
+\ProvidesPackage{bilingual}[2021/06/19 Bilingual facing pages.]
+
+% Facing pages
+\newenvironment{bilingualpages}
+{\begin{paracol}[1]{2}}
+{\end{paracol}}
+
+% Left and right pages
+\newcommand{\leftpage}{\switchcolumn[0]}
+\newcommand{\rightpage}{\switchcolumn[1]}