summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cals/examples/bididemo.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/cals/examples/bididemo.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/cals/examples/bididemo.tex')
-rw-r--r--macros/latex/contrib/cals/examples/bididemo.tex59
1 files changed, 59 insertions, 0 deletions
diff --git a/macros/latex/contrib/cals/examples/bididemo.tex b/macros/latex/contrib/cals/examples/bididemo.tex
new file mode 100644
index 0000000000..907f2f6c86
--- /dev/null
+++ b/macros/latex/contrib/cals/examples/bididemo.tex
@@ -0,0 +1,59 @@
+\documentclass[twocolumn]{minimal}
+\usepackage[paper=a5paper,landscape=true,margin=1cm,
+ twocolumn=true,columnsep=1cm]{geometry}
+\usepackage{helvet}
+\usepackage{times}
+\usepackage{color}
+\usepackage{fancyvrb}
+\usepackage{multicol}
+
+\usepackage[RTLdocument]{bidi}
+\usepackage{cals}
+
+\newcommand\newcolumn{\vfil\penalty-10000 }
+\newcommand\small{\fontsize{9pt}{11pt}\selectfont}
+\newcommand\Small{\fontsize{8pt}{9pt}\selectfont}
+\newcommand\Large{\fontsize{12pt}{14pt}\selectfont}
+
+\newcommand\header[1]{\noindent{\Large\bfseries#1\strut}\par\bigskip}
+
+\showboxdepth=100
+\showboxbreadth=100
+
+\begin{document}
+\makeatletter
+
+\header{CALS tables demo}
+\newcolumn
+\parindent=0pt
+by Oleg Parashchenko\par
+\textless{}olpa uucode com\textgreater\par
+\par
+24 May 2013\par
+\clearpage
+
+\header{Simple table}
+\input biditable1
+\newcolumn
+\VerbatimInput{biditable1.tex}
+\clearpage
+
+\header{Decorations}
+\input biditable2
+\newcolumn
+\VerbatimInput[fontsize=\small]{biditable2.tex}
+\clearpage
+
+\header{Cell spanning}
+\input biditable3
+\newcolumn
+\VerbatimInput[fontsize=\small]{biditable3.tex}
+\clearpage
+
+\header{Multipage table (in a multicols in a table)}
+\input biditable4
+\newcolumn
+\VerbatimInput[fontsize=\small]{biditable4.tex}
+\clearpage
+
+\end{document}