summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cals/examples/demo.tex
blob: 97834159c131816391d540169069ad89d951b58f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
\documentclass[twocolumn]{minimal}
\usepackage[paper=a5paper,landscape=true,margin=1cm,
  twocolumn=true,columnsep=1cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage{helvet}
\usepackage{times}
\usepackage{color}
\usepackage{fancyvrb}
\usepackage{multicol}
\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 table1
\newcolumn
\VerbatimInput{table1.tex}
\clearpage

\header{Decorations}
\input table2
\newcolumn
\VerbatimInput[fontsize=\small]{table2.tex}
\clearpage

\header{Cell spanning}
\input table3
\newcolumn
\VerbatimInput[fontsize=\small]{table3.tex}
\clearpage

\header{Multipage table (in a multicols in a table)}
\input table4
\newcolumn
\VerbatimInput[fontsize=\small]{table4.tex}
\clearpage

\end{document}