diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-27 18:44:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-27 18:44:23 +0000 |
commit | 5691eba007aa04de66f737f9e721b76d2d6b5454 (patch) | |
tree | e311d22644159d4c129bfe9291862d91eb7a0e18 /Master/texmf-dist/doc | |
parent | 43a74c7594c1ac6be0685cc2339594b63536bd3b (diff) |
tabulars-e examples (25jan11)
git-svn-id: svn://tug.org/texlive/trunk@21191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
348 files changed, 14172 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-1.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/01-01-1.ltxps new file mode 100644 index 00000000000..ccb6825c4e9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-1.ltxps @@ -0,0 +1,87 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-1 on page 4. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{array,pstricks} +\newcommand\Lcs[1]{\texttt{\textbackslash#1}} +\let\Ldim\Lcs +\newsavebox\TabBox + +\begin{document} +\begin{center} +\newlength\Start% +\newlength\End% +\setlength\Start{\tabcolsep}% +\setlength\End{\tabcolsep}% +\savebox\TabBox{left}% +\addtolength\Start{\wd\TabBox} +\begin{pspicture}(0,0.3cm)(5.6cm,-0.8cm) +\rput[lb](0,0){\begin{tabular}{|l|r|p{3cm}|}\hline +left & right & p\{3cm\}\\\hline +%\rule{\wd\TabBox}{5mm} +\end{tabular}} +\psframe[fillcolor=black!30,fillstyle=solid](0,0)(\tabcolsep,-5mm) +\addtolength\End{\wd\TabBox}\addtolength\End{\tabcolsep} +\addtolength\End{\fboxrule} +\rput[lb](\tabcolsep,-5mm){left} +%\psline{<->}(\tabcolsep,-2mm)(\Start,-2mm) +\psframe[fillcolor=black!50,fillstyle=solid](\Start,0)(\End,-5mm) +\addtolength\Start{\tabcolsep}\addtolength\End{\tabcolsep} +\addtolength\Start{\fboxrule}\addtolength\End{\fboxrule} +\psframe[fillcolor=black!30,fillstyle=solid](\Start,0)(\End,-5mm) +\rput[lb](\End,-5mm){right} +\savebox\TabBox{right} +\addtolength\Start{\wd\TabBox}\addtolength\End{\wd\TabBox} +\addtolength\Start{\tabcolsep}\addtolength\End{\tabcolsep} +\addtolength\Start{\fboxrule}\addtolength\End{\fboxrule} +\psframe[fillcolor=black!50,fillstyle=solid](\Start,0)(\End,-5mm) +\addtolength\Start{\tabcolsep}\addtolength\End{\tabcolsep} +\addtolength\Start{\fboxrule}\addtolength\End{\fboxrule} +\psframe[fillcolor=black!30,fillstyle=solid](\Start,0)(\End,-5mm) +\rput[lb](\End,-5mm){p\{3cm\}} +\addtolength\Start{\tabcolsep}\addtolength\End{\tabcolsep} +\addtolength\Start{3cm}\addtolength\End{3cm} +\addtolength\Start{\fboxrule}\addtolength\End{\fboxrule} +\psframe[fillcolor=black!50,fillstyle=solid](\Start,0)(\End,-5mm) +\end{pspicture}\par +\begin{tabular}{@{}l >{\ttfamily}l@{}} +\emph{width} & \multicolumn{1}{c@{}}{\textrm{\emph{value}}}\\\hline +\Ldim{tabcolsep} & \phantom{00}\the\tabcolsep\\ +\Lcs{widthof}\{left\} & \settowidth\Start{\textrm{left}}\phantom{0}\the\Start\\ +2\Ldim{tabcolsep} & \Start=2\tabcolsep \phantom{0}\the\Start\\ +\Lcs{widthof}\{right\}& \settowidth\Start{\textrm{right}}\phantom{0}\the\Start\\ +2\Ldim{tabcolsep} & \Start=2\tabcolsep \phantom{0}\the\Start\\ +p\{3cm\} & \Start=3cm \phantom{0}\the\Start\\ +\Ldim{tabcolsep} & \phantom{00}\the\tabcolsep\\\hline +\textbf{full width} & \Start=6\tabcolsep% +\settowidth\End{\textrm{left}}% +\addtolength\Start{\End}% +\settowidth\End{\textrm{right}}% +\addtolength\Start{\End}% +\addtolength\Start{3cm}% +\the\Start \global\End=\Start +\end{tabular} + +\savebox\TabBox{\begin{tabular}{|l|r|p{3cm}|}\hline +left & right & p\{3cm\}\\\hline +\end{tabular}} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-10.ltx new file mode 100644 index 00000000000..478c40b04cd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-10.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-10 on page 8. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\setlength\arrayrulewidth{5pt} +\begin{tabular}{|c|c|}\hline +A & B \\\cline{1-1} +\rule{0pt}{3.2ex}C & D \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-11.ltx new file mode 100644 index 00000000000..ca27bdea4fd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-11.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-11 on page 8. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{@{}cccc@{}}\hline +\multicolumn{2}{|@{}c}{\textbf{people}} & + \multicolumn{2}{@{}c|}{\textbf{profession}}\\\hline +number& sex & employed & freelance\\\hline +222 & m & 160 & 62 \\ + 2 & n &\textbf{1}& 2 \\[5pt] +97 & w & 70 & 27 \\\hline +\multicolumn{4}{c}{sums} \\\cline{1-1} +\multicolumn{1}{@{}|c|@{}}{319} & & 230 & 89 \\\cline{1-1}\cline{3-4} + & & \multicolumn{2}{|c|}{319}\\\cline{3-4} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-12.ltx new file mode 100644 index 00000000000..e9fbec2061a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-12.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-12 on page 9. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{|cc|cc|}\hline +\multicolumn{2}{|c}{\textbf{people}} & +\multicolumn{2}{c|}{\textbf{profession}} \\\hline +\multicolumn{4}{c}{}\\% empty line without | +number& sex& employed& freelance\\\hline +222 & m & 160 & 62 \\ + 2 & n &\textbf{1}&2 \\[5pt] +97 & w & 70 & 27 \\\hline +\multicolumn{4}{c}{sums} \\\cline{1-1} +\multicolumn{1}{|c|}{319} & & 230 & 89 + \\\cline{1-1}\cline{3-4} + & & \multicolumn{2}{c|}{319}\\\cline{3-4} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-13.ltx new file mode 100644 index 00000000000..4fcf70f8ce0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-13.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-13 on page 9. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{|cc|cc|} +\multicolumn{2}{|c|}{\emph{people}} & +\multicolumn{2}{c|}{\emph{profession}}\\[5pt] +number & sex & employed & freelance\\\hline +222 & m & 160 & 62 \\ + 2 & n &\textbf{1}& 2 \\[5pt] +97 & w & 70 & 27 \\\hline +\multicolumn{4}{|c|}{sums} \\\cline{1-1} +\multicolumn{1}{|c|}{319} & & 230 & 89 + \\\cline{1-1}\cline{3-4} +\multicolumn{1}{c}{} + & & \multicolumn{2}{c|}{319} \\\cline{3-4} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-14.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-14.ltx new file mode 100644 index 00000000000..cce5e15a51b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-14.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-14 on page 10. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{ccccc} +A1 & A1 & A1 & A1 & A1\\\hline +A2 & \begin{tabular}{|c|}\hline + a1\\a1\\a1\\\hline + \end{tabular} + & \begin{tabular}{c}a2\\a2\\a2\\\end{tabular} + & A & \begin{tabular}{|c|}\hline + a3\\a3\\a4\\\hline + \end{tabular}\\ +A3 & A3 & A3 & A3 & A3\\\cline{3-4} +A4 & A4 & \multicolumn{2}{|c|}{A4*} & A4\\\cline{3-4} +A5 & A5 & A5 & A5 & A5\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-15.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-15.ltx new file mode 100644 index 00000000000..9e4bda88b5d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-15.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-15 on page 10. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{|ccc|} + co1 l1 & co2 l1 & co3 l1\\ + \begin{tabular}{c}co1 l2\\co1 l3\end{tabular} + & \begin{tabular}{|c|}\hline + co2 l2/3\\\hline \end{tabular} + & \begin{tabular}{c}co4 l2\\co4 l3\end{tabular}\\ + co1 l4 & co2 l4 & co3 l4 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-16.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-16.ltx new file mode 100644 index 00000000000..93b634045c4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-16.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-16 on page 10. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{|@{}c @{}c@{} c@{}|} + co1 l1 & co2 l1 & co3 l1\\ + \begin{tabular}{c} co1 l2\\co1 l3 \end{tabular} & + \begin{tabular}{|c|}\hline + co2 l2/3\\\hline \end{tabular} & + \begin{tabular}{c} co4 l2\\co4 l3 \end{tabular}\\ + co1 l4 & co2 l4 & co3 l4 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-17.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-17.ltx new file mode 100644 index 00000000000..e1a0989d7b7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-17.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-17 on page 11. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{@{}c @{}c@{} c@{}} + co1 l1 & co2 l1 & co3 l1\\\cline{2-2} + \begin{tabular}{c|} co1 l2\\co1 l3 \end{tabular} & + \begin{tabular}{c} co2 l2/3 \end{tabular} & + \begin{tabular}{|c} co4 l2\\co4 l3 \end{tabular} + \\\cline{2-2} + co1 l4 & co2 l4 & co3 l4 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-18.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-18.ltx new file mode 100644 index 00000000000..5206a71a7a7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-18.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-18 on page 11. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\newcommand\Btab{} +\renewcommand\Btab[2][c]{\tabular[#1]{#2}} +\newcommand\Etab{}\renewcommand\Etab{\endtabular} + +\begin{document} +\Btab{|@{}c @{}c@{} c@{}|}\hline + \rule{0pt}{3ex}% better spacing above + co1 l1 & co2 l1 & co3 l1\\\cline{2-2} + \Btab{c|} co1 l2\\co1 l3 \Etab & + \Btab{c} co2 l2/3\\ \Etab & + \Btab{|c} co4 l2\\co4 l3 \Etab \\\cline{2-2} + \rule[-1.5ex]{0pt}{2ex}% better spacing below + co1 l4 & co2 l4 & co3 l4\\\hline +\Etab +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-19.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-19.ltx new file mode 100644 index 00000000000..4b4dfd13daf --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-19.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-19 on page 12. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\setlength\textheight{5.5cm} + + + +\begin{document} +\begin{center} +\begin{tabular}{lcr}\hline +L\footnotemark & C & R\\ +L & C & R\\ +L & C\footnotemark & R\\ +L & C & R\\ +L & C & R\footnotemark\\\hline +\end{tabular} +\addtocounter{footnote}{-2} +\footnotetext{left-aligned} +\stepcounter{footnote}\footnotetext{centred} +\stepcounter{footnote}\footnotetext{right-aligned} +\end{center} +Normal line of text after the centred table with +normal footnote\footnote{normal footnote}. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-2.ltx new file mode 100644 index 00000000000..f420a30d773 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-2.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-2 on page 5. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular} + {|*{3}{l}|*{4}{r|}}\cline{1-3} +l&l&l&r&r&r&r\\ L&L&L&R&R&R&R\\\cline{1-3} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-3.ltx new file mode 100644 index 00000000000..8f7acab0ceb --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-3.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-3 on page 5. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}% + {@{}l|r@{:}c@{$\rightarrow$}p{1.5cm}@{}} +left & right & centred & box\\\cline{2-4} +l & r & c & p\{1.5cm\}\\\cline{1-1} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-4.ltx new file mode 100644 index 00000000000..75f4c5531e8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-4.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-4 on page 5. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular*}{\linewidth}{lll} +1 & 2 & 3 \\\hline A & B & left \\\hline +\end{tabular*}\par\bigskip +\begin{tabular*}{\linewidth}{llr} +1 & 2 & 3 \\\hline A & B & right \\\hline +\end{tabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-5.ltx new file mode 100644 index 00000000000..f82b9a016df --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-5.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-5 on page 6. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\setlength\textwidth{201.7051pt} + + + +\begin{document} +\begin{tabular*}{\linewidth}% + {|l@{\extracolsep{\fill}}|l|l|} +1 & 2 & 3 \\\hline A & B & C \\\hline +\end{tabular*}\par\bigskip +\begin{tabular*}{\linewidth}% + {|l|l|@{\extracolsep{\fill}}r|} +1 & 2 & 3 \\\hline A & B & C \\\hline +\end{tabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-6.ltx new file mode 100644 index 00000000000..490218cf7d3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-6.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-6 on page 6. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\setlength\textwidth{201.7051pt} + + + +\begin{document} +\begin{tabular*}{\linewidth}% + {|@{\extracolsep{\fill}}l|l|l@{}|} +1 & 2 & 3 \\\hline A & B & C \\\hline +\end{tabular*}\par\bigskip +\begin{tabular*}{\linewidth}% + {|@{\extracolsep{\fill}}l|l|r@{}|} +1 & 2 & 3 \\\hline +left & left & right \\\hline +\end{tabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-7.ltx new file mode 100644 index 00000000000..e314a8150dc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-7.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-7 on page 7. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\newcommand\Lcs[1]{\texttt{\textbackslash#1}} + + + +\begin{document} +\begin{tabular}{|l|||p{4cm}|r||}\hline + left & p--column & right\\ + \hline\hline\hline + A & Now this column has a fixed width + and a \Lcs{\newline}\newline + creates a new row in + this column & B \\\hline\hline + 1 & 2 & 3 \\\hline\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-8.ltx new file mode 100644 index 00000000000..47b8c51cd1c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-8.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-8 on page 7. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\newcommand\Lcs[1]{\texttt{\textbackslash#1}} + + + +\begin{document} +\begin{tabular}{lp{4cm}r} +left & p--column & right\\ + \cline{1-2}\hline% see text below + A & Now this column has a fixed width + and a \Lcs{\newline}\newline + creates a new row in this + column & B \\\cline{2-2} + 1 & 2 & 3 \\\cline{2-3} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-01-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-01-9.ltx new file mode 100644 index 00000000000..24d2421ab09 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-01-9.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-01-9 on page 7. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\setlength\arrayrulewidth{5pt} +\begin{tabular}{|c|c|}\hline +A & B \\\cline{1-1} +C & D \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-1.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/01-02-1.ltxps new file mode 100644 index 00000000000..13e0c5cfb64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-1.ltxps @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-1 on page 13. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{pst-node} + +\begin{document} +\begin{tabbing} +The \=\rnode{A}{}example line \=\rnode{B}{}can + \=\rnode{C}{}be \=\rnode{D}{}``killed''\\ +\>\rnode{a}{}first tab\\ +\>\>\rnode{b}{}second tab\\ +\>\>\>\rnode{c}{}third\\ +\>\>\>\>\rnode{d}{}fourth +\end{tabbing} +\psset{nodesepA=-1ex,nodesepB=1ex} +\ncline{->}{A}{a}\ncline{->}{B}{b} +\ncline{->}{C}{c}\ncline{->}{D}{d} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-10.ltx new file mode 100644 index 00000000000..182241b1f5f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-10.ltx @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-10 on page 17. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\setlength\textheight{5.5cm} +\setlength\textwidth{180pt} + + + +\begin{document} +\begin{tabbing} +foo \= foobar \= foobarbaz\kill +f \> fb \> fbb\\ +f\footnotemark \> fb \> fbb\\ +f \> fb \> fbb\\ +f \> fb\footnotemark \> fbb\\ +f \> fb \> fbb\\ +f \> fb \> fbb\footnotemark +\end{tabbing} \addtocounter{footnote}{-2} +\footnotetext{foo}\stepcounter{footnote} +\footnotetext{foobar}\stepcounter{footnote} +\footnotetext{foobarbaz} + +Normal line of text after the +\texttt{tabbing} environment with normal +footnote\footnote{normal footnote}. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-2.ltx new file mode 100644 index 00000000000..de599911e3d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-2.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-2 on page 13. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabbing} +The \=example line \=can + \=be \=``killed''\kill\\ +\>first tab\\ \>\>second tab\\ +\>\>\>third\\ \>\>\>\>fourth\\ +0 \>1 \>2 \>3 \>4 +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-3.ltx new file mode 100644 index 00000000000..4cf763e6541 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-3.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-3 on page 14. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabbing} +00\=000\=0000\=\kill +\pushtabs % save tabbing positions +1\>2\>3\>4\\ +0000\=000\=00\=\kill % new tab positions +\pushtabs % save also this ones +1\>2\>3\>4\\ +0000\=00000\=\kill% new tab positions +1\>2\>3\\ +\poptabs % get last saved tabs +1\>2\>3\>4\\ +\poptabs % get previous saved tabs +1\>2\>3\>4\\ +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-4.ltx new file mode 100644 index 00000000000..78f14ade198 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-4.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-4 on page 14. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabbing} +The \=example line \=can \=be \=``killed''\kill\\ +\>first caf\a'e\\ \>\>second caf\a'e\\ +\>\>\>m\a^aitre\\ +\>cr\a`eme\>\>\>br\a^ul\a'ee +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-5.ltx new file mode 100644 index 00000000000..89cac6a177f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-5.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-5 on page 14. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[scaled]{beramono} + + + +\begin{document} +A normal line \ldots \ttfamily\small +\begin{tabbing} +function \=\textbf{fact(n: integer)}: integer;\\ +\> begin \=\+ \\% left margin to tab +\> if \=n $>$ 1 then \+ \\ +fact:= n * fact(n-1) \- \\ +else \+ \\ +fact:= 1; \-\-\\% back 2 tabs +end; +\end{tabbing}\normalfont\normalsize +A normal line \ldots +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-6.ltx new file mode 100644 index 00000000000..a1b2c512e4b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-6.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-6 on page 15. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[scaled]{beramono} + + + +\begin{document} +A normal line \ldots +\begingroup\small\ttfamily % keep change of font local +\begin{tabbing} +\=\hspace{0.25in} \=\hspace{0.25in} \=\hspace{0.25in} \=\hspace{0.25in}\kill +\> <category> \+ \\ + \> <pattern>WHAT IS A *</pattern> \+ \\ + \> <template><srai>DEFINE <star index ="1"></srai> \\ + \> </template> \-\- \\ +\> </category> \\[0.5\normalbaselineskip] +\> <category> \+ \\ + \> <pattern>DO YOU KNOW WHAT A * IS</pattern> \+ \\ +\> <template><srai>DEFINE <star index ="1"></srai></template> \-\- \\ +\> </category> +\end{tabbing} +\endgroup +A normal line \ldots +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-7.ltx new file mode 100644 index 00000000000..ab87932b9ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-7.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-7 on page 16. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\setlength\textwidth{200pt} + + + +\begin{document} +\begin{tabbing} +The \=example line \=can + \=be \=``killed''\kill\\ +0 \>1 \>2 \>3 \>4\\ + \> \>2 \'left-aligned\\ +\global\setlength\tabbingsep{20pt} + \> \>2 \'left-aligned\\ +\global\setlength\tabbingsep{0pt} + \>1 \'left-aligned\\ +0 \'left-aligned\\ +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-8.ltx new file mode 100644 index 00000000000..289d0b767fc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-8.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-8 on page 16. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\setlength\textwidth{200pt} + + + +\begin{document} +\begin{tabbing} +The \=example line \=can + \=be \=``killed''\kill\\ +0 \>1 \>2 \>3 \>4\\ + \> \>2 \`right-aligned on the line\\ + \>1 \`right-aligned\\ +0 \`right \\ +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/01-02-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/01-02-9.ltx new file mode 100644 index 00000000000..e8df139f3de --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/01-02-9.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 01-02-9 on page 16. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + + + +\begin{document} +This is a normal text in a text +line of normal width. +\begin{center}\begin{minipage}{\linewidth} +\begin{tabbing} +The \=example line \=can + \=be \=``killed''\kill\\ +0 \>1 \>2 \>3 \>4\\ + \> \> right-aligned\'left-aligned\\ +\end{tabbing} +\end{minipage}\end{center} +This is a normal text in a text +line of normal width. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-1.ltx new file mode 100644 index 00000000000..c0027f55906 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-1.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-1 on page 21. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{|l|r|c|p{2cm}|}\hline +left & right & centred & box\\\hline +l & r & c & p\{2cm\}\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-10.ltx new file mode 100644 index 00000000000..3b712b94dfd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-10.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-10 on page 24. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{array} \newcolumntype{L}{>{$}l<{$}} \newcolumntype{T}{>{\ttfamily\small}l} + +\begin{document} +\begin{tabular}{@{}lLT@{\qquad}lLT@{}}\hline +sine & \sin(\alpha) &<value> sin &cosine & \cos(\alpha) & <value> cos \\ +tangent&\tan(\alpha)&<value> tan &arcus tangent&\arctan(x)&<value1> <value2> atan\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-11.ltx new file mode 100644 index 00000000000..f0b43e89d19 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-11.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-11 on page 24. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} + +\usepackage{array,rotating} +\newcolumntype{B}{>{\bfseries}c} +\newcolumntype{T}{>{\ttfamily}l} +\newcolumntype{R}[1]{>{\begin{turn}{#1}}l<{\end{turn}}} + +\begin{document} +\begin{tabular}[b]{BTl} +\multicolumn{1}{R{45}}{abbreviation} & \multicolumn{1}{R{45}}{reference column} & +\multicolumn{1}{R{45}}{parameter}\\\hline B & c & - \\ T & l & - \\ R & l & 1\\\hline +\end{tabular} \qquad +\begin{tabular}[b]{@{}BTl@{}} +\multicolumn{1}{R{90}}{abbreviated} & \multicolumn{1}{R{90}}{reference column} & +\multicolumn{1}{R{90}}{parameter}\\ B & c & - \\ T & l & - \\ R & l & 1 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-12.ltx new file mode 100644 index 00000000000..82b8868c698 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-12.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-12 on page 25. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} + +\usepackage{array} \newcolumntype{P}[1]{>{\hspace{0pt}}p{#1}} + +\begin{document} +\begin{tabular}[t]{|l r c | p{1cm}|} +left & right & centred & box \\\hline +l & r & c & correctilific +\end{tabular} \qquad +\begin{tabular}[t]{|l r c | P{1cm}|} +left & right & centred & box\\\hline +l & r & c & correctilific +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-13.ltx new file mode 100644 index 00000000000..fb2d0f9ef76 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-13.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-13 on page 25. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{array,ragged2e} +\newcolumntype{L}[1]{>{\hspace{0pt}\RaggedRight}p{#1}} +\newcolumntype{C}[1]{>{\hspace{0pt}\Centering}p{#1}} +\newcolumntype{R}[1]{>{\hspace{0pt}\RaggedLeft}p{#1}} + +\begin{document} +\begin{tabular}{@{}L{3cm}C{3cm}R{3cm}@{}}\hline +A left aligned column with ragged right margin + & A centred column with ragged left and ragged right margin + & A right aligned column with ragged left margin\\ +L & C & R\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-14.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-14.ltx new file mode 100644 index 00000000000..9d37672b4be --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-14.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-14 on page 25. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} \newcolumntype{x}{llcll} + +\begin{document} +\begin{tabular}{ r x } +R & L & L & C & L & L\\ +RR& LL& LL& CC& LL& LL +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-15.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-15.ltx new file mode 100644 index 00000000000..94df3370fec --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-15.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-15 on page 26. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{|l!{\vrule width 3pt}l|c|l|l|}\hline +L & L & C & L & L\\ +LL&\multicolumn{3}{!{\vrule width 3pt}c|}{CCC} & L\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-16.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-16.ltx new file mode 100644 index 00000000000..a8f13d0f53f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-16.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-16 on page 26. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{!{\vrule width 3pt}l|l|c|l|l|}\hline +L & L & C & L & L \\\cline{1-3} +\multicolumn{3}{!{\vrule width 3pt}c|}{CCC} & L & L\\\hline +L & L & \multicolumn{3}{r|}{right} \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-17.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-17.ltx new file mode 100644 index 00000000000..b583ce53938 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-17.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-17 on page 27. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\setlength\parskip{5pt plus 2pt minus 1pt} + +\usepackage{array} + +\begin{document} +line +\begin{tabular}[t]{|c|}\hline + one\\two\\\hline +\end{tabular} line \\ +a new line in the paragraph\par line +\begin{tabular}[t]{|c|}\firsthline + one\\two\\\hline +\end{tabular} line \\ +a new line in the paragraph\par line +\begin{tabular}[t]{|c|}\firsthline + one\\two\\\lasthline +\end{tabular} line \\ +a new line in the paragraph +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-18.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-18.ltx new file mode 100644 index 00000000000..89d7ca1c44b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-18.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-18 on page 27. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +A line in the paragraph before the table. +\par line +\begin{tabular}[t]{|c|}\firsthline + one\\two\\\lasthline +\end{tabular} line \\ +A line in a paragraph after the table.\par +A line in a paragraph before the table and\\ +\verb+\addtolength\extratabsurround{10pt}+. +\par line +\addtolength\extratabsurround{10pt} +\begin{tabular}[t]{|c|}\firsthline + one\\two\\\lasthline +\end{tabular} line \\ +A line in a paragraph after the table. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-2.ltx new file mode 100644 index 00000000000..0ffca01901d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-2.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-2 on page 21. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\setlength\extrarowheight{8pt} +\begin{tabular}{|l|r|c|p{1.75cm}|}\hline +left & right & centred & box\\\hline +l & r & c & p\{1.75cm\}\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-3.ltx new file mode 100644 index 00000000000..123d3dd0ee1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-3.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-3 on page 22. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{|l|r|c|>{\raggedright% + \arraybackslash}p{2.5cm}|}\hline +L & R & C & box\\\hline +l & r & c & p\{2.5cm\}\newline + new line with \verb+\newline+\\ +l & r & c & new table row with \verb+\\+\\ + what now &&& \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-4.ltx new file mode 100644 index 00000000000..575f4419457 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-4.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-4 on page 22. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array,ragged2e} + +\begin{document} +\begin{tabular}{|l|r|c| + >{\RaggedRight}p{2.5cm}|}\hline +L & R & C & box\tabularnewline\hline +l & r & c & p\{2.5cm\} + \newline new line with \verb+\newline+\\ +l & r & c & new table row + with {\small\verb=\tabularnewline=}\\ +what now&&&\tabularnewline\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-5.ltx new file mode 100644 index 00000000000..9457b48f3a6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-5.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-5 on page 22. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{|>{\bfseries}l|r|c|p{1.5cm}|} +left & right & centred & box\\ + l & r & c & p\{1.5cm\} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-6.ltx new file mode 100644 index 00000000000..9e874aea249 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-6.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-6 on page 22. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{l>{$}r<{$}c|p{1.5cm}|} +left & right & centred & box\\\hline +l & r & c & p\{1.5cm\} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-7.ltx new file mode 100644 index 00000000000..27e5543b488 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-7.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-7 on page 23. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{l ! {\vline}r !{:} c + !{$\rightarrow$} p{1.5cm}} +left & right & centred & box\\\hline +l & r & c & p\{1.5cm\} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-8.ltx new file mode 100644 index 00000000000..069fc45cc50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-8.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-8 on page 23. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{|l | r | m{2cm}|}\hline +left & right & a m-parbox \\\hline +l & right & m\{2cm\} this cell is + vertically centered\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-01-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-01-9.ltx new file mode 100644 index 00000000000..7cc73c0e63a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-01-9.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-01-9 on page 23. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\begin{tabular}{|l | r | b{2cm}|}\hline +left & r & a b-parbox \\\hline +l & right & b\{2cm\} this cell is vertically + alligned at the bottom\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-02-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-02-1.ltx new file mode 100644 index 00000000000..8b0700b92b5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-02-1.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-02-1 on page 28. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{arydshln} + +\begin{document} +\begin{tabular}{|l:r:|:c:p{1.5cm}|}\hline +left & right & centred & box\\\hdashline +l & r & c & p\{1.5cm\}\\\hline +l & r & c & p\{1.5cm\}\\\hdashline\hdashline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-02-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-02-2.ltx new file mode 100644 index 00000000000..2bf1e589ae6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-02-2.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-02-2 on page 28. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} + +\usepackage{arydshln} + +\begin{document} +\begin{tabular} + {|l:r:|:c;{2pt/2pt}p{1.5cm};{2pt/4pt}} + \hdashline[3pt/1.5pt] +left & right & centred & box\\ + \cdashline{2-3}[1pt/3pt] +l & r & c & p\{1.5cm\}\\\hdashline[5pt/3pt] +l & r & c & p\{1.5cm\}\\\hline +l & r & c & p\{1.5cm\}\\\hdashline[3pt/5pt] +l & r & c & p\{1.5cm\}\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-02-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-02-3.ltx new file mode 100644 index 00000000000..27950c65e0b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-02-3.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-02-3 on page 29. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\setlength\parskip{5pt plus 2pt minus 1pt} + +\usepackage{array,arydshln} + +\begin{document} +a new line on the paragraph\par line +\begin{tabular}[t]{:c:}\firsthdashline + one\\two\\\hdashline +\end{tabular} line \\ +a new line on the paragraph\par line +\begin{tabular}[t]{:c:}\firsthdashline[3pt/1pt] + one\\two\\\lasthdashline[1pt/3pt] +\end{tabular} line \\ +a new line on the paragraph +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-02-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-02-4.ltx new file mode 100644 index 00000000000..78630ca1b08 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-02-4.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-02-4 on page 29. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{arydshln} +\setlength\dashlinedash{2pt} +\setlength\dashlinegap{2pt} + +\begin{document} +\begin{tabular}{|l:r:|:c:p{1.5cm}:} + \hdashline +left & right & centred & box\\ + \cdashline{2-3} +l & r & c & p\{1.5cm\}\\\hdashline +l & r & c & p\{1.5cm\}\\\hdashline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-02-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-02-5.ltx new file mode 100644 index 00000000000..a9a7de0fd8e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-02-5.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-02-5 on page 29. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{arydshln} + +\begin{document} +\setlength\arrayrulewidth{5pt} +\begin{tabular}{:c:}\hdashline + one\\two\\\hdashline +\end{tabular}\par\medskip +\ADLsomewide% switch to array style +\begin{tabular}{:c:}\hdashline + one\\two\\\hdashline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-02-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-02-6.ltx new file mode 100644 index 00000000000..90bf08db49d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-02-6.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-02-6 on page 30. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\newcommand\mb{\makebox[20pt]} +\setlength\tabcolsep{0pt}\setbox\strutbox\hbox{\vrule height14pt depth6pt width0pt} + +\usepackage{arydshln} + +\begin{document} +\setlength\dashlinedash{3.01pt}\setlength\dashlinegap{3.01pt} + \newcommand\Tabelle[1]{\begin{tabular}[b]{|c:c;{2pt/2pt}c|}\hline + \noalign{\vskip-\arrayrulewidth} + \mb{A}&\mb{A}&\mb{A}\\[-\arrayrulewidth]\hdashline + \mb{B}&\mb{B}&\mb{B}\\[-\arrayrulewidth]\hdashline[2pt/2pt] + \mb{C}&\mb{C}&\mb{C}\\[-\arrayrulewidth]\hline + \multicolumn3c{(#1)} +\end{tabular}} +\begin{center} +\Tabelle1\qquad\ADLdrawingmode{2}\Tabelle2\qquad\ADLdrawingmode{3}\Tabelle3 +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-1.ltx new file mode 100644 index 00000000000..f6b00427c47 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-1.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-1 on page 31. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow} + +\begin{document} +\begin{tabular}{|l|l|l|}\hline + col1 row0 & col2 row0 & col3 row0\\ + col1 row1 & col2 row1 + & \multirow{3}{2cm}{col 3}\\\cline{1-1} + col1 row2 & col2 row2 & \\\cline{1-2} + col1 row3 + & \multirow{2}{1cm}{col 2 and more text} &\\ + \cline{1-1}\cline{3-3} + col1 row4 & & col3 row4\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-10.ltx new file mode 100644 index 00000000000..599908b30b3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-10.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-10 on page 35. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} \addtolength\bigstrutjot{2pt} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + 11 & 21 & \multirow{3}[6]{1cm}{3}\bigstrut\\\cline{1-1} + 12 & 22 & \bigstrut\\\cline{1-2} + 13 & \multirow{2}[4]{1cm}{2} & \bigstrut\\\cline{1-1}\cline{3-3} + 14 & & 34 \bigstrut\\\hline +\end{tabular} \quad \begin{tabular}{@{}|l|r|c|@{}}\hline + 11 & 21 & \multirow{3}[3]{1cm}{3}\bigstrut[t]\\\cline{1-1} + 12 & 22 & \bigstrut[t]\\\cline{1-2} + 13 & \multirow{2}[2]{1cm}{2} & \bigstrut[t]\\\cline{1-1}\cline{3-3} + 14 & & 34 \bigstrut[t]\\\hline +\end{tabular} \quad \begin{tabular}{@{}|l|r|c|@{}}\hline + 11 & 21 & \multirow{3}[3]{1cm}{3}\bigstrut[b]\\\cline{1-1} + 12 & 22 & \bigstrut[b]\\\cline{1-2} + 13 & \multirow{2}[2]{1cm}{2} & \bigstrut[b]\\\cline{1-1}\cline{3-3} + 14 & & 34 \bigstrut[b]\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-11.ltx new file mode 100644 index 00000000000..5d1665e8933 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-11.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-11 on page 35. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{bigstrut,multirow} + +\begin{document} +\begin{minipage}{2cm} +\begin{eqnarray*} + 1&1\\2&2\\3&3\\ + \multirow{5}*{8} &4\\ &5\\ &6\\ &7\\ &8\\ + 9&9\\10&10 +\end{eqnarray*} +\end{minipage}\setlength\bigstrutjot{\jot} +\begin{minipage}{2cm} +\begin{eqnarray*} + 1&1\\2&2\\3&3\\ + \multirow{5}[20]*{8} &4\\ &5\\ &6\\ &7\\ &8\\ + 9&9\\10&10 +\end{eqnarray*} +\end{minipage} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-12.ltx new file mode 100644 index 00000000000..f8d71eb998b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-12.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-12 on page 36. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\renewcommand\arraystretch{1.1} + +\usepackage{multirow,bigdelim} + +\begin{document} +\begin{tabular}{lll} + & 0 &\ldots\\ +\ldelim\{{6}{1.9cm}[if $f(n)=$] + & 1 & then do\ldots\\ + & 2 & then do\ldots\\ + & 3 & then do\ldots\\ + & 4 & then do\ldots\\ + & 5 & then do\ldots\\ + & 6 &\ldots\\ + & 7 &\ldots +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-13.ltx new file mode 100644 index 00000000000..dcb390eeeb2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-13.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-13 on page 36. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\renewcommand\arraystretch{1.1} + +\usepackage{multirow,bigdelim} + +\begin{document} +\begin{tabular}{lllr} + & 0 & \ldots &\\ +\ldelim{\{}{6}{1.9cm}[if $f(n)=$] + & 1 & then do\ldots & \rdelim{]}{3}{1cm}[foo]\\ + & 2 & then do\ldots &\\ + & 3 & then do\ldots & \\ + & 4 & then do\ldots &\\ + & 5 & then do\ldots & \rdelim{]}{3}{*}[bar]\\ + & 6 &\ldots &\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-14.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-14.ltx new file mode 100644 index 00000000000..7421713fc11 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-14.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-14 on page 37. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} \usepackage[table]{xcolor} +\renewcommand\multirowsetup{\centering} + +\begin{document} +\begin{tabular}{|l|>{\columncolor{black!30}}r|>{\columncolor{black!20}}r|}\hline + col1 row1 & col2 row1 & \multirow{3}[6]{1.5cm}{col3} \bigstrut\\\cline{1-1} + col1 row2 & col2 row2 & \bigstrut \\\cline{1-2} + col1 row3 & \multirow{2}[4]{2cm}[0.8\abovedisplayskip]{\[f(x,y)=x\cdot y\]} & + \bigstrut\\\cline{1-1}\cline{3-3} + col1 row4 & & col3 row4\bigstrut\\\hline +\end{tabular} \quad +\begin{tabular}{|l|>{\columncolor{black!30}}r|>{\columncolor{black!20}}r|}\hline + col1 row1 & col2 row1 & \bigstrut \\\cline{1-1} + col1 row2 & col2 row2 & \bigstrut \\\cline{1-2} + col1 row3 & & \multirow{-3}[6]{1.5cm}{col3} \bigstrut \\\cline{1-1}\cline{3-3} + col1 row4 & \multirow{-2}[4]{2cm}[0.8\abovedisplayskip]{\[f(x,y)=x\cdot y\]} + & col3 row4 \bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-15.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-15.ltx new file mode 100644 index 00000000000..ddf4109fd1f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-15.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} +\usepackage[table]{xcolor} +\renewcommand\multirowsetup{\centering} + +\begin{document} +\begin{tabular}{|l|>{\columncolor{black!30}}r|>{\columncolor{black!20}}r|}\hline + col1 row1 & col2 row1 & \multirow{3}[6]{1.5cm}{col3} \bigstrut\\\cline{1-1} + col1 row2 & col2 row2 & \bigstrut \\\cline{1-2} + col1 row3 & \multirow{2}[4]{2cm}[0.8\abovedisplayskip]{\[f(x,y)=x\cdot y\]} & + \bigstrut\\\cline{1-1}\cline{3-3} + col1 row4 & & col3 row4\bigstrut\\\hline +\end{tabular} \quad +\begin{tabular}{|l|>{\columncolor{black!30}}r|>{\columncolor{black!20}}r|}\hline + col1 row1 & col2 row1 & \bigstrut \\\cline{1-1} + col1 row2 & col2 row2 & \bigstrut \\\cline{1-2} + col1 row3 & & \multirow{-3}[6]{1.5cm}{col3} \bigstrut \\\cline{1-1}\cline{3-3} + col1 row4 & \multirow{-2}[4]{2cm}[0.8\abovedisplayskip]{\[f(x,y)=x\cdot y\]} + & col3 row4 \bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-2.ltx new file mode 100644 index 00000000000..4f5b1112cf0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-2.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-2 on page 31. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} + +\begin{document} +\begin{tabular}{|l|l|l|}\hline + col1 row0 & col2 row0 & col3 row0\\ + col1 row1 & col2 row1 & + \multirow{3}{2cm}{col 3}\\\cline{1-1} + col1 row2 & col2 row2 & \\\cline{1-2} + col1 row3 + & \multirow{4}{1cm}{col 2 and more text} &\\ + \cline{1-1}\cline{3-3} + col1 row4 & & col3 row4\\ + & & \\ + & & \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-3.ltx new file mode 100644 index 00000000000..35d92572ad3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-3.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-3 on page 32. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + col1 row0 & col2 row0 & col3 row0\\ + col1 row1 & col2 row1 + & \multirow{3}*{col 3}\\\cline{1-1} + col1 row2 & col2 row2 & \\\cline{1-2} + col1 row3 & \multirow{2}*{col 2} & \\ + \cline{1-1}\cline{3-3} + col1 row4 & & col3 row4\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-4.ltx new file mode 100644 index 00000000000..a49001cb08d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-4.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-4 on page 32. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + col1 row0 & col2 row0 & col3 row0\\ + col1 row1 & col2 row1 & + \multirow{3}{1.25cm}{col 3}\bigstrut\\\cline{1-1} + col1 row2 & col2 row2 & \bigstrut\\\cline{1-2} + col1 row3 & \multirow{2}{1.25cm}{col 2} & \bigstrut\\ + \cline{1-1}\cline{3-3} + col1 row4 & & col3 row4\bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-5.ltx new file mode 100644 index 00000000000..dbd2026b763 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-5.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-5 on page 33. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + c1 r0 & c2 r0 & c3 r0\\ + c1 r1 & c2 r1 & + \multirow{3}[6]{1.25cm}{c 3}\bigstrut\\\cline{1-1} + c1 r2 & c2 r2 & \bigstrut\\\cline{1-2} + c1 r3 & \multirow{2}[4]{1.25cm}{c 2} & \bigstrut\\ + \cline{1-1}\cline{3-3} + c1 r4 & & c3 r4\bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-6.ltx new file mode 100644 index 00000000000..a99c8999c9a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-6.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-6 on page 33. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + c1 r0 & c2 r0 & c3 r0\\ + c1 r1 & c2 r1 & \multirow{3}[6]{1.25cm}{c 3} + \bigstrut\\\cline{1-1} + c1 r2 & c2 r2 & \bigstrut\\\cline{1-2} + c1 r3 & \multirow{2}[4]{2cm}{\[f(x,y)=x\cdot y\]} + & \bigstrut\\\cline{1-1}\cline{3-3} + c1 r4 & & c3 r4\bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-7.ltx new file mode 100644 index 00000000000..1ffbf7422ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-7.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-7 on page 33. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + c1 r0 & c2 r0 & c3 r0\\ c1 r1 & c2 r1 & + \multirow{3}[6]{1.25cm}{c 3}\bigstrut\\\cline{1-1} + c1 r2 & c2 r2 & \bigstrut\\\cline{1-2} + c1 r3 & + \multirow{2}[4]{2cm}[0.8\abovedisplayskip]{% + \[f(x,y)=x\cdot y\]} & + \bigstrut\\\cline{1-1}\cline{3-3} + c1 r4 & & c3 r4\bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-8.ltx new file mode 100644 index 00000000000..0fc8a0120b0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-8.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-8 on page 34. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} +\renewcommand\multirowsetup{\centering} + +\begin{document} +\begin{tabular}{| l | r | r |}\hline + c1 r0 & c2 r0 & c3 r0\\ c1 r1 & c2 r1 +& \multirow{3}[6]{1.5cm}{c3}\bigstrut\\\cline{1-1} + c1 r2 & c2 r2 & \bigstrut\\\cline{1-2} + c1 r3 & + \multirow{2}[4]{2cm}[0.8\abovedisplayskip]{% + \[f(x,y)=x\cdot y\]} & + \bigstrut\\\cline{1-1}\cline{3-3} + c1 r4 & & c3 r4\bigstrut\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-03-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-03-9.ltx new file mode 100644 index 00000000000..5ef146cdb4a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-03-9.ltx @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-03-9 on page 35. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{multirow,bigstrut} + +\begin{document} +\begin{tabular}{|l|r|c|}\hline + 11 & 21 & \multirow{3}[6]{1cm}{3}\bigstrut\\\cline{1-1} + 12 & 22 & \bigstrut\\\cline{1-2} + 13 & \multirow{2}[4]{1cm}{2} & \bigstrut\\\cline{1-1}\cline{3-3} + 14 & & 34 \bigstrut\\\hline +\end{tabular}\quad +\begin{tabular}{@{}|l|r|c|@{}}\hline + 11 & 21 & \multirow{3}[3]{1cm}{3}\bigstrut[t]\\\cline{1-1} + 12 & 22 & \bigstrut[t]\\\cline{1-2} + 13 & \multirow{2}[2]{1cm}{2} & \bigstrut[t]\\\cline{1-1}\cline{3-3} + 14 & & 34 \bigstrut[t]\\\hline +\end{tabular}\quad +\begin{tabular}{@{}|l|r|c|@{}}\hline + 11 & 21 & \multirow{3}[3]{1cm}{3}\bigstrut[b]\\\cline{1-1} + 12 & 22 & \bigstrut[b]\\\cline{1-2} + 13 & \multirow{2}[2]{1cm}{2} & \bigstrut[b]\\\cline{1-1}\cline{3-3} + 14 & & 34 \bigstrut[b]\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-1.ltx new file mode 100644 index 00000000000..a2642645c48 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-1.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-1 on page 38. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parskip{10pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{tabular}{c|c|c} +11 & 21 & 31\\ +12 & \multicolumn{1}{r}{22} & 32\\ +13 & 23 & 33 +\end{tabular} + +\begin{blockarray}{c|c&|c} +11 & 21 & 31\\ +12 & \BAmulticolumn{1}{r}{22} & 32\\ +13 & 23 & 33 +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-10.ltx new file mode 100644 index 00000000000..8a672138b3a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-10.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-10 on page 44. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{blockarray}{||c||c|cc||cc||} + \BAhhline{|t:=:t:=|==#==:t|} + 0 & 1 & 2 & 3 & 4 & 5\\\BAhline + 0 & 1 & 2 & 3 & 4 & 5\\\BAhline\BAhline + 0 & 1 & 2 & 3 & 4 & 5\\\BAhhline{||-||-..||.-} + 0 & 1 & 2 & 3 & 4 & 5\\\BAhhline{=::=""::"=} + 0 & 1 & 2 & 3 & 4 & 5\\\BAhhline{|b:=:b:=""::"=:b|} +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-11.ltx2crop b/Master/texmf-dist/doc/latex/tabulars-e/02-04-11.ltx2crop new file mode 100644 index 00000000000..ed8e5de498a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-11.ltx2crop @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-11 on page 46. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +Text \begin{blockarray}[t]{|c|} 1\\2\\3 \end{blockarray} text + \begin{blockarray}[c]{|c|} 1\\2\\3 \end{blockarray} text + \begin{blockarray}[b]{|c|} 1\\2\\3 \end{blockarray} text +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-2.ltx new file mode 100644 index 00000000000..e7ac610a6c7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-2.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-2 on page 39. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parskip{10pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{blockarray}{c|c|c} +11 & 21 & 31\\ +\begin{block}{>{\itshape}c\BAmulticolumn{2}{>{\itshape}r}} +12 & 23--32\\ 13 & 23--33\\ +\end{block} +14 & 24 & 34 +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-3.ltx new file mode 100644 index 00000000000..f7c7c8ea322 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-3.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-3 on page 39. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parskip{10pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{blockarray}{cccc} +11 & 21 & 31 & 41\\ +\begin{block}{c | cc \} c} +12 & 22 & 32 & 42\\ 13 & 23 & 33 & 43\\ +\end{block} +14 & 24 & 34 & 44 +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-4.ltx new file mode 100644 index 00000000000..ab403e8e192 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-4.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-4 on page 39. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parskip{10pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{blockarray}{c \{ c c \} c} +11 & 21 & 31 & 41\\ +\begin{block*}{c \BAmulticolumn{2}{c} c} +12 & 23\mbox{--}32 & 42\\13 & 23\mbox{--}33 & 43\\ +\end{block*} +14 & 24 & 34 & 44 +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-5.ltx new file mode 100644 index 00000000000..e4f935e46b2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-5.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-5 on page 40. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parskip{10pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{blockarray}{>{\scriptsize}cccc} +\begin{block}{*{4}{>{\scriptsize}c}} +1 & 2 & 3 & 4\\ +\end{block} \begin{block}{>{\scriptsize}c(ccc)} +2 & 22 & 32 & 42\\ 3 & 23 & 33 & 43\\ +4 & 24 & 34 & 44\\ +\end{block} +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-6.ltx new file mode 100644 index 00000000000..4f5cd76dc3d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-6.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-6 on page 40. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parskip{10pt} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} + +\begin{document} +\begin{blockarray}{>{\scriptsize}ccccl} +\begin{block}{*{5}{>{\scriptsize}c}} +1 & 2 & 3 & 4 & columns\\ +\end{block} +\begin{block}{\Left{demo} \{ >{\scriptsize}cccc + \Right\}{3$\times$3 matrix} l} +2 & 22 & 32 & 42\\ 3 & 23 & 33 & 43\\ +4 & 24 & 34 & 44\\ +\end{block} +\makebox[0pt][l]{\scriptsize rows} +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-7.ltx new file mode 100644 index 00000000000..28b28c2e7e1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-7.ltx @@ -0,0 +1,56 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-7 on page 42. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\hyphenation{ge-nau Klam-mern} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray,ragged2e} + +\begin{document} +\begin{blockarray}{\BAenum!{.\quad}cc\Right{\}}{\texttt{block 1}}} + ccc & cc \\ + c & ccccccccc \\ + \BAnoalign*{\texttt{\textbackslash BAnoalign*} typesets the text exactly in the + width of the table.} + \begin{block}{\BAenum!{.\quad}(rr\Right{\}} + {\parbox{3cm}{block 2, with a nested \texttt{block*}}}} + \phantom{XX}rrr & rr \\ + rrr & r \\ % next row empty "field" for BAenum + \begin{block*}{!{\quad}ll} + & ll & ll\phantom{XX}\\ + & l & l\\ + \end{block*} + r & r \\ \end{block} + ccc \\ + \begin{block}{\BAenum!{.\quad}>{\bfseries}l \{c\Right{\}}{\texttt{block 3}}} + \gdef\theBAenumi{\Roman{BAenumi}} + LLL & \BAmultirow{50pt}{\Centering All columns in one block.} \\ + LL & \\ + L & \\ + \end{block} + \begin{block}{\BAenum \{l\}l\Right{\}}{\texttt{block 4}}} + ll & l\\ \BAnoalign{In contrast to \texttt{\textbackslash BAnoalign*}, + \texttt{\textbackslash BAnoalign} interrupts all delimiters in the current block.} + l & lll \\ + \end{block} + c & c +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-8.ltx new file mode 100644 index 00000000000..9dd82513d9b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-8.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-8 on page 43. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} +\BAtablenotestrue + +\begin{document} +\begin{blockarray}{|c||c|} + I\footnotetext[\textsc{sourceA:}]{Chicago Manual of Style.} + & II\footnote{Note on II. This is a particularly long footnote to demonstrate a line break + in the footnote.}\\ + \begin{blockarray}{(ll)} + \footnotetext[\textsc{sourceB:}]{Chicago Manual of Style.} + \footnotetext[\textsc{noteA:}]{The statement above is incorrect.} + left column--1 & left--2 \\ + left--3\footnote{Footnote on left-3.} & left--4\\ + \end{blockarray} & \begin{blockarray}{(ll)} + \footnotetext[\textsc{sourceC:}]{Chicago Manual of Style.} + \footnotetext[\textsc{noteB:}]{The statement above is incorrect.} + right column--1 & right--2 \\ + right--3\footnote{Footnote on right-3.} & right--4\\ + \end{blockarray}\\ + III\footnote{Note on THREE.} & IV \\ +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-04-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-04-9.ltx new file mode 100644 index 00000000000..db27386699c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-04-9.ltx @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-04-9 on page 43. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textheight{5.5cm} +\setlength\textwidth{4.5cm} +\AtBeginDocument{\setbox0\hbox{$ $}} + +\usepackage{blkarray} \BAtablenotesfalse + +\begin{document} +\begin{blockarray}{[c c]} + I\footnote{Chicago Manual of Style (CMoS).} & + II\footnote{This is a long footnote to demonstrate + the line break.}\\ + \begin{blockarray}{(ll)} + l-1\footnote{Chicago Manual of Style.} & l-2 \\ + l-3\footnote{Footnote on l-3.} & l-4 \\ + \end{blockarray} + & \begin{blockarray}{(ll)} + r-1\footnote{CMoS} + & r-2\\r-3\footnote{\ldots} & r-4\\ + \end{blockarray}\\ + III\footnote{Note on III.} & IV \\ +\end{blockarray} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-1.ltx new file mode 100644 index 00000000000..df41157674a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-1.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-1 on page 46. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage{eurosym} + + + +\begin{document} +\begin{tabular}{||l|lr||} \hline +gnome & pound & \euro13.65\\ + \cline{2-3} + & piece & .01 \\\hline +gnu & filled & 92.50 \\ + \cline{1-1}\cline{3-3} +emu & & 33.33 \\\hline +duckbill & frozen & 8.99 \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-10.ltx new file mode 100644 index 00000000000..31ecfc40075 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-10.ltx @@ -0,0 +1,56 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-10 on page 51. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{array,booktabs} +\usepackage[table]{xcolor} \definecolor{cLightRed}{rgb}{1,.70,.70} +\definecolor{cLightYellow}{rgb}{.90,.85,.55}\definecolor{cLightGray}{rgb}{.90,.90,.90} +\definecolor{cMediumGray}{rgb}{.70,.70,.70} \definecolor{cDarkGray}{rgb}{.50,.60,.70} +\newcommand\thickc[1][0.5pt]{\vrule width #1} +\newcommand\myMidrule{\specialrule{0.6pt}{0pt}{0pt}} + +\begin{document} +\renewcommand{\arraystretch}{1.35} +\begin{tabular}{|l|c|c|m{4cm}|} \specialrule{2pt}{5pt}{0pt} + \multicolumn{4}{!{\thickc[2pt]}c!{\thickc[2pt]}}{% + \large \textbf{Boot Loader Header Table}}\\\specialrule{2pt}{0pt}{0pt} + \multicolumn{4}{!{\thickc[1pt]}>{\columncolor{cLightYellow}}r!{\thickc[1pt]}}{% + \large Version Independent }\\\specialrule{1pt}{0pt}{0pt} + \multicolumn{1}{!{\thickc[1pt]}>{\columncolor{cDarkGray}}c|}{Entry} + & \multicolumn{1}{|>{\columncolor{cDarkGray}}c|}{Location} + & \multicolumn{1}{|>{\columncolor{cDarkGray}}c|}{Size} + & \multicolumn{1}{|>{\columncolor{cDarkGray}}c!{\thickc[1pt]}}{Comments} \\ + \specialrule{1pt}{0pt}{0pt} + \rowcolor{cLightGray} JmpTrap & 0 & Word & 0EBFEh (JMP \$)\\\myMidrule + \rowcolor{cMediumGray} MagicNumber & 2 & Word & 0AA55h \\\myMidrule + \rowcolor{cLightGray} Name & 4 & 4 Bytes & 'EBLH' \\\myMidrule + \rowcolor{cMediumGray} Version & 8 & Word & Version of BLH table\\\myMidrule + \rowcolor{cLightGray} Size & 10 & Byte & Size of BLH table \\\myMidrule + \rowcolor{cMediumGray}SizeVDT & 11 & Byte & Size of following version + dependent table\\\myMidrule + \multicolumn{4}{!{\thickc[1pt]}>{\columncolor{cLightYellow}}r!{\thickc[1pt]}}{% + \large Version 1.x }\\\myMidrule + \rowcolor{cLightGray} Empty & 0 & 0 & No Data for 1.x\\\myMidrule + \multicolumn{4}{!{\thickc[2pt]}c!{\thickc[2pt]}}{% + \large \textbf{End of Boot Loader Header Table}}\\[-2pt]\bottomrule[2pt] +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-11.ltx new file mode 100644 index 00000000000..3bd1c510e0f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-11.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-11 on page 52. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{longtable} \usepackage{booktabs} + +\begin{document} +\begin{longtable}{@{}lrccccr@{}} +\caption{Summary.}\\ \specialrule{1pt}{5pt}{5pt} +\multicolumn{1}{l}{compound} & \multicolumn{1}{c}{Lit.} + & \multicolumn{1}{c}{X-Ray} & \multicolumn{1}{c}{Lsm.} + & \multicolumn{1}{c}{$^{125}$Te-shift} + & \multicolumn{1}{c}{$^{19}$F-shift} \\\midrule +\addlinespace[0.3em] +\endhead +% +\addlinespace[0.5em] +\endfoot +% +\bottomrule +\endlastfoot +% +(CF$_3$C$_6$F$_4$)$_2$Te$_2$ &---&---&---&---&--- \\\midrule +Ph$_2$Te &---&---&---&729&--- \\\midrule\relax +(C$_6$F$_4$)$_2$Te$_2$ &---& ja&---&762& $-108,0$; $-152,0$ +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-2.ltx new file mode 100644 index 00000000000..352ea2223b5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-2.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-2 on page 46. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{eurosym} + +\begin{document} +\begin{tabular}{@{}llr@{}} \hline +gnome & pound & \euro13.65\\\cline{2-3} + & piece & .01 \\\hline +gnu & filled & 92.50\\\cline{1-1}\cline{3-3} +emu & & 33.33\\\hline +duckbill & frozen & 8.99 \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-3.ltx new file mode 100644 index 00000000000..cc032458274 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-3.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-3 on page 47. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{eurosym,multirow} + +\begin{document} +\begin{tabular}{@{}llr@{}} \hline +gnome & pound & \euro13.65 \\ + & piece & .01 \\ +gnu & \multirow{2}*{filled} & 92.50\\ +emu & & 33.33 \\ +duckbill & frozen & 8.99\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-4.ltx new file mode 100644 index 00000000000..9d4f3449bfc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-4.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-4 on page 48. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{eurosym,array,multirow,booktabs} + +\begin{document} +\begin{tabular}{@{}ll>{$}r<{$}@{}} \toprule +\multicolumn{2}{c}{meats}\\\cmidrule(r){1-2} +animal& unit &\textrm{price in \euro}\\\midrule +gnome & pound & 13.65 \\ + & piece & 0.01 \\ +gnu & \multirow{2}*{filled} & 92.50\\ +emu & & 33.33 \\ +duckbill & frozen & 8.99\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-5.ltx new file mode 100644 index 00000000000..ae95da559fa --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-5.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-5 on page 48. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{xcolor,booktabs} +\newlength{\basis}\setlength{\basis}{10cm} \newlength{\barlength} +\newcommand*{\Bar}[1]{% + \setlength{\barlength}{0.01\basis}\setlength{\barlength}{#1\barlength}% + \textcolor{black!40}{\rule{\barlength}{1.5ex}} #1\,\%} + +\begin{document} +\begin{tabular}{@{}ll@{}}\toprule +\multicolumn{2}{c}{General opinion on social differences in Germany (n=509)} + \\\midrule +\Bar{57} & very large \\ \Bar{23} & large\\ +\Bar{12} & less large\\ \Bar{8} & small\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-6.ltx new file mode 100644 index 00000000000..863d198bb93 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-6.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-6 on page 49. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{cccc} +one& two& three& four\\\cmidrule{1-2}\cmidrule{3-4} +one& two& three& four\\\cmidrule{1-1}\cmidrule{2-2} + \cmidrule{3-3}\cmidrule{4-4} +one& two& three& four\\\cmidrule(lr){1-2}\cmidrule(lr){3-4} +one& two& three& four\\\cmidrule(lr){1-1}\cmidrule(lr){2-2} + \cmidrule(lr){3-3}\cmidrule(lr){4-4} +one& two& three& four\\\cmidrule(r){1-2}\cmidrule(l){3-4} +one& two& three& four\\\cmidrule(r){1-1}\cmidrule(lr){2-2} + \cmidrule(lr){3-3}\cmidrule(l){4-4} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-7.ltx new file mode 100644 index 00000000000..1b448010518 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-7.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-7 on page 49. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{@{}cccc@{}} +one& two& three& four\\\cmidrule{1-2}\cmidrule{3-4} +one& two& three& four\\\cmidrule{1-1}\cmidrule{2-2} + \cmidrule{3-3}\cmidrule{4-4} +one& two& three& four\\\cmidrule(lr){1-2}\cmidrule(lr){3-4} +one& two& three& four\\\cmidrule(lr){1-1}\cmidrule(lr){2-2} + \cmidrule(lr){3-3}\cmidrule(lr){4-4} +one& two& three& four\\\cmidrule(r){1-2}\cmidrule(l){3-4} +one& two& three& four\\\cmidrule(r){1-1}\cmidrule(lr){2-2} + \cmidrule(lr){3-3}\cmidrule(l){4-4} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-8.ltx new file mode 100644 index 00000000000..d485439b324 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-8.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-8 on page 50. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{eurosym,array,booktabs} + +\begin{document} +\begin{tabular}{@{}>{\raggedright}p{4.5cm}@{\kern-30pt}*{6}{>{\small}r}@{}}\toprule +\textit{alternative 1} & time of & year\\[-2pt] + & investment & 2006 & 2007 & 2008 & 2009 & 2010 \\ +\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(lr){5-5} + \cmidrule(lr){6-6}\cmidrule(l){7-7} +introductory payments & 0 & 0 & 0 & 0 & 0 & 0 \\ +current personnel cost & 0 & 7.187 & 7.187 & 7.187 & 7.187 & 7.187 \\ +current cost for\newline +system maintenance & 0 & 13.572 & 13.572 & 13.572 & 13.572 & 13.572\\ + \cmidrule[0.8pt](r){1-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(lr){5-5} + \cmidrule(lr){6-6}\cmidrule(l){7-7} +total payments for the investment + & 0 & 20.759 & 20.759 & 20.759 & 20.759 & 20.759\\\bottomrule +% +\multicolumn{7}{c}{\rule{0pt}{3ex}\small(all amounts in \euro)} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-05-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-05-9.ltx new file mode 100644 index 00000000000..e9c0e6c4fe0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-05-9.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-05-9 on page 50. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{cccc} +one & two & three & four\\\cmidrule{2-3}\cmidrule{2-3} +one & two & three & four\\ + \cmidrule{2-3}\morecmidrules\cmidrule{2-3} +one & two & three & four\\\cmidrule{2-3}\morecmidrules + \cmidrule{2-3}\morecmidrules\cmidrule{2-3} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-06-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-06-1.ltx new file mode 100644 index 00000000000..3d92229ccb7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-06-1.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-06-1 on page 53. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{c}\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+1}$ \\\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}$\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-06-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-06-2.ltx new file mode 100644 index 00000000000..2dd0e7c29a1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-06-2.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-06-2 on page 53. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\renewcommand\arraystretch{2.5} +\begin{tabular}{c}\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+1}$ \\\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}$\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-06-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-06-3.ltx new file mode 100644 index 00000000000..406a03da9a6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-06-3.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-06-3 on page 53. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{cellspace} + +\begin{document} +\begin{tabular}{Sc}\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+1}$ \\\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}$\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-06-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-06-4.ltx new file mode 100644 index 00000000000..f9c80954180 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-06-4.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-06-4 on page 53. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{cellspace}\addtolength\cellspacetoplimit{3pt} +\addtolength\cellspacebottomlimit{3pt} + +\begin{document} +\begin{tabular}{Sc}\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+1}$ \\\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}$\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-06-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-06-5.ltx new file mode 100644 index 00000000000..a24885e07ff --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-06-5.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-06-5 on page 54. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[english]{babel} + +\usepackage{amsmath,cellspace,tabularx} +\addparagraphcolumntypes{X} +\addtolength\cellspacetoplimit{3pt} +\addtolength\cellspacebottomlimit{3pt} + +\begin{document} +\begin{tabularx}{\linewidth}{S{p{3em}}SX}\hline +$x$ & the independent variable which can be + assigned arbitrarily\\\hline +$y$ & the dependent variable\\\hline +$f(x)$ & the function + $y=f(x)\dfrac{1}{\sqrt{x}}$\\\hline +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-07-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-07-1.ltx new file mode 100644 index 00000000000..4edc5abe060 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-07-1.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-07-1 on page 54. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{ctable} + +\begin{document} +\ctable{lcr}{}{% <-- empty footnote argument! + \emph{left} & \emph{centre} & \emph{right}\\\hline + l & c & r \\ + left & center & right } +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-07-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-07-2.ltx new file mode 100644 index 00000000000..fa237650a8e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-07-2.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-07-2 on page 56. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{ctable} + +\begin{document} +\ctable[notespar=true]{|c||c|}{% + \tnote[\textsc{source:}]{Chicago Manual of Style.}% + \tnote{Note on II. This is a very long footnote to + demonstrate the line break in a footnote.}% + \tnote[b]{Footnote on left-3.}% + \tnote[*]{Footnote on right-3}% + \tnote[c]{Footnote on III.}% + \footnotetext[6]{Another ``real'' footnote on III.}% +}{% + I\tmark[\textsc{source:}] & II\tmark\\ + left col--1 & right col--1 \\ + left--2 & right--2 \\ + left--3\tmark[b]& right--3\tmark[*] \\ + left--4 & right--4 \\ + III\tmark[c] & IV\tmark[f] } +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-07-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-07-3.ltx new file mode 100644 index 00000000000..87f34660447 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-07-3.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-07-3 on page 56. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{ctable} + +\begin{document} +\ctable[framerule=0.5pt,framesep=5pt, + framebg=0.8 0.5 0.6]{@{}c||c@{}}{% + \tnote[\textsc{source:}]{Chicago Manual of Style.}% + \tnote{Note on II. This is a very long footnote + to demonstrate the line break + in the footnote.}% + \tnote[b]{Footnote on left-3.}% + \tnote[*]{Footnote on right-3}% + \tnote[c]{Footnote on III.}% + \footnotetext[6]{Another ``real'' footnote on III.}% +}{% + I\tmark[\textsc{source:}] & II\tmark\\ + left column--1 & right column--1 \\ + left--2 & right--2 \\ + left--3\tmark[b]& right--3\tmark[*] \\ + left--4 & right--4 \\ + III\tmark[c] & IV\tmark[f] +} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-07-4.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/02-07-4.ltx2 new file mode 100644 index 00000000000..1001c0b238d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-07-4.ltx2 @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-07-4 on page 57. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\usepackage[paperheight=7.5cm, +paperwidth=6cm, +margin=5mm]{geometry} +\AtBeginDocument{\small} + +\usepackage{ctable} + +\begin{document} +Here is some pretty useless text before the following table, which will appear +on its own page because of the \texttt{sideways} option. + +\ctable[sideways,maxwidth=\textheight, + caption=A table with \texttt{\textbackslash ctable}.]{@{}>{\ttfamily}l X@{} +}{\tnote[*]{A demonstration with \texttt{\textbackslash ctable}.}}% + {\FL% FirstLine with default width +sideways\tmark[*] & Rotates the table counter-clockwise (oneside) or clockwise + (twoside) by 90 degrees and places it on its own table. The \texttt{pos} + option must not be used in this case.\ML[0.1pt]% MidLine +star & Uses the starred version as floating environment; this only makes + sense in \texttt{\textbackslash twocolumn} mode to have the table span both + columns.\LL[0.5pt]% LastLine +}% end of the table argument +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-07-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-07-5.ltx new file mode 100644 index 00000000000..8cb666a1f52 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-07-5.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-07-5 on page 58. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[textheight=8cm,textwidth=7cm]{geometry} + +\usepackage{ctable} + +\begin{document} +\ctable{@{}lcr@{}}{}{% + \emph{left} & \emph{centred} + & \emph{right}\\\hline + l & c & r\\ + left & center & right } +\ctable[left]{@{}lcr@{}}{}{% + \emph{left} & \emph{centred} + & \emph{right}\\\hline + l & c & r\\ + left & center & right } +\ctable[right]{@{}lcr@{}}{}{% + \emph{left} & \emph{centred} + & \emph{right}\\\hline + l & c & r\\ + left & center & right } +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-1.ltx new file mode 100644 index 00000000000..ad9983d411c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-1.ltx @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-1 on page 59. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool} + +\begin{document} +\DTLloaddb{list}{data0.csv} +\begin{tabular}{llc} +\bfseries given name & \bfseries surname + & \bfseries age +\DTLforeach{list}{\givenName=givenName, + \surname=surname,\age=age}{% + \\ \givenName & \surname & \age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-2.ltx new file mode 100644 index 00000000000..354ec3f2301 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-2.ltx @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-2 on page 59. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\setlength\textwidth{180pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool} +\DTLloaddb{list}{data0.csv} + +\begin{document} +\begin{tabular}{cllc} +\emph{no} & \emph{given name} & + \emph{surname} & \emph{age} +\DTLforeach{list}{\givenName=givenName, + \surname=surname,\age=age}{% +\label{tab:\surname}\\ \theDTLrowi. + & \givenName & \surname & \age} +\end{tabular}\par +The entry for James Brown can be found in +row~\ref{tab:Brown} of the table and the +one for Claire in row~\ref{tab:Waldoff}. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-3.ltx new file mode 100644 index 00000000000..4d52b65c212 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-3.ltx @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-3 on page 60. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool}\DTLloaddb{list}{data0.csv} + +\begin{document} +\begin{tabular}{cllc} +\emph{no} & \emph{given name} & + \emph{surname} & \emph{age} +\DTLforeach[\DTLisopenbetween{\surname}{W}{X}]% + {list}{\givenName=givenName, + \surname=surname,\age=age}{\\ + \theDTLrowi.&\givenName&\surname&\age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-4.ltx new file mode 100644 index 00000000000..029b95761f5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-4.ltx @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-4 on page 60. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool} +\usepackage[table]{xcolor} + +\begin{document} +\DTLloaddb{list}{data0.csv} +\begin{tabular}{cllc} +\emph{no} & \emph{given name} & + \emph{surname} & \emph{age} +\DTLforeach{list}{\givenName=givenName, + \surname=surname,\age=age}{\\ + \DTLifoddrow% + {\rowcolor{black!20}}{\rowcolor{black!40}} + \theDTLrowi.&\givenName&\surname&\age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-5.ltx new file mode 100644 index 00000000000..a4b30c561f2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-5.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-5 on page 60. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool} \DTLloaddb{list}{data0.csv} + +\begin{document} +\begin{tabular}{cllc@{\qquad}cllc} +\emph{no} & \emph{given name} & \emph{surname} & \emph{age} & +\emph{no} & \emph{given name} & \emph{surname} & \emph{age} +\DTLforeach{list}{\givenName=givenName,\surname=surname,\age=age}% + {\DTLifoddrow{\\}{&} \theDTLrowi. & \givenName & \surname & \age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-6.ltx new file mode 100644 index 00000000000..1adbd2d1715 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-6.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-6 on page 61. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool} +\DTLloaddb{list}{data0.csv} + +\begin{document} +\begin{tabular}{cllc} +\emph{no} & \emph{given name} & + \emph{surname} & \emph{age} +\DTLforeach{list}{\givenName=givenName, + \surname=surname,\age=age}{% + \DTLiffirstrow{\\\hline}{\\} + \theDTLrowi.&\givenName&\surname&\age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-7.ltx new file mode 100644 index 00000000000..23c76a69bbd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-7.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-7 on page 61. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage{filecontents} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,45 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool}\DTLloaddb{list}{data0.csv} + +\begin{document} +\DTLsort[surname]{age=descending}{list} +\begin{tabular}{@{}cllc@{}} +\emph{no} & \emph{given name} & + \emph{surname} & \emph{age} +\DTLforeach{list}{\givenName=givenName, + \surname=surname,\age=age}{% + \DTLiffirstrow{\\\hline}{\\} + \theDTLrowi.&\givenName&\surname&\age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-08-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-08-8.ltx new file mode 100644 index 00000000000..972413214c3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-08-8.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-08-8 on page 61. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\begin{filecontents*}{data0.csv} +givenName,surname,passportNo,age +Hannes,"Wader, sen.",102689,68 +Jane,Austen,102647,75 +James,Brown,103569,42 +Jana,Voss,105488,26 +Roger,Daltry,106872,58 +Claire,Waldoff,104356,45 +Felix,Voss,513110,29 +\end{filecontents*} + +\usepackage{datatool}\DTLloaddb{list}{data0.csv} + +\begin{document} +\DTLsort*{surname}{list} +\begin{tabular}{@{}cllc@{}} +\emph{no} & \emph{given name} & + \emph{surname} & \emph{age} +\DTLforeach{list}{\givenName=givenName, + \surname=surname,\age=age}{% + \DTLiffirstrow{\\\hline}{\\} + \theDTLrowi.&\givenName&\surname&\age} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-09-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-09-1.ltx new file mode 100644 index 00000000000..86f92ba95f5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-09-1.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-09-1 on page 63. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage[thinlines]{easytable} + +\begin{document} +\begin{TAB}(e){lrc}{ctb} +l & r & c \\ +AA & BB & tt\\ +l & r & b +\end{TAB}\qquad +\begin{TAB}(e){|l|r|c|}{|c|t|b|} +l & r & c\\AA & BB & tt\\l & r & b +\end{TAB} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-09-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-09-2.ltx new file mode 100644 index 00000000000..6ac1a299d01 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-09-2.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-09-2 on page 63. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage[thinlines]{easytable} + +\begin{document} +\fbox{% +\begin{TAB}(e,12pt,12pt)[5pt,2.5cm,2.5cm]{l:r:c}{c:t:b} +l & r & c \\ +AA & BB & tt \\ +l & r & b +\end{TAB}} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-09-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-09-3.ltx new file mode 100644 index 00000000000..60e8137e37a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-09-3.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-09-3 on page 64. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage[thicklines]{easytable} + +\begin{document} +\begin{TAB}(e){;lrc;}{;ctb;} +l & r & c \\ +AA & \begin{TAB}(e){.r.}{.t.}BB\end{TAB} & tt\\ +l & r & b +\end{TAB}\\[\medskipamount] +\begin{TAB}(@)[10pt]{0lr0}{0tt0} + \begin{TAB}(@){:lr:}{:ct:} + l & r \\ AA & BB + \end{TAB} & + \begin{TAB}(@){1c1}{2bb2} + c\\tt + \end{TAB}\\ + \begin{TAB}(@){lr}{c} + l & r + \end{TAB} & \begin{TAB}(@){.c.}{.c.} b \end{TAB} +\end{TAB} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-10-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-10-1.ltx new file mode 100644 index 00000000000..be5b576ce7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-10-1.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-10-1 on page 65. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{hhline} + +\begin{document} +\begin{tabular}{||c||c|cc||cc||} + \hhline{|t:=:t:=|==#==:t|} + 0 & 1 & 2 & 3 & 4 & 5\\\hline + 0 & 1 & 2 & 3 & 4 & 5\\\hhline{======} + 0 & 1 & 2 & 3 & 4 & 5\\\hhline{||-||-..||.-} + 0 & 1 & 2 & 3 & 4 & 5\\\hhline{=::=~~::~=} + 0 & 1 & 2 & 3 & 4 & 5\\\hhline{|b:=:b:=--::-=:b|} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-1.ltx new file mode 100644 index 00000000000..c86a6e5909b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-1.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-1 on page 65. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{makecell} + +\begin{document} +\begin{tabular}{|c|c|}\hline +1st & \makecell{without parameter} \\\hline +2nd & \makecell{without parameter\\ + but on two lines}\\\hline +3rd & \makecell[l]{horizontal left} \\\hline +4th & \makecell[l]{horizontal\\ left} \\\hline +5th & \makecell[r]{horizontal right} \\\hline +6th & \makecell[r]{horizontal\\ right}\\\hline +\end{tabular}\\[5pt] +\begin{tabular}{|c|c|}\hline +7th & \makecell[{}{p{3cm}}]{fixed width} \\\hline +8th & \makecell[{}{p{3cm}}]{fixed\\width}\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-10.ltx new file mode 100644 index 00000000000..41fccd506f5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-10.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-10 on page 69. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{makecell} + +\begin{document} +\setcellgapes{5pt}\makegapedcells +\begin{tabular}{@{}c@{}}\hline +normal row\\\hline +top and bottom\\\hline +top and bottom\\\hline +\end{tabular}\\[10pt] +\nomakegapedcells +\begin{tabular}{@{}c@{}}\hline +normal row\\\hline +top and bottom\\\hline +top and bottom\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-11.ltx new file mode 100644 index 00000000000..e61be60c53e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-11.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-11 on page 70. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\setlength\parindent{0pt} + +\usepackage{multirow,makecell} + +\begin{document} +\begin{tabular}{ l c c }\hline +\multirowthead{4}{First column head} + & \multicolumn{2}{c}{\thead{Multi-column head}}\\\cline{2-3} + & \thead{Second and\\multi-line\\column head} & \thead{Third\\column head}\\\hline +cell text & A &\multirowcell{4}{28--31}\\ \cline{1-2} +\makecell{multi-line \\ cell text} & B & \\ \hline +\makecell[l]{left-aligned \\ cell text} & C + & \multirowcell{4}[.5\normalbaselineskip][l]{37--43}\\\cline{1-2} +\makecell[r]{right-aligned \\ cell text} & D & \\\hline +\makecell[b]{bottom-aligned \\ cell text} & E + & \multirowcell{6}[\normalbaselineskip][r]{37--43\\52--58}\\\cline{1-2} +\makecell[{{p{5cm}}}]{long long long cell text with fixed width} & F & \\\cline{1-2} +\makecell[{{>{\setlength\parindent{1em}}p{5cm}}}]{long long long + cell text with fixed width} & G & \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-12.ltx new file mode 100644 index 00000000000..e5341f510f3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-12.ltx @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-12 on page 71. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{booktabs,multirow,makecell} +\renewcommand\theadfont{\itshape\footnotesize} + +\begin{document} +\begin{tabular}{@{}llr@{--}rrlr@{--}rrl@{}}\toprule + & \multicolumn{8}{l}{\thead{to convert}} & \\\cmidrule(lr){2-9} + & \multicolumn{4}{l}{\thead{from frequencies in the}} + & \multicolumn{4}{l}{\thead{to frequencies in the}}\\ + \cmidrule(lr){2-5}\cmidrule(lr){6-9} + \thead[b]{type} & \thead[t]{television\\range} & \multicolumn{2}{l}{\thead{channel}} + & \thead{MHz} & \thead[t]{television\\range} & \multicolumn{2}{l}{\thead{channel}} + & \thead{MHz} & \thead[t]{configuration}\\\cmidrule(r){1-1}\cmidrule(lr){2-2} + \cmidrule(lr){3-4}\cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(lr){7-8} + \cmidrule(lr){9-9}\cmidrule(l){10-10} + SAFE 381 WK & F I & 2 & 4 & 174 & F III & 5 & 12 & 174 & DO \\ + SAFE 382 WK & F II & 5 & 12 & 68 & F I & 2 & 4 & 47 & DO \\ + SAFE 383 WK & F III & 21 & 38 & 174 & F III & 5 & 12 & 174 & ES \\ + SAFE 384 WK & F IV & 42 & 48 & 47 & F III & 5 & 12 & 174 & ET \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-13.ltx new file mode 100644 index 00000000000..919f7ced9b4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-13.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-13 on page 72. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{249.70511pt} +\setlength\parindent{0pt} + +\usepackage{makecell} + +\begin{document} +\begin{tabular}{@{}c|*{9}{c}@{}} +1 & \nline[1][2]{9}\\\hline +2 & A & \eline{7} & Z\\ +3 & \nline{2} & \eline{5} & \nline{2}\\ +4 & \nline[S1][4]{9} \\ +5 & \nline[(a)][2]{6}\\ +6 & \eline{4} & \nline[1][4]{3} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-2.ltx new file mode 100644 index 00000000000..db15d84d70b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-2.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-2 on page 66. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{makecell} + +\begin{document} +\begin{tabular}{|c|c|}\hline +1st & \makecell{without parameter} \\\hline +2nd & \makecell[t]{vertical top} \\\hline +3rd & \makecell[t]{vertical\\ top} \\\hline +4th & \makecell[b]{vertical bottom} \\\hline +5th & \makecell[b]{vertical\\ bottom}\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-3.ltx new file mode 100644 index 00000000000..d0e61fc9a7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-3.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-3 on page 66. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{makecell} + +\begin{document} +\begin{tabular}{|c|c|}\hline +1st & \makecell{without parameter}\\\hline +2nd & \makecell*[tl]{vertical top\\ + horizontal left}\\\hline +3rd & \makecell[tr]{vertical top\\ + horizontal right}\\\hline +4th & \makecell*[bl]{vertical bottom\\ + horizontal left}\\\hline +5th & \makecell[br]{vertical bottom\\ + horizontal right}\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-4.ltx new file mode 100644 index 00000000000..ccee6d77b50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-4.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-4 on page 66. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{makecell} + +\begin{document} +\begin{tabular}{ccc} +\thead{Title for\\column 1} + & \thead[l]{column 2} + & \thead[r]{column 3} \\\hline +A & \makecell*[tl]{vertical top\\ + horizontal left} & B\\ +C & \makecell[tr]{vertical top\\ + horizontal right} & RIGHT \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-5.ltx new file mode 100644 index 00000000000..5642d017bf2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-5.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-5 on page 67. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{makecell} + +\begin{document} +\renewcommand\cellalign{lt} +\renewcommand\theadalign{lb} +\renewcommand\theadfont{\itshape\small} +\begin{tabular}{@{}ccc@{}} +\thead{Title for\\column 1} + & \thead{column 2} + & \thead{column 3} \\\hline +A & \makecell*{vertical top\\LEFT} & B\\ +C & \makecell{vertical top\\ LEFT} + & RIGHT \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-6.ltx new file mode 100644 index 00000000000..3abf63d235b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-6.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-6 on page 68. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{makecell,rotating} + +\begin{document} +\renewcommand\cellalign{lt} +\renewcommand\theadalign{lb} +\renewcommand\theadfont{\itshape\normalsize} +\settowidth\rotheadsize{\theadfont Title for} +\begin{tabular}{@{}ccc@{}}\hline +\rothead{Title for\\column 1} + & \thead{column 2} + & \renewcommand\cellrotangle{45} + \rothead{column 3} \\\hline +A & \rotcell{vertical top\\LEFT} & B\\ +C & \makecell*{vertical top\\ LEFT} + & RIGHT \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-7.ltx new file mode 100644 index 00000000000..9ce7c758651 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-7.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-7 on page 68. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\setlength\fboxsep{0pt} + +\usepackage{makecell} + +\begin{document} +\rule{1em}{0.5pt}\fbox{good text}\rule{1em}{0.5pt}\fbox{\gape{good text}}% +\rule{1em}{0.5pt}\fbox{\gape[b]{good text}}\rule{1em}{0.5pt} +\fbox{\gape[t]{good text}}\rule{1em}{0.5pt} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-8.ltx new file mode 100644 index 00000000000..70ad4513fc1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-8.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-8 on page 69. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\setlength\fboxsep{0pt} + +\usepackage{makecell} + +\begin{document} +\rule{1em}{0.5pt}\fbox{good text}\rule{1em}{0.5pt}\fbox{\Gape{good text}}% +\rule{1em}{0.5pt}\fbox{\Gape[5pt]{good text}}\rule{1em}{0.5pt} +\fbox{\Gape[5pt][-5pt]{good text}}\rule{1em}{0.5pt} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-11-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-11-9.ltx new file mode 100644 index 00000000000..f4597db21cb --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-11-9.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-11-9 on page 69. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{makecell} + +\begin{document} +\begin{tabular}{@{}c@{}}\hline +normal row\\\hline +\bottopstrut top and bottom\\\hline +\botstrut only bottom\\\hline +\topstrut only top\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-12-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-12-1.ltx new file mode 100644 index 00000000000..3507db0d5f0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-12-1.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-12-1 on page 73. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{mdwtab} + +\begin{document} +\begin{tabular}{!{\vline[3pt]}l@{\quad}|Mc|}\hlx{shv[1,2]} + & equations\\\hlx{v[1][10pt]hv[][5pt]} +1st& f(x)=\frac{\sqrt{x^2-1}}{x^2+1} \\\hlx{vhv} +2nd& f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}\\\hlx{vh} +\tabpause{Now the same equations\\ + again!}\hlx{hv} +3rd& f(x)=\frac{\sqrt{x^2-1}}{x^2+1} \\\hlx{vhv} +4th& f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}\\\hlx{vh} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-12-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-12-2.ltx new file mode 100644 index 00000000000..aa3fdf1a1fd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-12-2.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-12-2 on page 74. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} + +\usepackage{mdwtab} +\newcolumntype{P}[1][2cm]{% + >{\raggedright\hspace{0pt}}p{#1}} + +\begin{document} +\begin{tabular}{| P[1cm] | P | }\hlx{hv} +arbitrary text & arbitrary text again\\\hlx{vh} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-13-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-13-1.ltx new file mode 100644 index 00000000000..56a3ffe7621 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-13-1.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-13-1 on page 74. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{slashbox} +\usepackage{pict2e} + +\begin{document} +\begin{tabular}{l|*{5}{c}} +\backslashbox{holiday}{year} & 2007 & 2008 & 2009 & 2010 & 2011\\\hline +Easter & 08.04. & 23.03. & 12.04. & 04.04. & 24.04.\\ +Pentecost & 27.05. & 11.05. & 31.05. & 23.05. & 12.06. +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-13-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-13-2.ltx new file mode 100644 index 00000000000..760eeca8ed5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-13-2.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-13-2 on page 75. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{slashbox,pict2e} + +\begin{document} +\begin{tabular}{r|*{5}{c}|l} +\backslashbox{holiday}{year}& 2007& 2008& 2009& 2010& 2011& + \slashbox{year}{holiday}\\\hline +Easter & 08.04. & 23.03. & 12.04. & 04.04. & 24.04. & Easter\\ +Pentecost & 27.05. & 11.05. & 31.05. & 23.05. & 12.06. & Pentecost +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-13-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-13-3.ltx new file mode 100644 index 00000000000..f49f1d955c3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-13-3.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-13-3 on page 75. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{slashbox,pict2e} + +\begin{document} +\begin{tabular}{l|*{5}{c}} +\backslashbox[20mm]{two\\ holidays}{year} & 2007 & 2008 & 2009 & 2010 & 2011\\\hline +Easter & 08.04. & 23.03. & 12.04. & 04.04. & 24.04.\\ +Pentecost & 27.05. & 11.05. & 31.05. & 23.05. & 12.06. +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-13-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-13-4.ltx new file mode 100644 index 00000000000..6b17c285e64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-13-4.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-13-4 on page 76. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{slashbox,pict2e} + +\begin{document} +\begin{tabular}{|@{}r|*{5}{c}|l@{}|}\hline +\backslashbox[0pt][l]{holiday}{year} & 2007 & 2008 & 2009 & 2010 & 2011 + & \slashbox[0pt][r]{year}{holiday}\\\hline +Easter & 08.04. & 23.03. & 12.04. & 04.04. & 24.04. & Easter\\ +Pentecost & 27.05. & 11.05. & 31.05. & 23.05. & 12.06. & Pentecost\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-1.ltx new file mode 100644 index 00000000000..1f8b4294d00 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-1.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-1 on page 76. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} + + + +\begin{document} +\begin{tabular}{|*7{c|}}\hline +a1&b1&c1&d1&e1&f1&g1\\\hline +a2&\multicolumn{2}{l|}{b2} + &d2&e2&f2&g2\\\hline +\multicolumn{3}{|l|}{a3}&d3& +\multicolumn{2}{l|}{e3}&g3\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-10.ltx new file mode 100644 index 00000000000..f607464ed03 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-10.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-10 on page 80. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab,eurosym} + +\begin{document} +\begin{spreadtab}{{tabular}{rr |r}} +@ month & @ income & @ tax \\\hline + 1 & 5409 & b2*0.3 \\ + 2 & 4523 & b3*0.3 \\ + 3 & 4711 & b4*0.3 \\\hline + & \llap{sum: :={sum(b2:b4)} \euro} + & $\sum$: :={sum(C2:C4)} +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-11.ltx new file mode 100644 index 00000000000..b60f28ab84b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-11.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-11 on page 80. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} + + +\usepackage{spreadtab} \setlength\tabcolsep{2pt} + +\begin{document} +\begin{spreadtab}{{tabular}{@{} *9{p{3em}} @{}}} + 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 &8\\\hline +fact(a1)&fact(b1)&fact(c1)&fact(d1)&fact(e1)&fact(f1)&fact(g1)&fact(h1)&fact(i1) +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-12.ltx new file mode 100644 index 00000000000..67c4ee9d3fe --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-12.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-12 on page 81. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} + + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}{{tabular}{ @{} r *6c @{}}} +@age & 10 & 11 & 12 & 13 & 14 & 15\\ +@number & 5 & 8 & 20 & 55 & 9 & 3\\\hline +\multicolumn{7}{@{}l}{mean age: :={sumprod(b1:g1;b2:g2)/sum(b2:g2)}} +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-13.ltx new file mode 100644 index 00000000000..e6690c63f57 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-13.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-13 on page 81. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} + + +\usepackage{spreadtab} \STautoround{4} + +\begin{document} +\begin{spreadtab}{{tabular}{@{} l|cccc @{}}} +@random number $\in [0;1]$ &rand() &rand() &rand() &rand() \\ +@random number $\in [-5;5]$ &randint(-5,5)&randint(-5,5)&randint(-5,5)&randint(-5,5)\\ +@random number $\in [0;20]$ &randint(20) &randint(20) &randint(20) &randint(20) \\ +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-14.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-14.ltx new file mode 100644 index 00000000000..74ca629ff04 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-14.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-14 on page 82. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} + + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}{{tabular}{cc}} +@1789/7/14 & engshortdatetonum(a1)\\ +2001/1/1 :={} & engshortdatetonum([-1,0])\\ +engshortdatetonum(0/3/1) & engshortdatetonum(\number\year/\number\month/\number\day)\\ +englongdatetonum(February 13, 2005) & englongdatetonum(\today)\\ +@July 1, 1970 & englongdatetonum(a5)\\\hline +@2010/11/23 & engshortdatetonum([-1,0])\\ +@2010/1/1 & engshortdatetonum([-1,0])\\ +@difference & :={[0,-2]-[0,-1]} days +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-15.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-15.ltx new file mode 100644 index 00000000000..1e1bfd14aed --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-15.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-15 on page 82. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} + + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}{{tabular}{cc}}\hline +\multicolumn{2}{|c|}{@2010/3/17} \\\hline + 365 & numtoengshortdate(engshortdatetonum(a1)+[-1,0])\\ + 365 & numtoenglongdate(engshortdatetonum(a1)+[-1,0]) \\ + 365 & numtoengmonth(engshortdatetonum(a1)+[-1,0]) \\ + 365 & numtoengday(engshortdatetonum(a1)+[-1,0]) \\\hline +-365 & numtoengshortdate(engshortdatetonum(a1)+[-1,0])\\ +-365 & numtoenglongdate(engshortdatetonum(a1)+[-1,0]) \\ +-365 & numtoengmonth(engshortdatetonum(a1)+[-1,0]) \\ +-365 & numtoengday(engshortdatetonum(a1)+[-1,0]) +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-2.ltx new file mode 100644 index 00000000000..fb79bad8e3b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-2.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-2 on page 77. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}{{tabular}{rr |r}} + 27 & 54 & a1+b1 \\ + 58 & 45 & a2-b2 \\ + 50 & 25 & a3*b3 \\ + 60 & 47 & a4/b4 \\\hline +a1+a2+a3 & b1+b2+b4 & a5/b5 +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-3.ltx new file mode 100644 index 00000000000..acfde7676a7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-3.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-3 on page 77. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab} \STautoround{3} + +\begin{document} +\begin{spreadtab}{{tabular}{rr |r}} + 27 & 54 & a1+b1 \\ + 58 & 45 & a2-b2 \\ + 50 & 25 & a3*b3 \\ + 60 & 47 & a4/b4 \\\hline +a1+a2+a3 & b1+b2+b4 & a5+b5 +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-4.ltx new file mode 100644 index 00000000000..6aea442b943 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-4.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-4 on page 77. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab,amsmath} + +\begin{document} +$\begin{spreadtab}{{matrix}{}} +1\\ +[0,-1] & [-1,-1]\\ +[0,-1] & [-1,-1]+[0,-1] & [-1,-1]\\ +[0,-1] & [-1,-1]+[0,-1] & [-1,-1]+[0,-1] & [-1,-1]\\ +[0,-1] & [-1,-1]+[0,-1] & [-1,-1]+[0,-1] & [-1,-1]+[0,-1] & [-1,-1]\\ +[0,-1] & [-1,-1]+[0,-1] & [-1,-1]+[0,-1] & [-1,-1]+[0,-1] & [-1,-1]+[0,-1] & [-1,-1] +\end{spreadtab}$ +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-5.ltx new file mode 100644 index 00000000000..a9d6190f21b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-5.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-5 on page 78. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}{{tabular}{rr |r}} +@ month & @ income & @ tax \\\hline + 1 & 5409 & b2*0.3 \\ + 2 & 4523 & b3*0.3 \\ + 3 & 4711 & b4*0.3 \\\hline + & b2+b3+b4 & B5*0.3 +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-6.ltx new file mode 100644 index 00000000000..6a2d5ede1d8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-6.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-6 on page 78. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab,eurosym} + +\begin{document} +\begin{spreadtab}{{tabular}{rr |r}} +@ month & @ income & @ tax \\\hline + 1 & 5409 & b2*0.3 \\ + 2 & 4523 & b3*0.3 \\ + 3 & 4711 & b4*0.3 \\\hline + & \llap{sum: :={b2+b3+b4} \euro} + & $\sum$: :={B5*0.3} +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-7.ltx new file mode 100644 index 00000000000..524b7c88afe --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-7.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-7 on page 79. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}{{tabular}{r | ccc}}\hline +@ $x$ \emph{values} & -1 & 0 \SThidecol & 2 & 3 \\\hline +@ $f(x)=2\cdot x-1$ & 2*[0,-1]-1& 2*[0,-1]-1 & 2*[0,-1]-1 & 2*[0,-1]-1\\ +@ $g(x)=x-10$\SThiderow& [0,-2]-10 & [0,-2]-10 & [0,-2]-10 & [0,-2]-10 \\ +@ $h(x)=1-x$ & 1-[0,-3] & 1-[0,-3] & 1-[0,-3] & 1-[0,-3] \\\hline +@ $j(x)=x^2$ & [0,-4]*[0,-4] & [0,-4]*[0,-4] & [0,-4]*[0,-4] + & [0,-4]*[0,-4] \\\hline +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-8.ltx new file mode 100644 index 00000000000..940da234903 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-8.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-8 on page 79. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab} + +\begin{document} +\begin{spreadtab}[\STsavecell\result{c1}]% + {{tabular}{|c|c|c|c|c|}}\hline +10 & a1+10 & b1+10 & a1+b1+c1 + & @cell c1 : \result\\\hline +\end{spreadtab}\par\medskip +\medskip +cell c1 had the value \result +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-14-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-14-9.ltx new file mode 100644 index 00000000000..46f5d14b043 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-14-9.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-14-9 on page 80. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{spreadtab,eurosym} + +\begin{document} +\begin{spreadtab}[\STsavecell\EK{b5}% + \STsavecell\ST{c5}]{{tabular}{rr |r}} +@ month & @ income & @ tax \\\hline + 1 & 5409 & b2*0.3 \\ + 2 & 4523 & b3*0.3 \\ + 3 & 4711 & b4*0.3 \\\hline + & \llap{sum: :={b2+b3+b4} \euro} + & $\sum$: :={B5*0.3} +\end{spreadtab}\par\medskip +The income was \EK~\euro\ and the tax was \ST~\euro! +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-15-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-15-1.ltx new file mode 100644 index 00000000000..e665b6621b2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-15-1.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-15-1 on page 83. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{tabls} + +\begin{document} +\begin{tabular}{c}\hline[10pt] +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+1}$\\\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}$\\\hline +\end{tabular}\\[10pt] +% +\setlength\tablinesep{0pt}% Standard-LaTeX +\setlength\arraylinesep{0pt}% Standard-LaTeX +\setlength\extrarulesep{0pt}% Standard-LaTeX +\begin{tabular}{c}\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+1}$ \\\hline +$ f(x)=\frac{\sqrt{x^2-1}}{x^2+\frac{1}{x^2}}$\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-15-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-15-2.ltx new file mode 100644 index 00000000000..3a9b6cfee82 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-15-2.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-15-2 on page 84. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{tabls,slashbox,pict2e} + +\begin{document} +\begin{tabular}{|@{}r|*{5}{c}|l@{}|}\hline +\backslashbox[0pt][l]{holiday}{year} & 2007 & 2008 & 2009 & 2010 & 2011 + & \slashbox[0pt][r]{year}{holiday}\\\hline[3pt] +Easter & 08.04. & 23.03. & 12.04. & 04.04. & 24.04. & Easter\\ +Pentecost & 27.05. & 11.05. & 31.05. & 23.05. & 12.06. & Pentecost\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-15-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-15-3.ltx new file mode 100644 index 00000000000..1be6fa02cc6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-15-3.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-15-3 on page 84. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{tabls} +\newcommand{\T}{\textsf{T}}\newcommand{\Z}{\mathcal{Z}}\newcommand{\C}{\textsf{c}} + +\begin{document} +\begin{tabular}{@{}c|c|ccccc@{}}\hline + BV \rule[-0.3cm]{0cm}{0.8cm}& R & $d$ & $u_\Z$ + & $u_{\Z^\C}$ & $v_\Z$ & $v_{\Z^\C}$\\\hline + $u_\Z$ \rule[-0.3cm]{0cm}{0.8cm}& $y_\Z$&$A_\Z$ & $I$ & $0$ & $-I$ & $0$ \\ + $u_{\Z^\C}$ \rule[-0.3cm]{0cm}{0.8cm}& $y_{\Z^\C}$ + & $A_{\Z^\C}$&$0$ & $I$ & $0$ & $-I$\\\hline + ZF/GK & $e_m^\T + \left(\begin{array}{c} y_\Z \\ y_{\Z^\C}\end{array}\right)$ + & $e_m^\T\left(\begin{array}{c}A_\Z \\A_{\Z^\C}\end{array}\right) $ + & $0$ & $0$ & $-2e_n^\T$ & $-2e_{m-n}^\T$ \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-16-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-16-1.ltx new file mode 100644 index 00000000000..cf39fff87ac --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-16-1.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-16-1 on page 86. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{booktabs} +\usepackage{tabularht} + +\begin{document} +\fbox{% +\begin{tabularht*}{0.8in}{4in}{@{} l @{\extracolsep{\fill}} r @{}} + top left& top right\\\interrowfill + \multicolumn{2}{@{}c@{}}{bounding box}\\\interrowfill + bottom left & bottom right +\end{tabularht*}} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-16-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-16-2.ltx new file mode 100644 index 00000000000..fb53bbf294a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-16-2.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-16-2 on page 86. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage[vlines]{tabularht} + +\begin{document} +\begin{tabularht}{1.75cm}{*{4}{|c}|}\hline +column 1 & column 2 & column 3 + & column 4\\\hline +\interrowfill[2,3]\hline +column 1 & column 2 & column 3 + & column 4\\\hline +\end{tabularht} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-16-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-16-3.ltx new file mode 100644 index 00000000000..dbf54583fc6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-16-3.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-16-3 on page 86. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{booktabs} +\usepackage[pdftex,vlines]{tabularht}% specify driver + +\begin{document} +\begin{tabularht}{spread=0pt}{|l|l|}\hline + first & line\\\hline +\interrowstart \addlinespace[10mm]\interrowstop\hline + second & line\\ +\interrowstart \hline\hline \interrowstop + third & line\\\hline +\interrowspace[1,3]{15mm}\hline + fourth & line\\\hline +\end{tabularht} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-17-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-17-1.ltx new file mode 100644 index 00000000000..f512c9db282 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-17-1.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-17-1 on page 87. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{booktabs, tabularkv} + +\begin{document} +\fbox{% + \begin{tabularkv}[width=2.25in,height=0.75in, + valign=center]{@{}l@{\extracolsep{\fill}}r@{}} + top left& top right \\\interrowfill + \multicolumn{2}{@{}c@{}}{bounding box}\\ + \interrowfill + bottom left & bottom right + \end{tabularkv}} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-17-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-17-2.ltx new file mode 100644 index 00000000000..98355ed10a6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-17-2.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{170.59192pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} + +\usepackage{tabularx} + +\begin{document} +Text before the table which spans the whole line to show that the table is that +wide as well.\par +\begin{tabularx}{\linewidth}{@{}X p{1cm} X@{}} +The width of the column is determined automatically. +& This column is 1\,cm wide. +& The width of the column is determined automatically. +\end{tabularx}\par +Text after the table which spans the whole line to show that the table is that +wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-17-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-17-3.ltx new file mode 100644 index 00000000000..3fde8ae3ec8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-17-3.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{194.59192pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} + +\usepackage{tabularx} + +\begin{document} +Text before the table which spans the whole line to show that the table is that +wide as well.\par +\begin{tabularx}{\linewidth}{@{} + >{\setlength\hsize{0.7\hsize}}X | + p{1cm} | + >{\setlength\hsize{1.3\hsize}}X@{}} +The width of the column is determined automatically. +& This column is 1\,cm wide. +& The width of the column is determined automatically. +\end{tabularx}\par +Text after the table which spans the whole line to show that the table is that +wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-17-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-17-4.ltx new file mode 100644 index 00000000000..45830ef7790 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-17-4.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{194.59192pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} + +\usepackage{tabularx,ragged2e} + +\begin{document} +Text before the table which spans the whole line to show that the table is that +wide as well.\par +\begin{tabularx}{\linewidth}{@{} + >{\setlength\hsize{0.7\hsize}\RaggedRight}X | + >{\RaggedRight}p{1cm} | + >{\setlength\hsize{1.3\hsize}\RaggedRight}X@{}} +The width of the column is determined automatically. +& This column is 1\,cm wide. +& The width of the column is determined automatically. +\end{tabularx}\par +Text after the table which spans the whole line to show that the table is that +wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-17-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-17-5.ltx new file mode 100644 index 00000000000..cce0bc9a37c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-17-5.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{170.59192pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} + +\usepackage{tabularx,ragged2e} +\renewcommand\tabularxcolumn[1]{>{\small}m{#1}} + +\begin{document} +Text before the table which spans the whole line.\par +\begin{tabularx}{\linewidth}{@{} + >{\setlength\hsize{0.7\hsize}\RaggedRight}X | + >{\RaggedRight}p{1cm} | + >{\setlength\hsize{1.3\hsize}\RaggedRight}X@{}} +The width of the column is determined automatically. +& This column is 1\,cm wide. +& The width of the column is determined automatically. +\end{tabularx}\par +Text after the table which spans the whole line. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-18-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-18-1.ltx new file mode 100644 index 00000000000..4eb37db5577 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-18-1.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-18-1 on page 87. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\AtBeginDocument{\sloppy} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} +\AtBeginDocument{\small} + +\usepackage{tabularx} + +\begin{document} +Text before the table, which spans the whole line to +show that the table is that wide as well.\par +\begin{tabularx}{\linewidth}{!{\vrule width 2pt}X|} +A bar next to the text can be created easily now. +\par\medskip It can also span several paragraphs, +but page breaks are not possible with +\texttt{tabularx} (see \texttt{ltxtable} package). +\end{tabularx}\par +Text after the table, which spans the whole line to +show that the table is that wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-18-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-18-2.ltx new file mode 100644 index 00000000000..92bd0f740fc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-18-2.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-18-2 on page 88. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\AtBeginDocument{\sloppy} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} +\AtBeginDocument{\small} + +\usepackage{tabularx} + +\begin{document} +Text before the table, which spans the whole line to +show that the table is that wide as well.\par +\begin{tabularx}{\linewidth}{|X | p{1cm} | X|} +The width of this column is determined automatically. +& This column is 1\,cm wide. +& The width of this column is also determined + automatically. +\end{tabularx}\par +Text after the table, which spans the whole line to +show that the table is that wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-18-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-18-3.ltx new file mode 100644 index 00000000000..7b729e43b04 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-18-3.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-18-3 on page 88. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} +\AtBeginDocument{\small} + +\usepackage{tabularx} + +\begin{document} +Text before the table, which spans the whole line to show that the table is +that wide as well.\par +\begin{tabularx}{\linewidth}{|>{\setlength\hsize{0.7\hsize}}X|p{1cm}| + >{\setlength\hsize{1.3\hsize}}X|} +The width of this column is determined automatically. & This column is 1\,cm wide. +& The width of this column is determined automatically. +\end{tabularx}\par +Text after the table, which spans the whole line to show that the table is +that wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-18-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-18-4.ltx new file mode 100644 index 00000000000..c59b4eb9ba9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-18-4.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-18-4 on page 89. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} +\AtBeginDocument{\small} + +\usepackage{tabularx,ragged2e} + +\begin{document} +Text before the table, which spans the +whole line to show that the table is +that wide as well.\par +\begin{tabularx}{\linewidth}{| + >{\setlength\hsize{0.7\hsize}\RaggedRight}X| + >{\RaggedRight}p{1cm}| + >{\setlength\hsize{1.3\hsize} + \RaggedRight}X|} +The width of this column is determined +automatically. & This column is 1\,cm +wide. & The width of this column is +determined automatically. +\end{tabularx}\par +Text after the table, which spans the +whole line to show that the table is +that wide as well. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-18-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-18-5.ltx new file mode 100644 index 00000000000..2b2c53e70ba --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-18-5.ltx @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-18-5 on page 89. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{5.6cm} +\setlength\parskip{8pt plus 3pt} +\AtBeginDocument{\small} + +\usepackage{tabularx,ragged2e} +\renewcommand\tabularxcolumn[1]{>{\small}m{#1}} + +\begin{document} +Text before the table, which spans the whole line. + +\begin{tabularx}{\linewidth}{@{} + >{\setlength\hsize{0.7\hsize}\RaggedRight}X | + >{\RaggedRight}p{1cm} | + >{\setlength\hsize{1.3\hsize}\RaggedRight}X@{}} +The width of this column is determined automatically. +& This column is 1\,cm wide. +& The width of this column is determined + automatically. +\end{tabularx}\par +Text after the table, which spans the whole line. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-19-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-19-1.ltx new file mode 100644 index 00000000000..91bd8213a30 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-19-1.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-19-1 on page 90. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{6cm} +\setlength\parskip{8pt plus 3pt} + +\usepackage{tabulary} + +\begin{document} +Text before the table, which spans the whole line.\par +\begin{tabulary}{\linewidth}{|L | C | R|} +The height of this column is determined +automatically. +& This column is of unknown width. +& The height is also determined + automatically. +\end{tabulary}\par +Text after the table, which spans the whole line. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-19-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-19-2.ltx new file mode 100644 index 00000000000..569aafe0621 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-19-2.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-19-2 on page 90. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{262.9023pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\parskip{8pt plus 3pt} + +\usepackage{tabulary} + +\begin{document} +Text before the table, which will span the whole width of the line with an +additional linebreak but without sense.\par +\begin{tabulary}{\linewidth}{@{}J | J | J@{}} +The height of this column is determined automatically. + & This column is ?\,cm wide, but how wide exactly is unknown. + & The height of this column is determined automatically such that all columns + have the same height for the given width. +\end{tabulary}\par +Text after the table, which will span the whole width of the line with an +additional linebreak but without sense. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-20-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-20-1.ltx new file mode 100644 index 00000000000..1df04a7b981 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-20-1.ltx @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-20-1 on page 92. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} + +\usepackage{threeparttable,array,booktabs,calc} + +\begin{document} +\begin{threeparttable} +\caption{Summary of the signs for the most important trigonometric + functions.\tnote{1}} +\begin{tabular}{@{}rc*{6}{>{$}c<{$}}}\toprule +\emph{quadrant} & angle & \sin\tnote{a} & \cos\tnote{a} & \tan\tnote{b} + & \mathrm{cot}\tnote{b} & \mathrm{sec}\tnote{c} & \mathrm{csec}\tnote{c} \\\midrule + I & $0^\circ$ to $90^\circ$ & + & + & + & + & + & + \\ + II & $90^\circ$ to $180^\circ$ & + & - & - & - & - & + \\ + III & $180^\circ$ to $270^\circ$ & - & - & + & + & - & - \\ + IV & $270^\circ$ to $360^\circ$ & - & + & - & - & + & - \\\bottomrule +\end{tabular} +\begin{tablenotes} + \item[1] Conversion to radian is easy. + \begingroup% keep local + \renewcommand\tnote[1]{\normalsize\bfseries#1} + \item[range:] ~ \endgroup + \item[a] \makebox[1.8em][r]{$-1$} to $+1$ + \item[b] \makebox[1.8em][r]{$-\infty$} to $+\infty$ + \item[c] \makebox[1.8em][r]{$-\infty$} to $-1$ and $+1$ to $+\infty$ +\end{tablenotes} +\end{threeparttable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-20-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-20-2.ltx new file mode 100644 index 00000000000..0afa9a3d93c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-20-2.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-20-2 on page 93. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} + +\usepackage[para]{threeparttable} + +\begin{document} +\begin{threeparttable} \caption{Different gas analyses.} +\begin{tabular}[t]{r|c|c|c}\hline + & P1 & P2\tnote{A} & P3\\\hline +decrease in pressure & 0.149 & 0.494 & 0.199 \\ +winding & 0.146 & 0.480 & 0.240 \\ +heat extraction & 0.164\tnote{a} & 0.508 & 0.209 \\\hline +\end{tabular} +\begin{tablenotes}[flushleft] + \item[A] uncertain measurement \item[a] disturbance during measurement +\end{tablenotes} +\end{threeparttable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-20-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-20-3.ltx new file mode 100644 index 00000000000..a0ccd8d065f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-20-3.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{194.59192pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} +\setlength\tabcolsep{3pt} + +\usepackage{warpcol} + +\begin{document} +\begin{tabular}{@{} + >{\pcolbegin{l}{3.1}}c<{\pcolend}P{3.1} + >{\pcolbegin{c}{3.1}}c<{\pcolend} @{}}\hline + \multicolumn{1}{@{}c}{left-aligned} + & \multicolumn{1}{c}{right-aligned} + & \multicolumn{1}{c@{}}{centred}\\ \hline + 123.4&123.4&123.4\\12.3&12.3&12.3\\1.2&1.2&1.2\\\hline + \end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-20-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-20-4.ltx new file mode 100644 index 00000000000..82a0f51df6e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-20-4.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{146.59192pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} + +\usepackage{warpcol,eurosym} +\newcolumntype{L}[1]{>{\pcolbegin{l}{#1}}l<{\pcolend}} + +\begin{document} +\begin{tabular}{@{} L{< 1.3} P{3\,3.2} @{}}\hline +\multicolumn{1}{@{}c}{\emph{p}} + & \multicolumn{1}{c@{}}{\emph{cost (\euro)}}\\\hline + > 0.1 & 123\,456.78 \\ < 0.1 & 23\,456.78 \\ + < 0.01 & 4\,523.45 \\ < 0.001 & 345.67 \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-21-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/02-21-1.ltx2 new file mode 100644 index 00000000000..2c0820a78a2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-21-1.ltx2 @@ -0,0 +1,59 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-21-1 on page 94. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\usepackage[english]{babel} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{threeparttablex} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable,threeparttablex} + +\begin{document} +\begin{ThreePartTable} +\begin{TableNotes} +\item[a] A remark to the table. +\item[b] This table is only a demo. +\end{TableNotes} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & C & R & box\\\hline +\endfirsthead +\multicolumn{4}{@{}l}{\small\ldots\emph{continued}}\\\hline +L & C & R & box\\\hline +\endhead +\hline +\multicolumn{4}{r@{}}{\small\emph{continued on next page} \ldots}\\ +\endfoot +\hline +\insertTableNotes +\endlastfoot +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c\tnote{a} & r & 4th row\\ l & c & r\tnote{b} & 5th row\\ +l & c & r & 6th row\\ l & c & r & 7th row\\ l & c & r & 8th row\\ +l & c & r & 9th row\\ l & c & r &10th row\\ l & c & r &11th row\\ +l & c & r &12th row +\end{longtable} +\end{ThreePartTable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-21-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/02-21-2.ltx2 new file mode 100644 index 00000000000..52b406db5ff --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-21-2.ltx2 @@ -0,0 +1,61 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-21-2 on page 95. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\usepackage[english]{babel} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{threeparttablex} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} \usepackage[referable]{threeparttablex} + +\begin{document} +\begin{ThreePartTable} +\begin{TableNotes} +\item[a]\label{tn:a} A remark to the table. +\item[b]\label{tn:b} This table is only a demo. +\end{TableNotes} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & C & R & box\\\hline +\endfirsthead +\multicolumn{4}{@{}l}{\small\ldots\emph{continued}}\\\hline +L & C & R & box\\\hline +\endhead +\hline +\multicolumn{4}{r@{}}{\small\emph{continued on next page} \ldots}\\ +\endfoot +\hline +\insertTableNotes +\endlastfoot +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c\tnotex{tn:a} & r & 4th row\\ l & c & r\tnotex{tn:b} & 5th row\\ +l & c & r & 6th row\\ l & c & r & 7th row\\ l & c & r & 8th row\\ +l & c & r & 9th row\\ l & c & r &10th row\\ l & c & r &11th row\\ +l & c & r &12th row +\end{longtable} +\end{ThreePartTable} + +The remarks~\ref{tn:a} and~\ref{tn:b} in the table\ldots. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-21-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-21-3.ltx new file mode 100644 index 00000000000..52dabd0caeb --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-21-3.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{194.59192pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} + +\begin{document} +\begin{tabular}{| c | D{.}{,}{5} | >{$}l<{$} | } +\textit{name}& \multicolumn{1}{c|}{\textit{value}} + & \multicolumn{1}{c|}{\textit{standard display}}\\\hline + e & 2.71828 & 0,271828\cdot10^{1}\\ $\pi$ & 3.1416 & 0,31416\cdot10^{1}\\ + v & 0.21 & 0,21 \\ Q & 0 & 0 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-21-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-21-4.ltx new file mode 100644 index 00000000000..365a41ed3d4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-21-4.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2009 H. Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +%% ==== +% Show page(s) 1 + +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{194.59192pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} +\newcolumntype{d}[1]{D{.}{.}{#1}} +\newcommand\mc[1]{\multicolumn{1}{c|}{#1}} +\newcommand\Mc[1]{\multicolumn{1}{|c|}{#1}} + +\begin{document} +\begin{tabular}{| d{-1}| d{1}| d{2}| d{3.2}| d{5.2}|} +\Mc{d\{-1\}}&\mc{d\{1\}}&\mc{d\{2\}}&\mc{d\{3.2\}}&\mc{d\{5.2\}}\\\hline +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-22-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-22-1.ltx new file mode 100644 index 00000000000..e5489ca6e1f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-22-1.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-22-1 on page 96. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{warpcol} + +\begin{document} +\begin{tabular}{P{3.1} P{-2.1}}\hline +\multicolumn{1}{c}{\emph{column 1}} + & \multicolumn{1}{c}{\emph{column 2}}\\\hline + 123.4 & -12.3\\12.3 & 12.3\\1.2 & 1.2\\\hline + \end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-22-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-22-2.ltx new file mode 100644 index 00000000000..4c7e908fbed --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-22-2.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-22-2 on page 96. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{warpcol}\newcolumntype{L}[1]{>{\pcolbegin{r}{#1}}l<{\pcolend}} +\newcolumntype{R}[1]{>{\pcolbegin{r}{#1}}r<{\pcolend}} + +\begin{document} +\begin{tabular}{@{} L{3.1}L{3.1}P{3.1}P{3.1}R{3.1}R{3.1} @{}} \hline + \multicolumn{1}{l}{KT} & \multicolumn{1}{l}{long title} + & \multicolumn{1}{c}{KT} & \multicolumn{1}{c}{long title} + & \multicolumn{1}{r}{KT} & \multicolumn{1}{r}{long title}\\ \hline + 123.4 & 123.4 & 123.4 & 123.4 & 123.4 & 123.4 \\ + 12.3 & 12.3 & 12.3 & 12.3 & 12.3 & 12.3 \\ + 1.2 & 1.2 & 1.2 & 1.2 & 1.2 & 1.2 \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-22-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-22-3.ltx new file mode 100644 index 00000000000..f36f549b96b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-22-3.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-22-3 on page 97. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} +\setlength\tabcolsep{3pt} + +\usepackage{warpcol} + +\begin{document} +\begin{tabular}{@{} + >{\pcolbegin{l}{3.1}}c<{\pcolend}P{3.1} + >{\pcolbegin{c}{3.1}}c<{\pcolend} @{}}\hline + \multicolumn{1}{@{}c}{left-aligned} + & \multicolumn{1}{c}{right-aligned} + & \multicolumn{1}{c@{}}{centred}\\ \hline + 123.4&123.4&123.4\\12.3&12.3&12.3\\1.2&1.2&1.2\\\hline + \end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-22-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-22-4.ltx new file mode 100644 index 00000000000..e7d2d40fadf --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-22-4.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-22-4 on page 97. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} + +\usepackage{warpcol} \usepackage{eurosym} +\newcolumntype{L}[1]{>{\pcolbegin{l}{#1}}l<{\pcolend}} + +\begin{document} +\begin{tabular}{@{} L{< 1.3} P{3\,3.2} @{}}\hline +\multicolumn{1}{@{}c}{\emph{p}} + & \multicolumn{1}{c@{}}{\emph{cost (\euro)}}\\\hline + > 0.1 & 123\,456.78 \\ < 0.1 & 23\,456.78 \\ + < 0.01 & 4\,523.45 \\ < 0.001 & 345.67 \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-23-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-23-1.ltx new file mode 100644 index 00000000000..3e24d162b5c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-23-1.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-23-1 on page 98. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{tabularx,widetable} + +\begin{document} +\begin{tabular*}{\linewidth}{|l|c@{\kern\tabcolsep\vrule\extracolsep{\fill}}c|}\hline +column A & wider column B & longtable*\\\hline +\end{tabular*}\par\bigskip +\begin{tabularx}{\linewidth}{|l|X|X|}\hline +column A & wider column B & tabularx\\\hline +\end{tabularx}\par\bigskip +\begin{widetable}{\linewidth}{|l|c|c|}\hline +column A & wider column B & widetable\\\hline +\end{widetable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-23-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-23-2.ltx new file mode 100644 index 00000000000..72c87f885e6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-23-2.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} + +\begin{document} +\begin{tabular}{| c | D{.}{,}{5} | D{,}{.}{-1} | } +\textit{name}& \multicolumn{1}{c|}{\textit{value}} + & \multicolumn{1}{c|}{\textit{standard form}}\\\hline + e & 2.71828 & 0,271828\cdot10^{1}\\ $\pi$ & 3.1416 & 0,31416\cdot10^{1}\\ + v & 0.21 & 0,21 \\ Q & 0 & 0 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-23-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-23-3.ltx new file mode 100644 index 00000000000..fc13b169927 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-23-3.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} + +\begin{document} +\begin{tabular}{| c | D{.}{,}{5} | >{$}l<{$} | } +\textit{name}& \multicolumn{1}{c|}{\textit{value}} + & \multicolumn{1}{c|}{\textit{standard form}}\\\hline + e & 2.71828 & 0,271828\cdot10^{1}\\ $\pi$ & 3.1416 & 0,31416\cdot10^{1}\\ + v & 0.21 & 0,21 \\ Q & 0 & 0 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-23-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-23-4.ltx new file mode 100644 index 00000000000..aee367bd8a0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-23-4.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} +\newcolumntype{d}[1]{D{.}{.}{#1}} +\newcommand\mc[1]{\multicolumn{1}{c|}{#1}} +\newcommand\Mc[1]{\multicolumn{1}{|c|}{#1}} + +\begin{document} +\begin{tabular}{| d{-1}| d{1}| d{2}| d{3.2}| d{5.2}|} +\Mc{d\{-1\}}&\mc{d\{1\}}&\mc{d\{2\}}&\mc{d\{3.2\}}&\mc{d\{5.2\}}\\\hline +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-24-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-24-1.ltx new file mode 100644 index 00000000000..ae09a25c0bf --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-24-1.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-24-1 on page 99. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} + +\begin{document} +\begin{tabular}{| c | D{.}{,}{5} | D{,}{.}{-1} | } +\textit{name}& \textit{value} & \textit{standard form}\\\hline + e & 2.71828 & 0,271828\cdot10^{1}\\ $\pi$ & 3.1416 & 0,31416\cdot10^{1}\\ + v & 0.21 & 0,21 \\ Q & 0 & 0 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-24-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-24-2.ltx new file mode 100644 index 00000000000..ce55370b535 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-24-2.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-24-2 on page 99. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} + +\begin{document} +\begin{tabular}{| c | D{.}{,}{5} | D{,}{.}{-1} | } +\textit{name}& \multicolumn{1}{c|}{\textit{value}} + & \multicolumn{1}{c|}{\textit{standard form}}\\\hline + e & 2.71828 & 0,271828\cdot10^{1}\\ $\pi$ & 3.1416 & 0,31416\cdot10^{1}\\ + v & 0.21 & 0,21 \\ Q & 0 & 0 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-24-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-24-3.ltx new file mode 100644 index 00000000000..9d2d5af4942 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-24-3.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-24-3 on page 100. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} + +\begin{document} +\begin{tabular}{| c | D{.}{,}{5} | >{$}l<{$} | } +\textit{name}& \multicolumn{1}{c|}{\textit{value}} + & \multicolumn{1}{c|}{\textit{standard form}}\\\hline + e & 2.71828 & 0,271828\cdot10^{1}\\ $\pi$ & 3.1416 & 0,31416\cdot10^{1}\\ + v & 0.21 & 0,21 \\ Q & 0 & 0 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-24-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-24-4.ltx new file mode 100644 index 00000000000..6bb391319ac --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-24-4.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-24-4 on page 100. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{dcolumn} +\newcolumntype{d}[1]{D{.}{.}{#1}} +\newcommand\mc[1]{\multicolumn{1}{c|}{#1}} +\newcommand\Mc[1]{\multicolumn{1}{|c|}{#1}} + +\begin{document} +\begin{tabular}{| d{-1}| d{1}| d{2}| d{3.2}| d{5.2}|} +\Mc{d\{-1\}}&\mc{d\{1\}}&\mc{d\{2\}}&\mc{d\{3.2\}}&\mc{d\{5.2\}}\\\hline +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 \\ +-13.02 & -13.02 & -13.02 & -13.02 & -13.02 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-1.ltx new file mode 100644 index 00000000000..f3c114fb5b4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-1.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-25-1 on page 101. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{rccol} +\newcommand\mc[2]{\multicolumn{1}{#1}{\ttfamily#2}} + +\begin{document} +\begin{tabular}{| R{1}{5} | R{1}{6} @{$\cdot10^1$\hspace{\tabcolsep}} | c | R{3}{2} |} +\mc{|c|}{R\{1\}\{5\}} & \mc{c|}{R\{1\}\{6\}} & c & \mc{c|}{R\{3\}\{2\}}\\\hline +2,71828 & 0,271828 & $\pi$ & 314.16\\ 0,21 & 0,21 & Q & 0.3\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-2.ltx new file mode 100644 index 00000000000..60b26494769 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-2.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-25-2 on page 102. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{rccol} \newcommand\mc[2]{\multicolumn{1}{#1}{\ttfamily#2}} + +\begin{document} +\begin{tabular}{| R-{1}{4} | R{1}{6} @{$\cdot10^1$\hspace{\tabcolsep}} + | c | R[.][,]{3}{2} |} +\mc{|c|}{R-\{1\}\{4\}} & \mc{c|}{R\{1\}\{6\}} & c & \mc{c|}{R[.][,]\{3\}\{2\}}\\\hline +-2,71828 & 0,271828 & $\pi$ & 314.16\\ -0,21 & 0,21 & Q & 0.3\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-3.ltx new file mode 100644 index 00000000000..346cd6baac4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-3.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\usepackage{booktabs} +\sisetup{table-format=1.3e2,table-number-alignment=center} + +\begin{document} +\begin{tabular}{SS[table-sign-exponent=false,table-sign-exponent]}\toprule +\emph{column} & \emph{column} \\\midrule +1.2e3 & 1.2e3\\ +1.234e56 & 1.234e56\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-4.ltx new file mode 100644 index 00000000000..4cff7922ec5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-4.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\usepackage{booktabs} +\sisetup{table-format=1.3,table-alignment=center} + +\begin{document} +\begin{tabular}{% + S + S[table-auto-round] + S[table-auto-round, + table-number-alignment=center-decimal-marker]}\toprule +\emph{column} & \emph{column} + & \emph{column} \\\midrule +1.2 & 1.2 & 1.2 \\ +1.234 & 1.2345 & 1.234\\ +\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-5.ltx new file mode 100644 index 00000000000..2030872625a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-5.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\sisetup{table-parse-only} +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{ S S[table-number-alignment=left] + S[table-number-alignment=right]}\toprule +\emph{centred} & \emph{left-aligned} + & \emph{right-aligned} \\\midrule +14.2 & 14.2 & 14.2 \\ +1.23456 & 1.23456 & 1.23456\\ +1.2e3 & 1.2e3 & 1.2e3\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-6.ltx new file mode 100644 index 00000000000..28b0a3fb979 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-6.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{ + S[group-separator={}, + output-decimal-marker={\,\pm\,}, + input-digits={0123456789.}, + input-decimal-markers={+}]}\toprule +\emph{numbers}\\\midrule + 2.3456 + 0.02 \\ +34.2345 + 0.001 \\ +56.7835 + 0.067 \\ +90.473 + 0.021 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-7.ltx new file mode 100644 index 00000000000..6b65bdfb8be --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-7.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} \usepackage{booktabs} + +\begin{document} +\begin{tabular}{ + S[table-format=1.2e-1,table-alignment=center] + s[table-unit-alignment=left]}\toprule +{\emph{value}} & \emph{unit}\\\midrule +2.16e-5 & \metre\squared\per\second \\ +2.83e-6 & \metre\squared\per\second \\ +7.39e3 & \pascal\cubic\metre\per\mole\\ +1.0e5 & \pascal \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-8.ltx new file mode 100644 index 00000000000..7011ad0614a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-8.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} \usepackage{booktabs} + +\begin{document} +\begin{tabular}{S[table-format=1.2e-1, + table-number-alignment=center]@{\kern5pt} + s[table-unit-alignment=left]}\toprule +{\emph{value}} & \emph{unit}\\\midrule +2.16e-5 & \metre\squared\per\second \\ +2.83e-6 & \metre\squared\per\second \\ +7.39e3 & \pascal\cubic\metre\per\mole\\ +1.0e5 & \pascal \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-25-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-25-9.ltx new file mode 100644 index 00000000000..64ab5a597bf --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-25-9.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\usepackage{booktabs} +\sisetup{table-alignment=center} + +\begin{document} +\begin{tabular}{c + S[table-format=1.3e1]<{{\,\si{\kilogram}}} + S[table-format=2.2]}\toprule +\emph{no} & \multicolumn{1}{c}{\emph{mass}} + & {mass/\SI{e3}{\kilogram}}\\\midrule +1 & 4.56e3 & 4.56 \\ +2 & 2.40e3 & 2.40 \\ +3 & 1.345e4 & 13.45 \\ +4 & 4.5e2 & 0.45 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-1.ltx new file mode 100644 index 00000000000..0a204718977 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-1.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-1 on page 104. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx,booktabs} + +\begin{document} +\sisetup{table-figures-integer=2,table-figures-decimal=4} +\begin{tabular}{S | % default column setting + S[table-number-alignment=center] | + S[table-number-alignment=right] | + S[table-number-alignment=left, output-decimal-marker={,}]}\toprule +\emph{default}&\emph{centred}&\emph{right-aligned}&\emph{left-aligned}\\\midrule + 2.3456 & 2.3456 & 2.3456 & 2.3456 \\ +34.25 & 34.25 & 34.25 & 34.25 \\ + 6.7835 & 6.7835 & 6.7835 & 6.7835 \\ +90.473 & 90.473 & 90.473 & 90.473 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-10.ltx new file mode 100644 index 00000000000..64ab5a597bf --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-10.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\usepackage{booktabs} +\sisetup{table-alignment=center} + +\begin{document} +\begin{tabular}{c + S[table-format=1.3e1]<{{\,\si{\kilogram}}} + S[table-format=2.2]}\toprule +\emph{no} & \multicolumn{1}{c}{\emph{mass}} + & {mass/\SI{e3}{\kilogram}}\\\midrule +1 & 4.56e3 & 4.56 \\ +2 & 2.40e3 & 2.40 \\ +3 & 1.345e4 & 13.45 \\ +4 & 4.5e2 & 0.45 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-2.ltx new file mode 100644 index 00000000000..bec8ff34bc0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-2.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-2 on page 104. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} \usepackage{booktabs} + +\begin{document} +\sisetup{table-number-alignment=center} +\begin{tabular}{S[table-format=2.2e2] + S[table-format=+2.2e2] + S[table-format=2.2e1.1] + S}\toprule +\emph{very large values} & \emph{very large values} & +\emph{very large values} & \emph{values}\\\midrule + 2.3e1 & 2.34e1 & +-2.34e1 & +2.31 \\ +-34.23e45 & -34.23e45 & -34.23e45 & 34.23 \\ +-56.78 & -56.78 & -56.78 & -56.78 \\ + 1.0e34 & 1.0e34 & +1.0e34 & +-1.0 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-3.ltx new file mode 100644 index 00000000000..d8543cedfe1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-3.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-3 on page 105. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\usepackage{booktabs} +\sisetup{table-format=1.3,table-alignment=center} + +\begin{document} +\begin{tabular}{% + S + S[table-auto-round] + S[table-auto-round, + table-number-alignment=center-decimal-marker]}\toprule +\emph{column} & \emph{column} + & \emph{column} \\\midrule +1.2 & 1.2 & 1.2 \\ +1.234 & 1.2345 & 1.234\\ +\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-4.ltx new file mode 100644 index 00000000000..001e7d64534 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-4.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-4 on page 105. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\sisetup{table-parse-only} +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{ S S[table-number-alignment=left] + S[table-number-alignment=right]}\toprule +\emph{centred} & \emph{left-aligned} + & \emph{right-aligned} \\\midrule +14.2 & 14.2 & 14.2 \\ +1.23456 & 1.23456 & 1.23456\\ +1.2e3 & 1.2e3 & 1.2e3\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-5.ltx new file mode 100644 index 00000000000..43bec7ec592 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-5.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-5 on page 106. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} +\usepackage{booktabs} + +\begin{document} +\begin{tabular}{ + S[group-separator={}, + output-decimal-marker={\,\pm\,}, + input-digits={0123456789.}, + input-decimal-markers={+}]}\toprule +\emph{numbers}\\\midrule + 2.3456 + 0.02 \\ +34.2345 + 0.001 \\ +56.7835 + 0.067 \\ +90.473 + 0.021 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx new file mode 100644 index 00000000000..04544f0d938 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-6 on page 106. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} \usepackage{booktabs} + +\begin{document} +\begin{tabular}{ + S[table-format=1.2e-1,table-alignment=center] + s[table-unit-alignment=left]}\toprule +{\emph{value}} & \emph{unit}\\\midrule +2.16e-5 & \metre\squared\per\second \\ +2.83e-6 & \metre\squared\per\second \\ +7.39e3 & \pascal\cubic\metre\per\mole\\ +1.0e5 & \pascal \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-7.ltx new file mode 100644 index 00000000000..61c4a12b632 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-7.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-7 on page 106. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} \usepackage{booktabs} + +\begin{document} +\begin{tabular}{S[table-format=1.2e-1, + table-number-alignment=center]@{\kern5pt} + s[table-unit-alignment=left]}\toprule +{\emph{value}} & \emph{unit}\\\midrule +2.16e-5 & \metre\squared\per\second \\ +2.83e-6 & \metre\squared\per\second \\ +7.39e3 & \pascal\cubic\metre\per\mole\\ +1.0e5 & \pascal \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-8.ltx new file mode 100644 index 00000000000..0cae30ff006 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-8.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-8 on page 107. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage[exponent-product=\cdot]{siunitx} +\usepackage{booktabs} +\sisetup{table-alignment=center} + +\begin{document} +\begin{tabular}{c + S[table-format=1.3e1]<{{\,\si{\kilogram}}} + S[table-format=2.2]}\toprule +\emph{no} & \multicolumn{1}{c}{\emph{mass}} + & {mass/\SI{e3}{\kilogram}}\\\midrule +1 & 4.56e3 & 4.56 \\ +2 & 2.40e3 & 2.40 \\ +3 & 1.345e4 & 13.45 \\ +4 & 4.5e2 & 0.45 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-9.ltx new file mode 100644 index 00000000000..7011ad0614a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-9.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\usepackage[utf8]{inputenc} + +\usepackage{siunitx} \usepackage{booktabs} + +\begin{document} +\begin{tabular}{S[table-format=1.2e-1, + table-number-alignment=center]@{\kern5pt} + s[table-unit-alignment=left]}\toprule +{\emph{value}} & \emph{unit}\\\midrule +2.16e-5 & \metre\squared\per\second \\ +2.83e-6 & \metre\squared\per\second \\ +7.39e3 & \pascal\cubic\metre\per\mole\\ +1.0e5 & \pascal \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-27-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-27-1.ltx new file mode 100644 index 00000000000..975e2b74640 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-27-1.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-27-1 on page 108. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{polytable} + +\begin{document} +\begin{pboxed} +\column{A}{l}\column{B}{l}\column{C}{l}\column{D}{l} +\={A} function + \>[B] \textbf{fact(n: integer)}: integer;\\ + \>[B] begin \>[C]\qquad \>[D]\qquad\\ + \={C} if $n>1$ then \\ + \={D} fact:= n * fact(n-1) \\ + \>[C] else \\ \>[D] fact:= 1; \\ \>[B] end; +\end{pboxed} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-27-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-27-2.ltx new file mode 100644 index 00000000000..5932b693a92 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-27-2.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{tabto} + +\begin{document} +A\tabto*{3cm}jump to 3\,cm.\\ +\makebox[3cm][r]{$\rightarrow$}\\ +A long text at the beginning +\tabto*{3cm}jump to 3\,cm.% +\tabto*{1cm}1\,cm\\ +\makebox[1cm][r]{$\rightarrow$}% +\makebox[2cm][r]{$\rightarrow$} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-27-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-27-3.ltx new file mode 100644 index 00000000000..bfdadab113c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-27-3.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{tabto} + +\begin{document} +\TabPositions{1cm,3cm} +A\tab\tab jump to 3\,cm.\\ +\makebox[3cm][r]{$\rightarrow$}\\ +A long text at the beginning% + \tab line break!\\ +0\tab 1\,cm\tab 3\,cm +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-27-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-27-4.ltx new file mode 100644 index 00000000000..71e2b4af5af --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-27-4.ltx @@ -0,0 +1,31 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\setlength\textwidth{200pt} + +\usepackage{tabto} + +\begin{document} +\NumTabs{4} +\tab1\tab2\tab3 \hfill end\par +\NumTabs{3} +\tab1\tab2\tab3 \hfill end +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-28-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-28-1.ltx new file mode 100644 index 00000000000..d7ed1d344bc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-28-1.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-28-1 on page 108. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{tabto} + +\begin{document} +A\tabto{3cm}jump to 3\,cm.\\ +\makebox[3cm][r]{$\rightarrow$}\\ +A long text at the beginning +\tabto{3cm}jump to 3\,cm.\\ +\makebox[3cm][r]{$\rightarrow$} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-28-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-28-2.ltx new file mode 100644 index 00000000000..b9bba42c605 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-28-2.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-28-2 on page 108. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{tabto} + +\begin{document} +A\tabto*{3cm}jump to 3\,cm.\\ +\makebox[3cm][r]{$\rightarrow$}\\ +A long text at the beginning +\tabto*{3cm}jump to 3\,cm.% +\tabto*{1cm}1\,cm\\ +\makebox[1cm][r]{$\rightarrow$}% +\makebox[2cm][r]{$\rightarrow$} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-28-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-28-3.ltx new file mode 100644 index 00000000000..dd8ad5ee8af --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-28-3.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-28-3 on page 109. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{tabto} + +\begin{document} +\TabPositions{1cm,3cm} +A\tab\tab jump to 3\,cm.\\ +\makebox[3cm][r]{$\rightarrow$}\\ +A long text at the beginning% + \tab line break!\\ +0\tab 1\,cm\tab 3\,cm +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-28-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-28-4.ltx new file mode 100644 index 00000000000..3a494548d12 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-28-4.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-28-4 on page 109. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\setlength\textwidth{200pt} + +\usepackage{tabto} + +\begin{document} +\NumTabs{4} +\tab1\tab2\tab3 \hfill end\par +\NumTabs{3} +\tab1\tab2\tab3 \hfill end +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-29-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-29-1.ltx new file mode 100644 index 00000000000..21d193b0567 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-29-1.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-29-1 on page 109. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\setlength\textwidth{170pt} + +\usepackage{Tabbing} + +\begin{document} +\begin{Tabbing} +The \TAB{=}example line \TAB{=}can + \TAB{=}be \TAB{=}``killed''\\ +\TAB{>}first caf\'e\\ +\TAB{>}\TAB{>}second caf\'e\\ +\TAB{>}\TAB{>}\TAB{>}m\^aitre\\ +\TAB{>}cr\`eme + \TAB{>}\TAB{>}\TAB{>}br\^ul\'ee +\end{Tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-1.ltx new file mode 100644 index 00000000000..1bd48505a0f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-1.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-1 on page 112. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\definecolor{gray70}{gray}{0.7} +\definecolor{gray90}{gray}{0.9} + +\begin{document} +\begin{tabular}{>{\columncolor{gray70}}c + >{\columncolor[rgb]{1,0,0}}c + >{\columncolor{gray90}}c} +one & two & three\\ A & B & C +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-10.ltx new file mode 100644 index 00000000000..577256389bc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-10.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-10 on page 115. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\newlength\Dicke\setlength\Dicke{2\arrayrulewidth} +\addtolength\Dicke{\doublerulesep} + +\begin{document} +\begin{tabular}{ + !{\color[gray]{0.2}\vline}!{\color[gray]{0.2}\vline}c + !{\color[gray]{0.2}\vrule width \Dicke}c + !{\color{red}\vline}!{\color{red}\vline}c + !{\color{cyan}\vrule width \Dicke}} + one & two & three\\ A & B & C \\ uno & due & tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-11.ltx new file mode 100644 index 00000000000..2234658c92d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-11.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-11 on page 116. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\setlength\arrayrulewidth{2pt} +\arrayrulecolor{red}\doublerulesepcolor{blue} + +\begin{document} +\begin{tabular}{||c|||c|||c||}\hline\hline + one & two & three\\\hline\arrayrulecolor[gray]{0.9} + A & B & C \\\hline\hline + uno & due & tre \\\hline\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-12.ltx new file mode 100644 index 00000000000..3ad26a791c7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-12.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-12 on page 116. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\setlength\arrayrulewidth{2pt} +\arrayrulecolor{red}\doublerulesepcolor[gray]{0.6} + +\begin{document} +\begin{tabular}{||c|||c|||c||}\hline\hline + one& two& three\\\cline{1-2}\arrayrulecolor[gray]{0.9} + A & B& C \\\cline{1-1}\cline{3-3}\arrayrulecolor{black} + uno& due& tre\\\cline{2-2} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-13.ltx new file mode 100644 index 00000000000..562869dad18 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-13.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{142.324pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\setlength\arrayrulewidth{2pt} +\arrayrulecolor{red}\doublerulesepcolor[gray]{0.6} + +\begin{document} +\begin{tabular}{||c|||c|||c||}\hline\hline + one & two & three\\\cline{1-2}\arrayrulecolor[gray]{0.9} + A & B & C \\\cline{1-1}\cline{3-3}\arrayrulecolor{black} + uno & due & tre \\\cline{2-2} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-2.ltx new file mode 100644 index 00000000000..4d01aeb0f4a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-2.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-2 on page 112. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\definecolor{gray70}{gray}{0.7} +\definecolor{gray90}{gray}{0.9} + +\begin{document} +\begin{tabular}{|>{\columncolor{gray70}[0pt]}c| + >{\columncolor[rgb]{1,0,0}[0pt]}c| + >{\columncolor{gray90}[0pt]}c|} +one & two & three\\ A & B & C +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-3.ltx new file mode 100644 index 00000000000..d4f259b18b1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-3.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-3 on page 112. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\definecolor{gray70}{gray}{0.7} +\definecolor{gray90}{gray}{0.9} + +\begin{document} +\begin{tabular}{@{}>{\columncolor{gray70}[0pt][\tabcolsep]}c + >{\columncolor[rgb]{1,0,0}}c + >{\columncolor{gray90}[\tabcolsep][0pt]}c@{}} +one & two & three\\ A & B & C +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-4.ltx new file mode 100644 index 00000000000..c2d90b8c5b8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-4.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-4 on page 113. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage[table]{xcolor} + +\begin{document} +\begin{tabular}{ccc} +\rowcolor[gray]{0.6}one & two & three\\ +\rowcolor[gray]{0.7}A & B & C \\ +\rowcolor[gray]{0.9}uno & due & tre +\end{tabular}\\[6pt] +% +\begin{tabular}{|>{\columncolor{gray!70}[0pt]}c| + >{\columncolor[rgb]{1,0,0}[0pt]}c| + >{\columncolor{gray!90}[0pt]}c|} +\rowcolor[gray]{0.6}three & two & three\\ +\rowcolor{cyan} A & B & C \\ + uno & due & tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-5.ltx new file mode 100644 index 00000000000..9d413c7befd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-5.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-5 on page 113. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} + +\begin{document} +\begin{tabular}{||@{} + >{\columncolor[gray]{.7}[0pt][\tabcolsep]}ccc@{}||} +\rowcolor[gray]{0.6}one & two& three\\ +\rowcolor{cyan} A & B & C\\ uno & due & tre +\end{tabular}\\[8pt] +\begin{tabular}{||@{} + >{\columncolor[gray]{.7}[0pt][\tabcolsep]}ccc@{}||} +\rowcolor[gray]{0.6}[0pt]one & two& three\\ +\rowcolor{cyan}[0pt] A & B & C\\ uno & due & tre +\end{tabular}\\[8pt] +\begin{tabular}{||@{} + >{\columncolor[gray]{.7}[0pt][\tabcolsep]}cc + >{\columncolor{white}[\tabcolsep][0pt]}c@{}||} +\rowcolor[gray]{0.6}one & two& three\\ +\rowcolor{cyan} A & B & C\\ uno & due & tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-6.ltx new file mode 100644 index 00000000000..a025cc75803 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-6.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-6 on page 114. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} + +\begin{document} +\begin{tabular}{ccc} +\rowcolor[gray]{0.6}one & two & three\\ +\rowcolor[gray]{0.7}A & \cellcolor{white}B & C \\ +\rowcolor[gray]{0.9}\cellcolor{red}uno & due + & \cellcolor{white}tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-7.ltx new file mode 100644 index 00000000000..ed36a8ac3b8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-7.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-7 on page 114. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\definecolor{gray70}{gray}{0.7} +\definecolor{gray90}{gray}{0.9} + +\begin{document} +\begin{tabular}{|>{\columncolor{gray70}[0pt]}c| + >{\columncolor[rgb]{1,0,0}[0pt]}c| + >{\columncolor{gray90}[0pt]}c|} +\rowcolor[gray]{0.6}one & two & \cellcolor{white}three\\ +\rowcolor{cyan} A & \cellcolor{white}B & C \\ +\cellcolor{white}uno & due & tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-8.ltx new file mode 100644 index 00000000000..84240d07948 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-8.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-8 on page 115. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{105.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} +\definecolor{gray70}{gray}{0.7} \definecolor{gray90}{gray}{0.9} + +\begin{document} +\begin{tabular}{@{}>{\columncolor{gray70}[0pt][\tabcolsep]}c + >{\columncolor[rgb]{1,0,0}}c + >{\columncolor{gray90}[\tabcolsep][0pt]}c@{}} + \cellcolor{white}one & two & three\\ +\rowcolor{cyan} A & \cellcolor{white}B & C \\ +\rowcolor[gray]{0.9}uno & due & \cellcolor{white}tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-01-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-01-9.ltx new file mode 100644 index 00000000000..8eaf24fe5a7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-01-9.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-01-9 on page 115. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} + +\usepackage{colortbl} + +\begin{document} +\begin{tabular}{!{\color[gray]{0.2}\vline}c + !{\color[gray]{0.4}\vline}c!{\color[gray]{0.6}\vline}c + !{\color[gray]{0.7}\vline} !{\color[gray]{0.9}\vline}} + one & two & three\\ A & B & C \\ + uno & due & tre +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-1.ltx new file mode 100644 index 00000000000..8f3585539df --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-1.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-1 on page 118. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage[table]{xcolor} + +\begin{document} +\[ \underline{A} = + \left(\begin{array}{c>{\columncolor{magenta}}cc} + A & B & C\\ +\rowcolor{cyan} A & \cellcolor{white} BBB & C\\ + A & B & C + \end{array}\right) \] +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-2.ltx new file mode 100644 index 00000000000..5e7f281ee17 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-2.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-2 on page 118. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage[table]{xcolor} + +\begin{document} +\rowcolors{1}{}{blue!30} +\begin{tabular}{|ccc|}\hline + \multicolumn{3}{|c|}{table 1}\\\hline + A & BBB & C\\\hline A & B & C\\\hline +\end{tabular} \par\bigskip +\rowcolors*[\hline]{1}{}{blue!30} +\begin{tabular}{|ccc|} + \multicolumn{3}{|c|}{table 2}\\ \hiderowcolors + A & BBB & C\\ A & B & C\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-3.ltx new file mode 100644 index 00000000000..7fd3d5b48a9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-3.ltx @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-3 on page 119. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\setlength\delimitershortfall{-3pt} + +\usepackage[table]{xcolor} \definecolor{umbra}{rgb}{0.8,0.8,0.5} +\newcommand*\zero{\multicolumn{1}{>{\columncolor{white}}c}{0}} +\newcommand*\colCell[2]{\multicolumn{1}{>{\columncolor{#1}}c}{#2}} + +\begin{document} +\[ \left[\, +\begin{array}{*{5}{>{\columncolor[gray]{0.95}}c}} + h_{k,1,0}(n) & h_{k,1,1}(n) & h_{k,1,2}(n) & \zero & \zero \\ + h_{k,2,0}(n) & h_{k,2,1}(n) & h_{k,2,2}(n) & \zero & \zero \\ + h_{k,3,0}(n) & h_{k,3,1}(n) & h_{k,3,2}(n) & \zero & \zero \\ + h_{k,4,0}(n) & \colCell{umbra}{h_{k,4,1}(n)} & h_{k,4,2}(n) & \zero & \zero \\ + \zero & h_{k,1,0}(n-1) & h_{k,1,1}(n-1) & h_{k,1,2}(n-1) & \zero \\ + \zero & h_{k,2,0}(n-1) & h_{k,2,1}(n-1) & h_{k,2,2}(n-1) & \zero \\ + \zero & h_{k,3,0}(n-1) & h_{k,3,1}(n-1) & h_{k,3,2}(n-1) & \zero \\ + \zero & \colCell{umbra}{h_{k,4,0}(n-1)} & h_{k,4,1}(n-1) & h_{k,4,2}(n-1) & \zero \\ + \zero & \zero & h_{k,1,0}(n-2) & h_{k,1,1}(n-2) & h_{k,1,2}(n-2)\\ + \rowcolor[gray]{0.75}\zero&\zero& h_{k,2,0}(n-2) & h_{k,2,1}(n-2) & h_{k,2,2}(n-2)\\ + \zero & \zero & h_{k,3,0}(n-2) & h_{k,3,1}(n-2) & h_{k,3,2}(n-2)\\ + \zero & \zero & h_{k,4,0}(n-2) & h_{k,4,1}(n-2) & h_{k,4,2}(n-2) +\end{array} \,\right]_{12\times 5} \] +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-4.ltx new file mode 100644 index 00000000000..5fe39b4e8ea --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-4.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-4 on page 120. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\setlength\delimitershortfall{-3pt} + +\usepackage[table]{xcolor} \definecolor{umbra}{rgb}{0.8,0.8,0.5} +\newcommand*\zero{\multicolumn{1}{>{\columncolor{white}}c}{0}} + +\begin{document} +\[ \left[\, \rowcolors{1}{umbra}{blue!10} +\begin{array}{*{5}{c}} + h_{k,1,0}(n) & h_{k,1,1}(n) & h_{k,1,2}(n) & \zero & \zero\\ + h_{k,2,0}(n) & h_{k,2,1}(n) & h_{k,2,2}(n) & \zero & \zero\\ + h_{k,3,0}(n) & h_{k,3,1}(n) & h_{k,3,2}(n) & \zero & \zero\\ + h_{k,4,0}(n) & h_{k,4,1}(n) & h_{k,4,2}(n) & \zero & \zero\\ + \zero & h_{k,1,0}(n-1) & h_{k,1,1}(n-1) & h_{k,1,2}(n-1) & \zero\\ + \zero & h_{k,2,0}(n-1) & h_{k,2,1}(n-1) & h_{k,2,2}(n-1) & \zero\\ + \zero & h_{k,3,0}(n-1) & h_{k,3,1}(n-1) & h_{k,3,2}(n-1) & \zero\\ + \zero & h_{k,4,0}(n-1) & h_{k,4,1}(n-1) & h_{k,4,2}(n-1) & \zero\\ + \zero & \zero & h_{k,1,0}(n-2) & h_{k,1,1}(n-2) & h_{k,1,2}(n-2)\\ + \zero & \zero & h_{k,2,0}(n-2) & h_{k,2,1}(n-2) & h_{k,2,2}(n-2)\\ + \zero & \zero & h_{k,3,0}(n-2) & h_{k,3,1}(n-2) & h_{k,3,2}(n-2)\\ + \zero & \zero & h_{k,4,0}(n-2) & h_{k,4,1}(n-2) & h_{k,4,2}(n-2) +\end{array} \,\right]_{12\times 5} \] +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-5.ltx new file mode 100644 index 00000000000..76af94cdf07 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-5.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-5 on page 120. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage[table]{xcolor} + +\begin{document} +\rowcolors[\hline]{3}{green!25}{yellow!50} +\arrayrulecolor{red!75!gray}\newcommand*\No{\number\rownum} +\begin{tabular}{ll} + column 1 & row \number\rownum\\ + column 1 & row \No\\ column 1 & row \No\\ + column 1 & row \No\\\arrayrulecolor{black} + column 1 & row \No\\ column 1 & row \No\\ + \rowcolor{blue!25} column 1 & row \No\\ +\hiderowcolors% prevent colouring + column 1 & row \No\\ column 1 & row \No\\ + column 1 & row \No\\ +\showrowcolors% colouring: activate! + column 1 & row \No\\ column 1 & row \No\\ +\multicolumn{1}{>{\columncolor{red!40}}l}{column 1} + & row \number\rownum\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-6.ltx new file mode 100644 index 00000000000..81d60636147 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-6.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-6 on page 121. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage[table]{xcolor} +\newcommand*\No{\number\rownum} + +\begin{document} +\rowcolors*[\hline]{3}{green!25}{yellow!50} +\arrayrulecolor{red!75!gray} +\begin{tabular}{ll} + column 1 & row \number\rownum\\ + column 1 & row \No\\ column 1 & row \No\\ + column 1 & row \No\\\arrayrulecolor{black} + column 1 & row \No\\ column 1 & row \No\\ + \rowcolor{blue!25} + column 1 & row \No\\ column 1 & row \No\\ + \hiderowcolors + column 1 & row \No\\ column 1 & row \No\\ + \showrowcolors + column 1 & row \No\\ column 1 & row \No\\ + \multicolumn{1}{>{\columncolor{red!40}}l}{column 1} + & row \No\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-02-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-02-7.ltx new file mode 100644 index 00000000000..4326d20a003 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-02-7.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-02-7 on page 121. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} + +\usepackage[table]{xcolor} +\usepackage{array} +\newcommand*\No{\makebox[1cm]{% + \textcolor{CL!!+}{\number\rownum}}} + +\begin{document} +\definecolorseries{CS}{rgb}{last}{yellow}{blue} +\definecolorseries{CL}{rgb}{last}{blue}{yellow} +\resetcolorseries[13]{CS} +\resetcolorseries[13]{CL} +\rowcolors[\hline]{1}{CS!!+}{CS!!+} +\begin{tabular}{c} +\No\\ \No\\ \No\\ \No\\ \No\\ +\No\\ \No\\ \No\\ \No\\ \No\\ +\No\\ \No\\ \No +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-03-1.ltx new file mode 100644 index 00000000000..06fc90a3a92 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-1.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-03-1 on page 122. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage[utf8]{inputenc} + +\usepackage[table]{xcolor} +\newcommand\Chline[1]{\arrayrulecolor{#1}\hline} + +\begin{document} +\begin{tabular}{@{}ll@{}}\\\hline +Egypt & 30.06.1995 \\\Chline{red} +Albania & 08.09.2000 \\\hline +Angola & 23.11.1996 \\\Chline{blue} +Argentina & 01.01.1995 \\\Chline{red!40} +Antilles & 21.01.1996 \\\hline\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-03-2.ltx new file mode 100644 index 00000000000..21bb1fd0a86 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-2.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-03-2 on page 122. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc}% evtl. anpassen! + +\usepackage[table]{xcolor} +\newcommand\Chline[1]{\arrayrulecolor{#1}% + \hline\arrayrulecolor{black}} +\newcommand\Ccline[2]{\arrayrulecolor{#1}% + \cline{#2}\arrayrulecolor{black}} + +\begin{document} +\begin{tabular}{l r r}\\\Chline{blue} +marching band & AN & 9.80\\\hline +presentation & AN & 8.66\\\Ccline{red}{1-2} +commity & AN & 13.31\\\Ccline{blue}{2-3} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-3.ltxb b/Master/texmf-dist/doc/latex/tabulars-e/03-03-3.ltxb new file mode 100644 index 00000000000..8ab2418b2f4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-3.ltxb @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-03-3 on page 123. +%% +%% Copyright (C) 2010 Vo\ss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +% Show page(s) 1 + +%% ==== +\documentclass[xcolor=table]{beamer} +\usetheme{Malmoe} \useoutertheme{sidebar} \usecolortheme{dove} +\newcommand\Chline[1]{\arrayrulecolor{#1}\hline\arrayrulecolor{black}} + + +\begin{document} +\begin{frame}{Example}{Coloured lines} +\begin{center}\Large +\begin{tabular}{l >{\columncolor{red!30}}r r}\\\Chline{blue} +\rowcolor{magenta!40} \emph{Name} & \emph{Type} & \emph{Value}\\\Chline{blue} +marching band & AN & 9.80\\\Chline{red} presentation & AN & 8.66\\\Chline{green} +commity & AN &13.31\\\Chline{blue} food & AN &11.01\\\hline +\end{tabular} +\end{center} +\end{frame} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-03-4.ltx new file mode 100644 index 00000000000..fb6d55af903 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-4.ltx @@ -0,0 +1,53 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-03-4 on page 123. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\AtBeginDocument{\definecolor{RAL1023}{cmyk}{0.0,0.1,0.9,0.0} \definecolor{RAL2009}{cmyk}{0.05,0.7,1.0,0.0} +\definecolor{RAL3020}{cmyk}{0.0,1.0,1.0,0.1} \definecolor{RAL4006}{cmyk}{0.5,1.0,0.0,0.1} +\definecolor{RAL5017}{cmyk}{1.0,0.2,0.05,0.4}\definecolor{RAL6024}{cmyk}{0.9,0.1,0.8,0.1} +\definecolor{RAL7042}{cmyk}{0.3,0.1,0.2,0.4} \definecolor{RAL7043}{cmyk}{0.3,0.1,0.2,0.8} +\definecolor{RAL9016}{cmyk}{0.03,0.0,0.0,0.0}\definecolor{RAL9017}{cmyk}{1.0,0.9,1.0,0.95} +\footnotesize} +\newcommand\TZeile[9]{% + \cellcolor{#1} & \cellcolor{cyan!#2}#2 & \cellcolor{magenta!#3}#3 + &\cellcolor{yellow!#4}#4 &\cellcolor{black!#5}\ifnum#5>60 \color{white}\fi#5 \mbox{#6} + &\cellcolor{red!#7}#7 &\cellcolor{green!#8}#8 &\cellcolor{blue!#9}#9 } + +\usepackage[table]{xcolor}\usepackage{ragged2e}% see preamble -> CTAN! + +\begin{document} +\begin{tabular}{>{\Centering}p{1.75cm}>{\columncolor{cyan}}c>{\columncolor{magenta}}c + >{\columncolor{yellow}}c>{\columncolor{black}}c >{\Centering}p{2.5cm} +>{\columncolor{red}}c>{\columncolor{green}}c>{\columncolor{blue}}c >{\Centering}p{1.75cm}} +CMYK & C & M & Y & \color{white}K & name & R & G & \color{white}B & RGB\\\hline +\TZeile{RAL1023}{0}{10}{90}{0}{traffic yellow}{100}{90}{10} & \cellcolor[rgb]{1,0.9,0.1}\\ +\TZeile{RAL2009}{5}{70}{100}{0}{traffic orange}{95}{30}{0} & \cellcolor[rgb]{0.95,0.3,0}\\ +\TZeile{RAL3020}{0}{100}{100}{10}{traffic red}{90}{0}{0} & \cellcolor[rgb]{0.9,0,0}\\ +\TZeile{RAL4006}{50}{100}{0}{10}{traffic purple}{40}{0}{90} & \cellcolor[rgb]{0.4,0,0.9}\\ +\TZeile{RAL5017}{100}{20}{5}{40}{traffic blue}{0}{40}{55} & \cellcolor[rgb]{0,0.4,0.55}\\ +\TZeile{RAL6024}{90}{10}{80}{10}{traffic green}{0}{80}{10} & \cellcolor[rgb]{0,0.8,0.1}\\ +\TZeile{RAL7042}{30}{10}{20}{40}{traffic grey A}{30}{50}{40} & \cellcolor[rgb]{0.3,0.5,0.4}\\ +\TZeile{RAL7043}{30}{10}{20}{80}{traffic grey B}{0}{10}{0} & \cellcolor[rgb]{0,0.1,0}\\ +\TZeile{RAL9016}{3}{0}{0}{0}{traffic white}{97}{100}{100} & \cellcolor[rgb]{0.97,1,1}\\ +\TZeile{RAL9017}{100}{90}{100}{95}{traffic black}{0}{0}{0} & \cellcolor[rgb]{0,0,0} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx new file mode 100644 index 00000000000..bf19e5e1274 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-03-5 on page 124. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{array,booktabs,ragged2e} +\usepackage[table]{xcolor} \definecolor{gold}{rgb}{.99,1,.9} +\definecolor{lgrey}{gray}{.95} \definecolor{lblue}{rgb}{.92,.97,1} +\newcolumntype{C}[1]{>{\columncolor{#1}[0pt][\tabcolsep]\Centering$}c<{$}} +\newcolumntype{M}[2]{>{\columncolor{#1}[2\tabcolsep][0pt]\Centering$}m{#2}<{$}} + +\begin{document} +\begin{tabular}{@{}C{yellow!40}*{10}{>{$}m{12pt}<{$}}M{lgrey}{14pt}M{lgrey}{12pt}@{}}\toprule +\rowcolor{blue!40}Tabelle&\mathsf{1}&\mathsf{2}&\mathsf{3}&\mathsf{4}&\mathsf{5}&\mathsf{6} + &\mathsf{7} &\mathsf{8}&\mathsf{9}&\mathsf{10}&Y_{t} &Z_{t}\\\midrule +0 &\circ&\circ&\circ&\circ&\circ &\circ &\circ&\ast &\circ &\circ&1&\mbox{---} \\ +1 &\circ&\circ&\circ&\circ&\circ &\circ &\circ&\dagger&\ast &\circ&1&1\\ +2 &\circ&\circ&\circ&\circ&\ast &\ast &\circ&\dagger&\dagger&\circ&2&2\\ +3 &\circ&\circ&\circ&\circ&\dagger&\ast &\circ&\dagger&\dagger&\circ&1&0\\ +4 &\circ&\circ&\circ&\circ&\dagger&\dagger&\circ&\dagger&\dagger&\circ&0&0\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-03-6.ltx new file mode 100644 index 00000000000..10f68379966 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-6.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 03-03-6 on page 124. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage[table]{xcolor} +\usepackage{booktabs} \arrayrulecolor{red} + +\begin{document} +\begin{tabular}{@{}llr@{}}\toprule +\multicolumn{2}{c}{Item}\\\cmidrule(r){1-2}\morecmidrules\cmidrule(r){1-2} +Animal & Description & Price (\$)\\\arrayrulecolor{blue}\cmidrule(r){1-1} + \cmidrule[2pt](l{1em}r{1em}){2-2}\cmidrule(l){3-3} +Gnat & per gram & 13.65 \\ & each & 0.01 \\\addlinespace[2ex] +Gnu & stuffed & 92.50 \\\midrule Emu & stuffed & 33.33 \\\specialrule{2pt}{1ex}{1ex} +Armadillo & frozen & 8.99 \\\arrayrulecolor{green}\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/04-01-1.ltx new file mode 100644 index 00000000000..f930aceac38 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-1.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-1 on page 126. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\setlength\textwidth{220pt} + +\usepackage{longtable} + +\begin{document} +left \hfill centred \hfill right + +\begin{longtable}{|l|c|r|p{1.7cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.7cm\}\\\hline +\end{longtable} +% right-aligned +\begin{longtable}[r]{|l|c|r|p{1.7cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.7cm\}\\\hline +\end{longtable} +% left-aligned +\begin{longtable}[l]{|l|c|r|p{1.7cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.7cm\}\\\hline +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-10.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-10.ltx2 new file mode 100644 index 00000000000..e59f71d8c3a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-10.ltx2 @@ -0,0 +1,55 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-10 on page 134. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +Text without sense before the now inserted \texttt{longtable}. + +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & C & R & box\\\hline +\endfirsthead +\multicolumn{4}{@{}l}{\small\ldots\emph{continued}}\\\hline +L & C & R & box\\\hline +\endhead +\hline +\multicolumn{4}{r@{}}{\small\emph{continued on the next page} \ldots}\\ +\caption{table caption}\\ +\endfoot +\hline +\\[-2ex] +\caption{table caption} +\endlastfoot +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c & r & 4th row\\ l & c & r & 5th row\\ l & c & r & 6th row\\ +l & c & r & 7th row\\ l & c & r & 8th row\\ l & c & r & 9th row\\ +l & c & r &10th row\\ l & c & r &11th row\\ l & c & r &12th row\\ +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-11.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-11.ltx2 new file mode 100644 index 00000000000..13dbb168cee --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-11.ltx2 @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-11 on page 135. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} \setlength\LTcapwidth{1in}% <-- change length + +\begin{document} +Text without sense before the now inserted \texttt{longtable}. +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & C & R & box\\\hline +\endfirsthead +\multicolumn{4}{@{}l}{\small\ldots\emph{continued}}\\\hline +L & C & R & box\\\hline +\endhead +\hline +\multicolumn{4}{r@{}}{\small\emph{continued on the next page} \ldots} +\endfoot +\endlastfoot% empty last footer, no line after caption +l & c & r &1st row\\l & c & r & 2nd row\\l & c & r & 3rd row\\l & c & r & 4th row\\ +l & c & r &5th row\\l & c & r & 6th row\\l & c & r & 7th row\\l & c & r & 8th row\\ +l & c & r &9th row\\l & c & r &10th row\\l & c & r &11th row\\l & c & r &12th row\\\hline +\caption{Table caption with 1\,inch width}\label{tab:l4} +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-12.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-12.ltx2 new file mode 100644 index 00000000000..4d5ae7710c8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-12.ltx2 @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-12 on page 136. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} +\usepackage[labelfont=bf]{caption} + +\begin{document} +\setlength\LTcapwidth{2.75cm}% <--- change length +\begin{longtable}{@{}l c r p{1.5cm}@{}} +\caption{Table caption with 2.75\,cm width.\label{tab:l4}}\\[5pt] +L & C & R & box\\\hline +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c & r & 4th row\\ l & c & r & 5th row\\ l & c & r & 6th row\\ +l & c & r & 7th row\\ l & c & r & 8th row\\ l & c & r & 9th row\\ +l & c & r &10th row\\ l & c & r &11th row\\ l & c & r &12th row\\\hline +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-13.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-13.ltx2 new file mode 100644 index 00000000000..9786b4b1c74 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-13.ltx2 @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-13 on page 137. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +A demo\footnote{line of text} for footnotes. +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L\footnote{caption} & C & R & box\\\hline +l & c\footnote{first row, second column} & r & 1st row +\\ l & c & r\footnote{second row, third column} & 2nd row\\ +l & c & r & 3rd row\\ l & c & r & 4th row\\ l & c & r & 5th row +\\ l & c & r & 6th row\\ l & c & r & 7th row\\ +l & c & r & 8th row\footnote{eighth row, last column}\\ l & c & r & 9th row\\ +l & c & r &10th row\\ l\footnote{eleventh row, first column} & c & r &11th row\\\hline +\end{longtable} +A demo\footnote{line of text} for footnotes. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-14.ltx1 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-14.ltx1 new file mode 100644 index 00000000000..4e35d36ec22 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-14.ltx1 @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-14 on page 138. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash LTchunksize demo}} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} \setcounter{LTchunksize}{7}\setlength\LTcapwidth{2.75cm} + +\begin{document} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +\caption{Table caption with 2.75\,cm width.\label{tab:l4}}\\[5pt] +L & C & R & box\\\hline l & c & r & 1st\\ ll & c & r & 2nd\\ l & c & r & 3rd\\ +l & c & r & 4th\\ lll & c & rr & 5th\\ l & cc & r & 6th\\ l & c & r & 7th\\ +llll & c & rrr & 8th row \\ l & ccc & r & 9th row \\ l & c & r &10th row\\ +llll & c & rrrr &11th row\\ l & cccc & r &12th row\\\hline +\end{longtable} +This example was only run once through \LaTeX. This is the reason why the +table isn't typeset correctly. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-15.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-15.ltx2 new file mode 100644 index 00000000000..1b42f63b20c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-15.ltx2 @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-15 on page 139. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash kill} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & XXXX & right & p \kill +L & C & R & box\\\hline +l & c & r & 1st\\ ll & c & r & 2nd\\ l & c & r & 3rd\\ +l & c & r & 4th\\ lll & c & rr & 5th\\ l & cc & r & 6th\\ +l & c & r & 7th\\ llll & c & rrr & 8th row\\ l & ccc & r & 9th row\\ +l & c & r &10th row\\ llll & c & rrrr &11th row\\ l & cccc & r &12th row\\\hline +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-2.ltx2 new file mode 100644 index 00000000000..ca48d7218be --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-2.ltx2 @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-2 on page 127. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:80mm,pagesize]{typearea} +\usepackage[english]{babel} +\setlength\parindent{0pt} +\usepackage{longtable}% for setting of LTpre +\setlength\LTpre{0pt} +\usepackage{fancyhdr} +\lhead{\small Page break demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,longtable} + +\begin{document} +\begin{longtable}{@{} l c r p{2.5cm} @{}} +l & c & r & 1st row\\\hline +l & c & r & 2nd row\\\hline +l & c & r & A row with a lot of text that results in a page break after just the + second table row because the text included in the third line is too + high to fit on the first page. Pagebreaks are only possible between + table lines and not inside a cell \ldots +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-3.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-3.ltx2 new file mode 100644 index 00000000000..d0f2b864bec --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-3.ltx2 @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-3 on page 127. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:80mm,pagesize]{typearea} +\usepackage[english]{babel} +\setlength\parindent{0pt} +\usepackage{longtable}% for setting of LTpre +\setlength\LTpre{0pt} +\usepackage{fancyhdr} +\lhead{\small Page break demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,longtable} + +\begin{document} +\begin{longtable}{@{}l c r p{2.5cm}@{}} +l & c & r & 1st row\\\hline l & c & r & 2nd row\\\hline +l & c & r & A row with a lot of text that results in a page break after just the + second table row because the text included in the third line is too + high to fit on the first page.\\% inserted + & & & Pagebreaks are only possible between table lines and not inside a cell \ldots +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-4.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-4.ltx2 new file mode 100644 index 00000000000..753de4a199b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-4.ltx2 @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-4 on page 128. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\usepackage[english]{babel} +\setlength\parindent{0pt} +\usepackage{longtable}% for setting of LTpre +\setlength\LTpre{0pt} +\usepackage{fancyhdr} +\lhead{\small Page break demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,longtable} +\newcommand\NewLine{\setlength\parfillskip{0pt}\tabularnewline} + +\begin{document} +\begin{longtable}{@{} l c r p{2.5cm} @{}} +l & c & r & 1st row\\\hline +l & c & r & 2nd row\\\hline +l & c & r & A row with a lot of text that results in a page break after just the + second table row because the text included in the third line is too + high to fit on the first page.\NewLine% inserted + & & & Pagebreaks are only possible between complete + table lines and not inside a cell \ldots +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-5.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-5.ltx2 new file mode 100644 index 00000000000..43f70194adc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-5.ltx2 @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-5 on page 129. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{newpage} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & C & R & box\\\hline +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c & r & 4th row\\ l & c & r & 5th row\\ l & c & r & 6th row\\ +\newpage +l & c & r & 7th row\\ l & c & r & 8th row\\ l & c & r & 9th row\\ +l & c & r &10th row\\ l & c & r &11th row\\ l & c & r &12th row +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/04-01-6.ltx new file mode 100644 index 00000000000..a05e4400b6a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-6.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-6 on page 130. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc}% adapt maybe +\setlength\parindent{0pt} +\setlength\textwidth{6cm} + +\usepackage{longtable,calc} + +\begin{document} +left \hfill centred \hfill right +\setlength\LTleft{0pt} +\begin{longtable}{|l|c|r|p{1.5cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.5cm\}\\\hline +\end{longtable} +\setlength\LTleft{\fill}\setlength\LTright{0pt} +\hfill right-aligned +\begin{longtable}{|l|c|r|p{1.5cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.5cm\}\\\hline +\end{longtable} +\setlength\LTleft{\fill}\setlength\LTright{\fill} +\centerline{centred} +\begin{longtable}{|l|c|r|p{1.5cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.5cm\}\\\hline +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-7.ltx b/Master/texmf-dist/doc/latex/tabulars-e/04-01-7.ltx new file mode 100644 index 00000000000..22ec8c142b1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-7.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-7 on page 131. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} + +\usepackage[utf8]{inputenc}% adapt maybe +\setlength\parindent{0pt} +\setlength\parskip{6pt plus 2pt minus 1pt} + +\usepackage{longtable} + +\begin{document} +A line of text before the table. +\begin{longtable}{|l|c|r|p{1.5cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.5cm\}\\\hline +\end{longtable} +A line of text after the table.\par +A line of text before the table. +\setlength\LTpre{0pt}% +\setlength\LTpost{0pt}% +\begin{longtable}{|l|c|r|p{1.5cm}|}\hline +left & centred & right & box\\\hline +l & c & r & p\{1.5cm\}\\\hline +\end{longtable} +A line of text after the table. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-8.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-8.ltx2 new file mode 100644 index 00000000000..f6df0ad50e3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-8.ltx2 @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-8 on page 132. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small Header and footer demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +L & C & R & box\\\hline +\endfirsthead +\multicolumn{4}{@{}l}{\small\ldots\emph{continued}}\\\hline L& C& R& box\\\hline +\endhead +\hline +\multicolumn{4}{r@{}}{\small\emph{continued on the next page} \ldots}\\ +\endfoot +\hline +\endlastfoot +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c & r & 4th row\\ l & c & r & 5th row\\ l & c & r & 6th row\\ +l & c & r & 7th row\\ l & c & r & 8th row\\ l & c & r & 9th row\\ +l & c & r &10th row\\ l & c & r &11th row\\ l & c & r &12th row\\ +l & c & r &13th row\\ l & c & r &14th row\\ l & c & r &15th row +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-01-9.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-01-9.ltx2 new file mode 100644 index 00000000000..72cfe9107e4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-01-9.ltx2 @@ -0,0 +1,51 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-01-9 on page 133. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{@{}l c r p{1.5cm}@{}} +\caption{table caption}\label{tab:l1}\\ +L & C & R & box\\\hline +\endfirsthead +\multicolumn{4}{@{}l}{\small\ldots\emph{continued}}\\\hline +L & C & R & box\\\hline +\endhead +\hline +\multicolumn{4}{r@{}}{\small\emph{continued on the next page} \ldots}\\ +\endfoot +\hline +\endlastfoot +l & c & r & 1st row\\ l & c & r & 2nd row\\ l & c & r & 3rd row\\ +l & c & r & 4th row\\ l & c & r & 5th row\\ l & c & r & 6th row\\ +l & c & r & 7th row\\ l & c & r & 8th row\\ l & c & r & 9th row\\ +l & c & r &10th row\\ l & c & r &11th row\\ l & c & r &12th row +\end{longtable} +As shown in Table~\ref{tab:l1}, \ldots +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-02-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-02-1.ltx2 new file mode 100644 index 00000000000..8c3948f14a3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-02-1.ltx2 @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-02-1 on page 140. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{65mm}{55mm} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\usepackage[english]{babel} +\lhead{\small\texttt{\textbackslash ltablex} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{ltablex} +\usepackage{ragged2e} + +\begin{document} +\begin{tabularx}{\linewidth}{@{}>{\ttfamily}l>{\RaggedRight}X@{}} +\caption{File extensions.}\\ +aux & (auxiliary) Auxiliary file, contains links etc. \\ +bbl & (bibliography) Auxiliary file, contains the entries for the bibliography.\\ +bib & (bibtex) Contains the literature database.\\ +blg & (bibliography log) Contains the output of a Bib\TeX\ run.\\ +cfg & (config) Configuration file.\\ +clo & (class options) Definitions for the document class and the corresponding + class options.\\ +cls & (class) Document class file.\\ +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-02-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-02-2.ltx2 new file mode 100644 index 00000000000..b2a16023de9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-02-2.ltx2 @@ -0,0 +1,56 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-02-2 on page 141. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{65mm}{55mm} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\usepackage[english]{babel} +\setlength\tabcolsep{3pt} +\lhead{\small\texttt{\textbackslash ltablex} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{ltablex,ragged2e} + +\begin{document} +\begin{tabularx}{\linewidth}{@{}>{\ttfamily}l>{\RaggedRight}X@{}} +\caption*{File extensions.}\\ +.ext & description\\\hline +\endfirsthead +\multicolumn{2}{@{}l}{\ldots\ \small continued}\\\hline +.ext & description\\\hline +\endhead +\hline +\multicolumn{2}{r@{}}{\small continued\ldots}\\ +\endfoot +\hline +\endlastfoot +aux & (auxiliary) Auxiliary file, contains links etc. \\ +bbl & (bibliography) Auxiliary file, contains the entries for the bibliography.\\ +bib & (bibtex) Contains the literature database.\\ +blg & (bibliography log) Contains the output of a Bib\TeX\ run.\\ +cfg & (config) Configuration file.\\ +clo & (class options) Definitions for the document class and the corresponding + class options.\\ +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-03-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/04-03-1.ltx new file mode 100644 index 00000000000..714377d019c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-03-1.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-03-1 on page 142. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} + +\begin{filecontents}{demoFile.tex} +bar +\end{filecontents} +\usepackage{verbatim} +% End Preamble + +\begin{document} +foo \input{demoFile.tex} baz + +\small\verbatiminput{demoFile.tex} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-03-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-03-2.ltx2 new file mode 100644 index 00000000000..ea42c80d957 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-03-2.ltx2 @@ -0,0 +1,53 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-03-2 on page 143. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\usepackage[english]{babel} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash LTXtable} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} +\AtBeginDocument{\setlength\LTcapwidth{4cm}} + +\usepackage{ltxtable,filecontents,ragged2e} +\begin{filecontents}{LTXtab0.tex} +\begin{longtable}{@{}>{\ttfamily}l>{\RaggedRight}X@{}} +\caption{File extensions and their meaning.}\\ +aux & (auxiliary) Auxiliary file, contains links etc. \\ +bbl & (bibliography) Auxiliary file, contains the entries for the bibliography.\\ +bib & (bibtex) Contains the literature database.\\ +blg & (bibliography log) Contains the output of a Bib\TeX\ run.\\ +cfg & (config) Configuration file.\\ +clo & (class options) Definitions for the document class and the corresponding + class options.\\ +cls & (class) Document class file.\\ +\end{longtable} +\end{filecontents} + +\begin{document} +\rule{1cm}{0.5pt}\hfill text width\hfill\rule{1cm}{0.5pt} + +\LTXtable{\linewidth}{LTXtab0} + +\rule{1cm}{0.5pt}\hfill text width\hfill\rule{1cm}{0.5pt} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-03-3.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-03-3.ltx2 new file mode 100644 index 00000000000..64904ce970e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-03-3.ltx2 @@ -0,0 +1,55 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-03-3 on page 144. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{55mm} +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash footnote} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{ltxtable,filecontents} +\begin{filecontents}{LTXtab1.tex} +\begin{longtable}{@{}>{\ttfamily}l>{\raggedright\arraybackslash}X@{}} +aux \footnotemark& (auxiliary) Auxiliary file, contains links, refs, etc. \\ +bbl \footnotemark& (bibliography) Auxiliary file, contains the + entries for the bibliography.\\ +cfg & (config) Configuration file.\\ +clo \footnotemark& (class options) Definition file for the document class + and the corresponding class options.\\ +cls \footnotemark& (class) Document class file, e.g. \texttt{book.cls}.\\ +\end{longtable} +\end{filecontents} + +\begin{document} +\rule{1cm}{0.5pt}\hfill text width\footnote{start}\hfill\rule{1cm}{0.5pt} + +\LTXtable{\linewidth}{LTXtab1} +\addtocounter{footnote}{-4} +\stepcounter{footnote}\footnotetext{auxiliary}% +\stepcounter{footnote}\footnotetext{bibliography} +\stepcounter{footnote}\footnotetext{class options}% +\stepcounter{footnote}\footnotetext{class} +\vfill +\rule{1cm}{0.5pt}\hfill text width\footnote{foo}\hfill\rule{1cm}{0.5pt} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-04-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/04-04-1.ltx new file mode 100644 index 00000000000..435a332712e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-04-1.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-04-1 on page 145. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{stabular} + +\begin{document} +\begin{stabular}{lc}\\\hline +1st & table row 1 \\\hline +\emptyrow\hline +3rd & table row 3 \\\hline +\emptyrow[10pt]\hline +5th & table row 5 \\\hline +\tabrow{text}\hline +7th & table row 7 \\\hline +\tabrow{text}[5pt]\hline +9th & table row 9 \\\hline +\end{stabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-04-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-04-2.ltx2 new file mode 100644 index 00000000000..6e6d9c0fabc --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-04-2.ltx2 @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-04-2 on page 146. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:88mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{stabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{stabular} + +\begin{document} +A normal \texttt{stabular} environment, containing a page break, which cannot be +centred. + +% the following \texttt{center} environment only demonstrates that it has no +% effect on \texttt{stabular}. +\begin{center} +\begin{stabular}{@{}p{0.55\linewidth} r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995\\ Albania & 08.09.2000 \\ +Angola & 23.11.1996\\ Antigua and Barbuda& 01.01.1995 \\ +Antilles & 21.01.1996\\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995\\ Armenia & 05.02.2003\\Australia & 01.01.1995\\ +Bahrain & 01.01.1995\\ Bangladesh & 01.01.1995\\Barbados& 01.01.1995\\ +Belgium & 01.01.1995\\ Belize & 01.01.1995 \\ +\end{stabular} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-04-3.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-04-3.ltx2 new file mode 100644 index 00000000000..30740a64291 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-04-3.ltx2 @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-04-3 on page 147. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:88mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{stabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{stabular} + +\begin{document} +A normal \texttt{stabular} environment, containing a page break, which cannot be +centred automatically. + +\begin{stabular}{@{}p{1.5em}@{} p{0.55\linewidth} r@{}} +& \emph{country} & \emph{entry}\\\cline{2-3} +& Egypt & 30.06.1995\\ & Albania & 08.09.2000 \\ +& Angola & 23.11.1996\\ & Antigua and Barbuda& 01.01.1995 \\ +& Antilles & 21.01.1996\\ & Arab Emirates & 10.04.1996 \\ +& Argentina & 01.01.1995\\ & Armenia & 05.02.2003\\& Australia & 01.01.1995\\ +& Bahrain & 01.01.1995\\ & Bangladesh & 01.01.1995\\& Barbados& 01.01.1995\\ +& Belgium & 01.01.1995\\ & Belize & 01.01.1995 \\ +\end{stabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-04-4.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-04-4.ltx2 new file mode 100644 index 00000000000..2045905ac16 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-04-4.ltx2 @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-04-4 on page 148. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:88mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\usepackage[english]{babel} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{stabular*} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{stabular} + +\begin{document} +A normal \texttt{stabular} environment, containing a page break, which will +extend across the whole width of the page. + +\begin{stabular*}{\linewidth}{@{}p{0.55\linewidth} @{\extracolsep{\fill}} r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995\\ Albania & 08.09.2000 \\ +Angola & 23.11.1996\\ Antigua and Barbuda& 01.01.1995 \\ +Antilles & 21.01.1996\\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995\\ Armenia & 05.02.2003\\Australia & 01.01.1995\\ +Bahrain & 01.01.1995\\ Bangladesh & 01.01.1995\\Barbados& 01.01.1995\\ +Belgium & 01.01.1995\\ Belize & 01.01.1995 \\ +\end{stabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-04-5.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-04-5.ltx2 new file mode 100644 index 00000000000..8843132d47b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-04-5.ltx2 @@ -0,0 +1,51 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-04-5 on page 149. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:88mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\usepackage[english]{babel} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{stabular*} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{stabular} + +\begin{document} +A normal \texttt{stabular} environment, containing a page break, which will +extend across the whole width of the page. + +\begin{stabular*}{\linewidth}{@{}p{0.55\linewidth} @{\extracolsep{\fill}} r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995\\ Albania & 08.09.2000\\ +Angola & 23.11.1996\\ Antigua and Barbuda& 01.01.1995\\ +Antilles & 21.01.1996\\ Arab Emirates & 10.04.1996\\ +Argentina & 01.01.1995\\ Armenia & 05.02.2003\\\hline +\multicolumn{2}{r@{}}{\small\emph{continued}\ldots}\\ +% page break +\multicolumn{2}{@{}l}{\ldots\small\emph{continued}}\\\hline +Australia & 01.01.1995\\ Bahrain & 01.01.1995\\ +Bangladesh & 01.01.1995\\ Barbados & 01.01.1995\\ +Belgium & 01.01.1995\\ Belize & 01.01.1995\\ +\end{stabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-1.ltx2 new file mode 100644 index 00000000000..db9b242c5dd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-1.ltx2 @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-1 on page 150. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage[pageshow]{supertabular} + +\begin{document} +\begin{center}\begin{supertabular}{@{}l r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{supertabular}\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-2.ltx2 new file mode 100644 index 00000000000..6afa096d5f0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-2.ltx2 @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-2 on page 151. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,supertabular} + +\begin{document} +\begin{supertabular*}{\linewidth}{@{}l!{\extracolsep{\fill}} r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{supertabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-3.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-3.ltx2 new file mode 100644 index 00000000000..90e1d82b7f9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-3.ltx2 @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-3 on page 152. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,supertabular} + +\begin{document} +\begin{supertabular*}{\linewidth}{@{}l!{\extracolsep{\fill}} r@{}} +\emph{country} & \emph{entry}\\\hline \shrinkheight{-3\normalbaselineskip} +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{supertabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-4.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-4.ltx2 new file mode 100644 index 00000000000..977d41a1a49 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-4.ltx2 @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-4 on page 153. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +\begin{center} \begin{supertabular}{@{}p{0.55\linewidth} r@{}} +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{supertabular} \end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-5.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-5.ltx2 new file mode 100644 index 00000000000..42047546c09 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-5.ltx2 @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-5 on page 154. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\usepackage[english]{babel} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} \usepackage[labelfont=bf]{caption} + +\begin{document} +\tablecaption{Demonstration of a table caption.} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} \tablelasttail{\hline} +\begin{center}\begin{supertabular}{@{}p{0.55\linewidth} r@{}} +Egypt & 30.06.1995\\ Albania & 08.09.2000\\Angola & 23.11.1996\\ +Antigua and Barbuda& 01.01.1995\\Antilles& 21.01.1996\\Arab Emirates & 10.04.1996\\ +Argentina & 01.01.1995\\ Armenia & 05.02.2003\\Australia & 01.01.1995\\ +Bahrain & 01.01.1995\\ Bangladesh & 01.01.1995\\Barbados & 01.01.1995\\ +Belgium & 01.01.1995\\ Belize & 01.01.1995\\Benin & 22.02.1996\\ +\end{supertabular}\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-6.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-6.ltx2 new file mode 100644 index 00000000000..e57beb18c22 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-6.ltx2 @@ -0,0 +1,53 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-6 on page 155. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +Text\footnote{before the text} and footnote. +\begin{center}\begin{supertabular}{@{}p{0.55\linewidth} r@{}} +Egypt\footnotemark & 30.06.1995 \\ Albania & 08.09.2000\\Angola & 23.11.1996\\ +Antigua and Barbuda & 01.01.1995 \\ Antilles\footnotemark & 21.01.1996 \\ +Arab Emirates & 10.04.1996 \\ Argentina & 01.01.1995\\Armenia & 05.02.2003\\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize\footnotemark & 01.01.1995 \\ +\end{supertabular}\addtocounter{footnote}{-3} +\stepcounter{footnote}\footnotetext{first footnote} +\stepcounter{footnote}\footnotetext{second footnote} +\stepcounter{footnote}\footnotetext{third footnote} +\end{center} +Text\footnote{after the text} and footnote. + +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-7.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-7.ltx2 new file mode 100644 index 00000000000..d0f607bd81c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-7.ltx2 @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-7 on page 156. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2,3 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{134.47008pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} \tablelasttail{\hline} +Text\footnote{before the text} and footnote.\par\bigskip +\begin{mpsupertabular}{@{}p{0.55\linewidth} r@{}} +Egypt\footnote{first foonote}& 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles\footnote{second footnote}& 21.01.1996 \\ Arabian Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize\footnote{third footnote} & 01.01.1995 \\ +\end{mpsupertabular}\par\bigskip +Text\footnote{after the text} and footnote. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-05-8.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-05-8.ltx2 new file mode 100644 index 00000000000..2e099cc05ac --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-05-8.ltx2 @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-05-8 on page 157. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\areaset{60mm}{58mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{supertabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +Text without footnote.\par\medskip +\begin{mpsupertabular*}{\linewidth}{@{}p{0.55\linewidth} @{\extracolsep{\fill}} r@{}} +Egypt\footnote{first footnote} & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda& 01.01.1995 \\ +Antilles\footnote{second footnote}& 21.01.1996 \\ Arabische Emirate & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize\footnote{third footnote} & 01.01.1995 \\ +\end{mpsupertabular*}\par\medskip +Text without footnote. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-1.ltx2 new file mode 100644 index 00000000000..e2ac685c862 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-1.ltx2 @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-1 on page 158. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtab} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{xtab} + +\begin{document} +\begin{center}\begin{xtabular}{@{}l r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995\\ Albania & 08.09.2000\\Angola & 23.11.1996\\ +Antigua and Barbuda & 01.01.1995\\Antilles& 21.01.1996\\Arab Emirates & 10.04.1996\\ +Argentina & 01.01.1995\\ Armenia & 05.02.2003\\Australia & 01.01.1995\\ +Bahrain & 01.01.1995\\ Bangladesh & 01.01.1995\\Barbados & 01.01.1995\\ +Belgium & 01.01.1995\\ Belize & 01.01.1995\\Benin & 22.02.1996\\ +\end{xtabular}\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-2.ltx2 new file mode 100644 index 00000000000..7a32c567497 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-2.ltx2 @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-2 on page 159. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,xtab} + +\begin{document} +\begin{xtabular*}{\linewidth}{@{}l!{\extracolsep{\fill}} r@{}} +\emph{country} & \emph{entry}\\\hline +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{xtabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-3.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-3.ltx2 new file mode 100644 index 00000000000..62594347e12 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-3.ltx2 @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-3 on page 160. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{array,xtab} + +\begin{document} +\begin{xtabular*}{\linewidth}{@{}l!{\extracolsep{\fill}} r@{}} +\emph{country} & \emph{entry}\\\hline +\shrinkheight{-3.1\normalbaselineskip} +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{xtabular*} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-4.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-4.ltx2 new file mode 100644 index 00000000000..dbb092158b5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-4.ltx2 @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-4 on page 161. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage[table]{xcolor} \usepackage{xtab} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +\begin{center} +\begin{xtabular}{@{}p{0.55\linewidth} r@{}} +Egypt & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +Benin & 22.02.1996 \\ +\end{xtabular} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-5.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-5.ltx2 new file mode 100644 index 00000000000..51393569b50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-5.ltx2 @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-5 on page 162. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\usepackage[english]{babel} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{xtab} \usepackage[labelfont=bf]{caption} + +\begin{document} +\tablecaption{Demonstration of a table caption.} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +\begin{xtabular}{@{}p{0.55\linewidth} r@{}} +Egypt & 30.06.1995\\ Albania & 08.09.2000\\Angola & 23.11.1996\\ +Antigua and Barbuda & 01.01.1995\\Antilles& 21.01.1996\\Arab Emirates & 10.04.1996\\ +Argentina & 01.01.1995\\ Armenia & 05.02.2003\\Australia & 01.01.1995\\ +Bahrain & 01.01.1995\\ Bangladesh & 01.01.1995\\Barbados & 01.01.1995\\ +Belgium & 01.01.1995\\ Belize & 01.01.1995\\Benin & 22.02.1996\\ +\end{xtabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-6.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-6.ltx2 new file mode 100644 index 00000000000..9bde9636370 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-6.ltx2 @@ -0,0 +1,54 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-6 on page 163. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{xtab} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +Text\footnote{before the table} and footnote.\par +\begin{xtabular}{@{}p{0.55\linewidth} r@{}} +Egypt\footnotemark & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles\footnotemark& 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize\footnotemark & 01.01.1995 \\ +\end{xtabular} +\addtocounter{footnote}{-3} +\stepcounter{footnote}\footnotetext{first footnote} +\stepcounter{footnote}\footnotetext{second footnote} +\stepcounter{footnote}\footnotetext{third footnote} +Text\footnote{after the table} and footnote. + +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-7.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-7.ltx2 new file mode 100644 index 00000000000..352389c3ac9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-7.ltx2 @@ -0,0 +1,51 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-7 on page 164. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{xtab} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +Text\footnote{before the table} and footnote. +\begin{center} +\begin{mpxtabular}{@{}p{0.55\linewidth} r@{}} +Egypt\footnote{first footnote} & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles\footnote{second footnote}& 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize\footnote{third footnote} & 01.01.1995 \\ +\end{mpxtabular} +\end{center} +Text\footnote{after the table} and footnote. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-8.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-8.ltx2 new file mode 100644 index 00000000000..c333b6d072a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-8.ltx2 @@ -0,0 +1,53 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-8 on page 165. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{xtab} + +\begin{document} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +Text without footnote. + +\medskip +\begin{mpxtabular*}{\linewidth}{@{}p{0.55\linewidth} @{\extracolsep{\fill}} r@{}} +Egypt\footnote{first footnote} & 30.06.1995 \\ Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles\footnote{second footnote}& 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize\footnote{third footnote} & 01.01.1995 \\ +\end{mpxtabular*} + +\medskip +Text without footnote. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/04-06-9.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/04-06-9.ltx2 new file mode 100644 index 00000000000..53694e2bce4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/04-06-9.ltx2 @@ -0,0 +1,52 @@ +%% +%% A DANTE-Edition example +%% +%% Example 04-06-9 on page 166. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:80mm,pagesize]{typearea} +\areaset{60mm}{53mm} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage{fancyhdr} +\lhead{\small \texttt{xtabular} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\usepackage[english]{babel} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{xtab} \usepackage[labelfont=bf]{caption} + +\begin{document} +\tablecaption{Demonstration of a table caption.} +\tablefirsthead{\hline \emph{country} & \emph{entry}\\\hline} +\tablehead{\emph{country} & \emph{entry}\\\hline} +\tabletail{\hline \multicolumn{2}{r@{}}{continued \ldots}\\} +\tablelasttail{\hline} +\begin{center} +\begin{xtabular}{@{}p{0.55\linewidth} r@{}} +Egypt & 30.06.1995 \\\shrinkheight{-7\normalbaselineskip} +Albania & 08.09.2000 \\ +Angola & 23.11.1996 \\ Antigua and Barbuda & 01.01.1995 \\ +Antilles & 21.01.1996 \\ Arab Emirates & 10.04.1996 \\ +Argentina & 01.01.1995 \\ Armenia & 05.02.2003 \\ +Australia & 01.01.1995 \\ Bahrain & 01.01.1995 \\ +Bangladesh & 01.01.1995 \\ Barbados & 01.01.1995 \\ +Belgium & 01.01.1995 \\ Belize & 01.01.1995 \\ +\end{xtabular} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-01-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-01-1.ltx new file mode 100644 index 00000000000..0e39ecd27f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-01-1.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-01-1 on page 168. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\AtBeginDocument{\setlength\parindent{0pt}} + +\usepackage[T3,T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage{array,dcolumn,tabularx,textcomp,ragged2e} +\usepackage[noenc]{tipa} +\newcolumntype{C}{>{\Centering}X} + +\begin{document} +\begin{tabularx}{0.85\linewidth}% + {|>{\tipaencoding}c|l|>{\RaggedRight}X|D{.}{.}{-1}|}\hline + \multicolumn{1}{|c|}{Sound} & \multicolumn{1}{c|}{Examples} + & \multicolumn{1}{C|}{Place and manner of articulation} + & \multicolumn{1}{C|}{Occurrence frequency (\%)} \\\hline +\relax\textepsilon & lait, jouet, merci & front, half-open & 5.3 \\\hline +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-01-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-01-2.ltx new file mode 100644 index 00000000000..c60c0ee2ea5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-01-2.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-01-2 on page 168. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\AtBeginDocument{\setlength\parindent{0pt}} + + + +\begin{document} +\begin{tabular}{|c|c|c|}\hline +foo & bar & baz\\ +foo \\ +foo & bar & baz\\\hline +\end{tabular}\par\medskip + +\begin{tabular}{|c|c|c|}\hline +foo & bar & baz\\ +foo & & \\ +foo & bar & baz\\\hline +\end{tabular}\par\medskip +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-01-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-01-3.ltx new file mode 100644 index 00000000000..74047288880 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-01-3.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-01-3 on page 168. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\AtBeginDocument{\setlength\parindent{0pt}} +\usepackage[utf8]{inputenc} + + + +\begin{document} +\begin{tabular}{@{}ll@{}}\\\hline +Egypt & 30.06.1995 \\[10pt]\hline +Albania & 08.09.2000 \\ + \hline\noalign{\vspace{10pt}} +Angola & 23.11.1996 \\ + \hline\noalign{\vspace{15pt}} +Argentina & 01.01.1995 \\ +Antilles & 21.01.1996 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-01-4.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-01-4.ltx new file mode 100644 index 00000000000..80dbff2d34f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-01-4.ltx @@ -0,0 +1,60 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-01-4 on page 169. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\parindent{0pt} +\usepackage{longtable} +\makeatletter +\newcommand*{\org@longtable}{} +\let\org@longtable\longtable +\def\longtable{% + \begingroup + \advance\c@LT@tables\@ne + \edef\x{LT@\romannumeral\c@LT@tables}% + \global\LongtableWidth\z@ + \@ifundefined{\x}{% longtable width not available + }{\def\LT@entry##1##2{% + \global\advance\LongtableWidth##2\relax}% + \@nameuse{\x}}% + \typeout{* \x: \the\LongtableWidth}%debug output + \endgroup + \ifdim\LongtableWidth>\z@ + \setlength{\LTcapwidth}{\LongtableWidth}% + \fi + \org@longtable} +\makeatother + +\usepackage{longtable} +\newlength\LongtableWidth% Siehe Beispielcode + +\begin{document} +\begin{longtable}{|ll|} +\caption{Caption for a \texttt{longtable}\dotfill}\\ +Hello & world and some more\\ +foo & bar +\end{longtable} +\begin{center} +\begin{minipage}{\LongtableWidth} +Here we have text with the same width as +the \texttt{longtable}. +\end{minipage} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-01-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-01-5.ltx new file mode 100644 index 00000000000..af9c37e1300 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-01-5.ltx @@ -0,0 +1,32 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-01-5 on page 169. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\AtBeginDocument{\setlength\parindent{0pt}} + +\begin{filecontents*}{table.tex} +\begin{tabular}{c c} +\multicolumn{2}{c}{A}\\ +a & b\\ a & b +\end{tabular} +\end{filecontents*} + +\begin{document} +\input{table} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-02-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-02-1.ltx new file mode 100644 index 00000000000..c49a13958c0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-02-1.ltx @@ -0,0 +1,57 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-02-1 on page 170. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{105.70511pt} +\AtBeginDocument{\setlength\parindent{0pt}} +\makeatletter +\newcommand*{\rtab}{% + \@stopfield + \ifnum \@curtab<\@hightab + \global\advance\@curtab \@ne + \else + \@badtab + \fi + \@tempdima\dimen\@curtab + \advance\@tempdima -\dimen\@curtabmar + \advance\@tempdima -\wd\@curline + \global\setbox\@curline\hbox{% + \unhbox\@curline + \hbox to \@tempdima{\unhbox\@curfield\hfil}% + }% + \@startfield + \ignorespaces +} +\makeatother + +% see preamble in example for \rtab + +\begin{document} +\begin{tabbing} +blablabla \= \kill \\ +blabla \dotfill \> blabla\\% no effect! +bla\hrulefill \> blabla % no effect! +\end{tabbing} +\begin{tabbing} +blablabla \=\kill\\blabla\dotfill\rtab blabla\\bla\hrulefill\rtab blabla +\end{tabbing} +\makeatletter\let\@rtab\rtab\makeatother +\begin{tabbing} +blablabla \=\kill\\blabla\dotfill\> blabla\\bla\hrulefill\>blabla +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-03-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-03-1.ltx new file mode 100644 index 00000000000..84a08263959 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-03-1.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-03-1 on page 170. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\usepackage[utf8]{inputenc} +\usepackage[dvips,textheight=5cm,textwidth=5cm,headsep=5pt]{geometry}% only for demo +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{twocolumn}-Demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{Seite \arabic{page}} + +\usepackage{supertabular} + +\begin{document} +\twocolumn[\centering% + \texttt{twocolumn} mode\bigskip] +\begin{supertabular}{l c r }\hline +L & Z & R \\\hline +l & c & r \\ l & c & r \\ l & c & r \\ +l & c & r \\ l & c & r \\ l & c & r \\ +l & c & r \\ l & c & r \\ l & c & r \\ +l & c & r \\ l & c & r \\ l & c & r \\ +\end{supertabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-03-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-03-2.ltx new file mode 100644 index 00000000000..8a62b200ec4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-03-2.ltx @@ -0,0 +1,43 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-03-2 on page 171. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[dvips,textheight=5cm,textwidth=5cm,headsep=5pt]{geometry}% only for demo +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{twocolumn}-demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{Seite \arabic{page}} + + + +\begin{document} +\twocolumn[\centering% + \texttt{twocolumn} mode\bigskip] +\begin{tabbing} +L \=Z \=R \kill +L \>Z \>R \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +\end{tabbing} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-03-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-03-3.ltx new file mode 100644 index 00000000000..ae20f8a579a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-03-3.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-03-3 on page 171. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} + +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[dvips,textheight=5cm,textwidth=5cm,headsep=5pt]{geometry}% only for demo +\setlength\parindent{0pt} +\usepackage{fancyhdr} +\lhead{\small\texttt{twocolumn}-Demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{Seite \arabic{page}} + +\usepackage{multicol} + +\begin{document} +\subsection*{\texttt{multicols} mode} +\begin{multicols}{2} +\begin{tabbing} +L \=Z \=R \kill +L \>Z \>R \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +l \>c \>r \\ l \>c \>r \\ l \>c \>r \\ +\end{tabbing} +\end{multicols}\par +Normal one-column text. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-04-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/05-04-1.ltx2 new file mode 100644 index 00000000000..1d6c8d632a4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-04-1.ltx2 @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-04-1 on page 172. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\usepackage[utf8]{inputenc}% adapt maybe +\areaset{50mm}{58mm} +\setlength\parindent{0pt} +\setlength\emergencystretch{1.5em} +\usepackage{fancyhdr} +\def\Lcs#1{\texttt{\textbackslash#1}} +\lhead{\small\texttt{need}-demo} +\pagestyle{fancy} +\usepackage[english]{babel} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} +\newcommand\demoText{In theory, the definition of the table environment could be +extended to integrate the \protect\texttt{\textbackslash need} command. These two +examples show the first two pages of a document, where the first page has +(without \protect\texttt{\textbackslash need}) or does not have (with +\protect\texttt{\textbackslash need}) a page break.} + +\begin{document} +\section{A table} +\demoText \begin{center} +\tablecaption{Caption.} +\tablehead{\hline column1 & column2 \\} +\begin{supertabular}{|cl|cl|}\hline + yyy & xxx \\\hline yyy & xxx \\\hline yyy & xxx \\\hline +\end{supertabular} \end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-04-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/05-04-2.ltx2 new file mode 100644 index 00000000000..d95ebc9bbeb --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-04-2.ltx2 @@ -0,0 +1,61 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-04-2 on page 173. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:90mm,pagesize]{typearea} +\usepackage[utf8]{inputenc}% adapt maybe +\areaset{50mm}{58mm} +\setlength\parindent{0pt} +\newcommand\demoText{In theory, the definition of the table environment could be +extended to integrate the \protect\texttt{\textbackslash need} command. These two +examples show the first two pages of a document, where the first page has +(without \protect\texttt{\textbackslash need}) or does not have (with +\protect\texttt{\textbackslash need}) a page break.} +\setlength\emergencystretch{1.5em} +\usepackage{fancyhdr} +\lhead{\small\texttt{need} demo} +\pagestyle{fancy} +\usepackage[english]{babel} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{supertabular} +\makeatletter +\newcommand\need[1]{\par \penalty-100 \begingroup % preserve \dimen@ + \dimen@\pagegoal \advance\dimen@-\pagetotal % space left + \ifdim #1>\dimen@ % not enough space left +% only do \vfil if some space left on page + \ifdim\dimen@>\z@ \vskip -\pagedepth plus 1fil \fi + \break + \fi \endgroup} +\makeatother + +\begin{document} +\section{A table} +\demoText% see other example +\need{6\normalbaselineskip} +\begin{center} +\tablecaption{Caption.} +\tablehead{\hline column1 & column2 \\} +\begin{supertabular}{|cl|cl|}\hline + yyy & xxx \\\hline yyy & xxx \\\hline yyy & xxx \\\hline +\end{supertabular} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-05-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-05-1.ltx new file mode 100644 index 00000000000..3fb50529eba --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-05-1.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-05-1 on page 174. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} + +\usepackage{dcolumn} +\makeatletter \newcolumntype{s}[1]{% + >{\DC@{.}{\sf\aftergroup\sf,}{#1}\sf}l<{\DC@end}} +\makeatother + +\begin{document} +\sffamily +\begin{tabular}{ l s{1.0} s{1.2} s{3.1} } +test & \multicolumn{1}{l}{test1.0} & + \multicolumn{1}{l}{test1.2} & + \multicolumn{1}{l}{test3.1} \\\hline +test & 1 & 1.22 & 333.1\\ test & 2 & 3.44 & 444.1 +\end{tabular}\par\medskip +$\mathsf{0123456789}$ +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-05-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/05-05-2.ltx new file mode 100644 index 00000000000..8c07cdc8f6c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-05-2.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-05-2 on page 174. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} + +\usepackage{dcolumn} +\makeatletter \newcolumntype{.}{D{.}{.}{-1}} \newcolumntype{a}{.<{+6240}} +\newcolumntype{b}{>{\DC@{.}{.}{-1}}c<{\DC@end+6240}} +\newcolumntype{B}{>{\DC@{.}{.}{-1}}c<{\DC@end+25530}} +\newcommand\interval[1]{\multicolumn{1}{c}{#1}} \makeatother + +\begin{document} +\begin{tabular}{@{}la..bB@{}} + \interval{S1}&\interval{S2}&\interval{S3}&\interval{S4}&\interval{S5}&\interval{S6}\\ + 99.0\,\% & 14.40& 438& 5256& 375.60&182.70\\99.9\,\% & 1.59& 44 & 526 & 37.60&18.30\\ + 99.99\,\%& 0.15& 4.4& 0.53& 3.76 & 1.83 +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-06-1.ltxE b/Master/texmf-dist/doc/latex/tabulars-e/05-06-1.ltxE new file mode 100644 index 00000000000..91d7f2d514f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-06-1.ltxE @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-06-1 on page 175. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[latin9]{inputenc}% adapt maybe +\usepackage[T1]{fontenc} + +\usepackage{exceltex} + +\begin{document} +Reading of a cell: +\inccell{test.xls!Zeugnisliste!C3} +\inccell{test.xls!Zeugnisliste!D3} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-06-2.ltxE b/Master/texmf-dist/doc/latex/tabulars-e/05-06-2.ltxE new file mode 100644 index 00000000000..fe54f6ebb96 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-06-2.ltxE @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-06-2 on page 176. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[latin9]{inputenc}% adapt maybe +\usepackage[T1]{fontenc} + +\usepackage{exceltex,booktabs} + +\begin{document} +Reading of a table:\par\setlength\tabcolsep{2pt} +\begin{tabular}{@{} *{16}{l} @{}}\toprule +given name & surname & DOB & \multicolumn{13}{c@{}}{subjects}\\ + & & &D &U &T &E &F &L &G &K &M &P &C &B &S\\\midrule +\inctab{test.xls!Zeugnisliste!C2!R5}\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/05-06-3.ltxE b/Master/texmf-dist/doc/latex/tabulars-e/05-06-3.ltxE new file mode 100644 index 00000000000..4dc0179cd75 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/05-06-3.ltxE @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% Example 05-06-3 on page 176. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[latin9]{inputenc}% adapt maybe +\usepackage[T1]{fontenc} + +\usepackage{exceltex,booktabs} \ttfamily + +\begin{document} +\begin{tabular}{@{} *{8}{r} @{}}\toprule +\multicolumn{8}{c}{Courses}\\\midrule + +\inctab{test.xls!Tabelle1!G2!N19}\bottomrule + +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-1.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-1.ltx new file mode 100644 index 00000000000..1dc3fb98176 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-1.ltx @@ -0,0 +1,51 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-1 on page 178. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[frenchb]{babel} + +\usepackage{array,ragged2e,booktabs,capt-of} +\newcolumntype{C}[1]{>{\Centering}b{#1}} + +\begin{document} +\begin{tabular}{@{}l C{2cm} C{2.7cm} C{1.8cm}@{}}\toprule +\bfseries Pratiques & \bfseries Nombre de dossiers + & \bfseries Cas où le gouvernement a eu gain de cause + & \bfseries Cessions ordonnées \\\midrule + & \itshape\bfseries 1890-1939 \\\midrule +\bfseries Concentrations & 57 & 46 & 20 \\ +\quad Marché national & 33 & 25 & 12 \\ +\quad Marché régional ou local & 24 & 21 & 9 \\ +\bfseries Pratiques antitrust & \bfseries97 & \bfseries79 & \bfseries8 \\ +\quad Marché national & 54 & 43 & 5 \\ +\quad Marché régional ou local & 43 & 36 & 3 \\ +\emph{Total} &154 &125 &\textbf{28} \\\midrule + & \itshape\bfseries 1940-1999 \\\midrule +\bfseries Concentrations & 28 & 25 & 9 \\ +\quad Marché national & 14 & 12 & 4 \\ +\quad Marché régional ou local & 14 & 13 & 5 \\ +\bfseries Pratiques antitrust & \bfseries91 & \bfseries75 & \bfseries7 \\ +\quad Marché national & 52 & 42 & 2 \\ +\quad Marché régional ou local & 39 & 33 & 5 \\ +\emph{Total} &119 &100 &\textbf{16} \\\bottomrule +\multicolumn{4}{@{}l}{\scriptsize\emph{Source}: adapté de Posner (2001,p. 106).} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-10.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-10.ltx new file mode 100644 index 00000000000..51e0fc0459b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-10.ltx @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-10 on page 183. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage{eurosym} +\usepackage[ngerman]{babel} + +\usepackage{dcolumn,booktabs,tabularx}\let\addLS\addlinespace + +\begin{document} +\begin{tabularx}{0.85\linewidth}{@{} X l c D{.}{,}{2.2} @{}}\toprule +\small Schmelzeinsätze & \small Schalter & \small kg & \multicolumn{1}{c@{}}{\euro}\\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(l){4-4}\addLS +Pilzdruckknopf mit Rastung und Drehentriegelung & rot& 54 & 13.$---$\\\addLS +Pilzdruckknopf mit Rastung und Schloss & rot & 32 & 21.60\\\addLS +Schlüsselantrieb mit abziehbarem Schlüssel & schwarz & 43 & 15.10\\\addLS +Knebel mit 3~Schaltstellungen & schwarz & 23 & 5.40\\\addLS\bottomrule +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-11.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-11.ltx new file mode 100644 index 00000000000..f67e151cd9e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-11.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-11 on page 183. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage{eurosym} +\usepackage[ngerman]{babel} + +\usepackage{dcolumn,booktabs,ragged2e} \newcolumntype{d}[1]{D{.}{,}{#1}} +\newcolumntype{P}[1]{>{\RaggedRight\hspace{0pt}}p{#1}} + +\begin{document} +\begin{tabular}{@{} P{12.5em} l c d{2.2} @{}}\toprule +\small Schmelzeinsätze & \small Schalter & \small kg & \multicolumn{1}{c}{\euro}\\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(l){4-4} +Pilzdruckknopf mit Rastung und Drehentriegelung & rot & 54 & 13.$---$ \\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(l){4-4} +Pilzdruckknopf mit Rastung und Schloss & rot & 32 & 21.60 \\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(l){4-4} +Schlüsselantrieb mit abziehbarem Schlüssel & schwarz & 43 & 15.10 \\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(l){4-4} +Knebel mit 3~Schaltstellungen & schwarz & 23 & 5.40\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-12.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-12.ltx new file mode 100644 index 00000000000..8daa5dba091 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-12.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-12 on page 184. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{array,booktabs} \newcolumntype{C}{>{\small}c} + +\begin{document} +\begin{tabular}{@{}l *{4}{c} @{}}\toprule +\small month & \multicolumn{2}{C}{women} & \multicolumn{2}{C@{}}{men}\\ + \cmidrule(lr){2-3}\cmidrule(l){4-5} + & \small 1967 & \small 1968 & \small 1967 & \small 1968\\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(l){5-5} +september& 2000 & 1700 & 2300 & 1900\\ october & 1500 & 1800 & 1900 & 3000\\ +november & 2500 & 2800 & 4700 & 3200\\ december & 2300 & 2000 & 3600 & 2700\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-13.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-13.ltx new file mode 100644 index 00000000000..583a40c4880 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-13.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-13 on page 184. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\hyphenation{Er-dungs-wi-der-stand} + +\usepackage{array,booktabs,multirow,ragged2e,eurosym} +\renewcommand\multirowsetup{\RaggedRight\footnotesize} +\newcolumntype{N}{>{\footnotesize}l} \newcolumntype{C}{>{\footnotesize}c} +\newcommand\mc[3]{\multicolumn{#1}{#2}{#3}} + +\begin{document} +\begin{tabular}{@{} *{5}{l} @{}}\toprule + & & \mc{2}{N}{Ohne Sicherungen} & \multirow{3}{7em}{% + Höchstzulässiger Erdungswider\-stand bei Berüh\-rungsspannung}\\\cmidrule(lr){3-4} +\mc{1}{C}{Reihe} & \mc{1}{C}{Spannung} & \mc{1}{C}{Type} & \mc{1}{C}{Preis} \\ + & \mc{1}{C}{V} & & \mc{1}{C}{\euro} \\\cmidrule(r){1-1}\cmidrule(lr){2-2} + \cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(l){5-5} \ldots \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-14.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-14.ltx new file mode 100644 index 00000000000..96f2bdda94e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-14.ltx @@ -0,0 +1,39 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-14 on page 185. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{array,booktabs,ragged2e,rotating,eurosym} +\newcolumntype{N}{>{\small}l} \newcommand\mc[1]{\multicolumn{1}{R{4.5em}}{#1}} +\newcolumntype{R}[1]{>{\begin{turn}{90}\begin{minipage}{#1} + \footnotesize\RaggedRight\hspace{0pt}} l <{\end{minipage}\end{turn}}} + +\begin{document} +\begin{tabular}{@{} *{8}{l} @{}}\toprule +\small Typ&\multicolumn{6}{N}{Anlagen mit Freileitungen}&\small Preis\\\cmidrule(lr){2-7} + & \mc{Betriebsspannung~kV} & \mc{Löschspannung~kV} & \mc{Wechselspannung~kV} + & \mc{Ansprechspannung~kV} & \mc{Restspannung kV} & \mc{Nettogewicht~ kg} + & \multicolumn{1}{c}{\small\euro}\\\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3} +\cmidrule(lr){4-4}\cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(lr){7-7}\cmidrule(l){8-8} +\ldots \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-15.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-15.ltx new file mode 100644 index 00000000000..a211ef00339 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-15.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-15 on page 185. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\usepackage{eurosym} + +\usepackage{array,booktabs,dcolumn,ragged2e,rotating}\newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight\hspace{0pt}}p{#1}} +\newcolumntype{d}[1]{D{.}{,}{#1}} \newcommand\mc[2]{\multicolumn{1}{#1}{#2}} +\newcolumntype{R}[1]{>{\begin{turn}{90}\begin{minipage}{#1} + \footnotesize\RaggedRight\hspace{0pt}} l <{\end{minipage}\end{turn}}} + +\begin{document} +\begin{tabular}{@{} l d{1.1} *{3}{d{1.2}} d{1.1} d{3.2} @{}}\toprule +&\multicolumn{5}{N}{Spannungsschutz für Netze}\\ +&\multicolumn{5}{N}{Leiterspannung an der Einbaustelle}\\\cmidrule(lr){2-6} +&\multicolumn{2}{P{5em}}{Nicht geerdeter Sternpunkt} +&\multicolumn{2}{P{5em}}{Starr geerdeter Sternpunkt}\\\cmidrule(lr){2-3}\cmidrule(lr){4-5} +\mc{@{}N}{Typen-} & \mc{R{4.5em}}{Normale Leiterspannung} + & \mc{R{4.5em}}{Zulässiger Bereich} & \mc{R{4.5em}}{Normale Leiterspannung} + & \mc{R{4.5em}}{Zulässiger Bereich} & \mc{R{4.5em}}{Nennspannung} &\mc{N}{Preis}\\[-2pt] +\mc{@{}N}{bezeichnung} & \mc{N}{kV} & \mc{N}{kV} & \mc{N}{kV} & \mc{N}{kV} + & \mc{N}{kV} & \mc{N}{\euro}\\\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3} + \cmidrule(lr){4-4}\cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(l){7-7} +H 484--1 & 1 & 1.15 & 1.25 & 1.45 & 1 & 220.$---$ \\ \ldots\\ +H 484--3 & 3.5 & 3.5 & 3.8 & 4.3 & 3 & 264.$---$ \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-16.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-16.ltx new file mode 100644 index 00000000000..3dd9c7dfc50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-16.ltx @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-16 on page 186. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{array,booktabs,dcolumn,ragged2e} \newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight\hspace{0pt}}p{#1}} +\newcolumntype{d}[1]{D{.}{,}{#1}} \newcommand\mc[2]{\multicolumn{1}{#1}{#2}} + +\begin{document} +\begin{tabular}{@{}l *{6}{d{3.0}} @{}}\toprule +\mc{@{}N}{Zeit} & \multicolumn{2}{N}{Material von Drischel} + & \multicolumn{2}{N}{Material von Bauer} & \multicolumn{2}{N@{}}{Eigenes Material}\\ + \cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(l){6-7} + & \mc{P{3.5em}}{Häufigster Wert} & \mc{P{3.5em}}{Extremwert} + & \mc{P{3.5em}}{Häufigster Wert} & \mc{P{3.5em}}{Extremwert} + & \mc{P{3.5em}}{Häufigster Wert} & \mc{P{3.5em}@{}}{Extremwert}\\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}% + \cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(l){7-7}\addlinespace +Latenzzeit & 220 & 330 & 245 & 325 & 235 & 320 \\ + & & 150 & & 155 & & 160 \\\addlinespace +Halbwertszeit & 210 & 380 & 145 & 535 & 180 & 320 \\ +des Abstiegs & & 90 & & 95 & & 70 \\\addlinespace +Gipfelzeit & 485 & 700 & 375 & 535 & 420 & 600 \\ + & & 260 & & 315 & & 290 \\\addlinespace +Halbwertszeit & 855 & 870 & 665 & 945 & 775 & 820 \\ +des Abstiegs & & 590 & & 575 & & 490 \\\addlinespace\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-17.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-17.ltx new file mode 100644 index 00000000000..328b6d9a987 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-17.ltx @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-17 on page 187. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{booktabs,dcolumn,ragged2e,eurosym} \newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight}p{#1}} +\newcolumntype{d}[1]{D{.}{,}{#1}} \newcommand\mc[2]{\multicolumn{1}{#1}{#2}} + +\begin{document} +\begin{tabular}{@{}l *{2}{d{3.0}d{2.2}} @{}}\toprule +\mc{@{}N}{Gegenstand} & \multicolumn{2}{N}{Vierleitersystem} + & \multicolumn{2}{N@{}}{Fünf"|leitersystem}\\\cmidrule(lr){2-3}\cmidrule(l){4-5} + & \mc{N}{Bestell-} & \mc{N}{Preis} & \mc{N}{Bestell} & \mc{N@{}}{Preis} \\[-2pt] + & \mc{N}{Nr.} & \mc{P{2em}}{\euro} & \mc{N}{Nr.} & \mc{P{2.5em}@{}}{\euro}\\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(l){5-5} +Schienenkasten & 103 & 70.$---$ & 107 & 83.$---$ \\ +Schiene für Hauptleiter & 104 & 9.50 & 108 & 9.50 \\ +Verbindungsklemme & 105 & 1.25 & 109 & 1.25 \\ +Schienenkastenöffnung & 106 & 1.55 & 110 & 1.55 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-18.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-18.ltx new file mode 100644 index 00000000000..3783792c7e0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-18.ltx @@ -0,0 +1,44 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-18 on page 187. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{booktabs,dcolumn,ragged2e} \newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight\hspace{0pt}}p{#1}} +\newcolumntype{d}[1]{D{.}{,}{#1}} \newcommand\mc[2]{\multicolumn{1}{#1}{#2}} + +\begin{document} +\begin{tabular}{@{}lld{2.0}@{$\!$--}d{2.0}d{3.0}ld{1.0}@{$\!$--}d{2.0}d{3.0}l@{}}\toprule + & \multicolumn{8}{N}{Zum Umsetzen} & \\\cmidrule(lr){2-9} + & \multicolumn{4}{N}{von Frequenzen im} & \multicolumn{4}{N}{auf Frequenzen im} \\ + \cmidrule(lr){2-5}\cmidrule(lr){6-9} +\mc{@{}N}{Type} & \mc{P{3em}}{Fernsehbereich} & \multicolumn{2}{N}{Kanal} & \mc{N}{MHz} + & \mc{P{3em}}{Fernsehbereich} & \multicolumn{2}{N}{Kanal} & \mc{N}{MHz} + & \mc{P{2em}@{}}{Bauform}\\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-4}\cmidrule(lr){5-5} + \cmidrule(lr){6-6}\cmidrule(lr){7-8}\cmidrule(lr){9-9}\cmidrule(l){10-10} +SAFE 381 WK & F I & 2 & 4 & 174 & F III & 5 & 12 & 174 & DO \\ +SAFE 382 WK & F II & 5 & 12 & 68 & F I & 2 & 4 & 47 & DO \\ +SAFE 383 WK & F III & 21 & 38 & 174 & F III & 5 & 12 & 174 & ES \\ +SAFE 384 WK & F IV & 42 & 48 & 47 & F III & 5 & 12 & 174 & ET \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-19.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-19.ltx new file mode 100644 index 00000000000..c844edf5268 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-19.ltx @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-19 on page 188. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{dcolumn,booktabs,ragged2e,rotating,eurosym} +\newcolumntype{C}{>{\footnotesize}c} +\newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight\hspace{0pt}}p{#1}} +\newcolumntype{d}[1]{D{.}{,}{#1}} +\newcommand\mc[2]{\multicolumn{1}{#1}{#2}} +\newcommand\Rotate[1]{\begin{turn}{90}\rlap{#1}\end{turn}} + +\begin{document} +\begin{tabular}{@{}d{1.0}*{3}{d{3.0}}d{2.0}d{3.0}d{2.2}@{}}\toprule + & \multicolumn{4}{N}{Leistungsaufnahme} & & \\\cmidrule(lr){2-5} + & \multicolumn{2}{P{7em}}{kurzzeitig beim Ein"~~und Umschalten} + & \multicolumn{2}{P{7em}}{nach dem Umschalten in die Dreieckstufe} + & \mc{C}{\raisebox{-4em}{\Rotate{Spannung}}} + & \mc{C@{}}{\raisebox{-4em}{\Rotate{Mehrpreis für}} + \raisebox{-4em}{\Rotate{abweichende}} \raisebox{-4em}{\Rotate{Spannung}}}\\ + \cmidrule(lr){2-3}\cmidrule(lr){4-5} +\mc{@{}C}{\Rotate{Schaltergröße}}&\mc{C}{VA}&\mc{C}{W}&\mc{C}{VA}&\mc{C}{W}&\mc{C}{VA} + & \mc{C}{\euro}\\\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3} + \cmidrule(lr){4-4}\cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(l){7-7} +1& 120& 100& 16& 6& 24& 12.$---$\\ 2& 150& 100& 36& 12& 110& 15.$---$\\ +4& 342& 210& 60& 18& 220& 19.$---$\\ 6& 733& 320& 100& 36& 220& 29.$---$\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-2.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-2.ltx new file mode 100644 index 00000000000..b28cc840a0c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-2.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-2 on page 179. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{300pt} + +\usepackage{tabularx,booktabs,ragged2e} +\newcommand\raggedcolumn{\RaggedRight\hspace{0pt}} +\newcommand\centercolumn{\Centering\hspace{0pt}} + +\begin{document} +\renewcommand*{\tabularxcolumn}[1]{b{#1}}% +\begin{tabularx}{\textwidth}{@{}*{3}{>{\raggedcolumn}X}*{3} +{>{\raggedcolumn}X}@{}}\toprule +header line 1 & header line 2 & header line 3 & +header line 4 & header line 5 & header line 6, +which is a bit longer as usual \\\midrule +foo & bar & baz & gg & gg & gg\\\midrule +foo & bar & baz & gg & gg & dd\\\bottomrule +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-20.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-20.ltx new file mode 100644 index 00000000000..94edc8be602 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-20.ltx @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-20 on page 189. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{dcolumn,booktabs,multirow,ragged2e} +\renewcommand\multirowsetup{\RaggedRight\footnotesize} +\newcolumntype{m}{>{$}l<{$}} +\newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{d}[1]{D{.}{,}{#1}} +\newcommand\mc[2]{\multicolumn{1}{#1}{#2}} + +\begin{document} +\begin{tabular}{@{} *{3}{d{3.0}} d{2.0} *{3}{m} l@{}}\toprule +\multicolumn{3}{@{}N}{Listen-Nummer} & \mc{N}{Nennstrom} & \mc{N}{Polzahl} + & \multicolumn{2}{N}{Anschluss bis mm$^2$} & \multirow{3}{3.5em}{Pg für Abgang oben}\\ + \cmidrule(r){1-3}\cmidrule(lr){6-7} +\mc{@{}N}{mit Bügel-} & \mc{N}{mit Mantel-} & \mc{N}{mit Block-} + & & & \mc{N}{unten} & \mc{N}{oben} \\[-3pt] +\mc{@{}N}{klemme} & \mc{N}{klemme} & \mc{N}{klemme} & A & & & \\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}% + \cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(lr){7-7}\cmidrule(l){8-8}\addlinespace +406 & 416 & 426 & 25 & 3+\mathrm{Mp}& 4\times16& 4\times16& Pg 21\\ +407 & 417 & 427 & & & & & Pg 29\\\addlinespace +408 & 418 & 428 & 60 & 3+\mathrm{Mp}& 4\times35& 4\times16& Pg 29\\ +409 & 419 & 429 & & & & & Pg 36\\ \addlinespace +456 & 466 & 476 & 90 & 3+\mathrm{Mp}& 4\times70& 4\times70& Pg 36\\ +457 & 467 & 477 & & & & & Pg 42\\\addlinespace + \bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-21.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-21.ltx new file mode 100644 index 00000000000..642b8868b20 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-21.ltx @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-21 on page 190. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{dcolumn,booktabs,ragged2e,rotating} +\newcommand\Rotate[1]{\raisebox{-3ex}{\begin{turn}{90}\rlap{#1}\end{turn}}} +\newcolumntype{C}{>{\footnotesize}c} +\newcolumntype{N}{>{\footnotesize}l} +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight\hspace{0pt}}p{#1}} +\newcommand\mc[2]{\multicolumn{1}{#1}{#2}} + +\begin{document} +\begin{tabular}{@{}l *{5}{r} c@{}}\toprule +\mc{@{}N}{Heilanstalten} & \multicolumn{6}{N}{Ärzte} \\\cmidrule(l){2-7} + & \multicolumn{2}{N}{insgesamt} & \multicolumn{4}{N@{}}{davon}\\ + \cmidrule(lr){2-3}\cmidrule(l){4-7} + & & & & \multicolumn{3}{N@{}}{nachgeordnete Ärzte} \\\cmidrule(l){5-7} + & & & & & \multicolumn{2}{C}{davon}\\\cmidrule(l){6-7} + & \mc{C}{\Rotate{zusammen}} & \mc{C}{\Rotate{davon weiblich}} + & \mc{C}{\Rotate{leitende Ärzte}} & \mc{C}{\Rotate{insgesamt}} + & \mc{P{2em}@{}}{Ober"-ärzte} & \mc{P{3.5em}@{}}{Assistenz"-ärzte} \\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}% + \cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(l){7-7} +Josefsstift, Bad Brückenau & 90 & 24 & 11 & 79 & 15 & 64 \\ +Tannenheim, Schlüchtern & 37 & 12 & 8 & 27 & 7 & 22 \\ +Waldfrieden, Selters & 24 & 8 & 2 & 22 & 6 & 22 \\ +Habichtshöhe, Lauterbach & 36 & 13 & 3 & 33 & 8 & 25 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-22.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-22.ltx new file mode 100644 index 00000000000..5816824da7d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-22.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-22 on page 190. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{dcolumn,booktabs,ragged2e,rotating,nicefrac} +\newcolumntype{C}{>{\footnotesize}c} +\newcolumntype{N}{>{\footnotesize}l} +\makeatletter\newcolumntype{B}[1]{>{\boldmath\DC@{.}{,}{#1}} c <{\DC@end}}\makeatother +\newcolumntype{P}[1]{>{\footnotesize\RaggedRight\hspace{0pt}}p{#1}} +\newcolumntype{d}[1]{D{.}{,}{#1}} +\newcommand\mc[2]{\multicolumn{1}{#1}{#2}} + +\begin{document} +\begin{tabular}{@{} d{4.0} d{2.0} d{2.1} B{2} d{2.1} @{\,\,} l@{}}\toprule +\mc{@{}N}{Capacity} & \mc{N}{Power} + & \mc{P{4.5em}}{Acceleration 0\,\nicefrac{km}{h} to 100\,\nicefrac{km}{h}} + & \mc{>{\bfseries}P{4em}}{Maximum speed} + & \multicolumn{2}{P{4em}@{}}{Fuel consumption per 100\,km}\\ +\mc{@{}C}{cm$^3$} & \mc{C}{kW} & \mc{C}{s} & \mc{>{\bfseries}C}{\nicefrac{km}{h}} + & \multicolumn{2}{C@{}}{l}\\\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3} + \cmidrule(lr){4-4}\cmidrule(l){5-6} +1288 & 37 & 22.7 & 133 & 8.6 \\ 1488 & 44 & 18.8 & 140 & 8.7 \\ +1688 & 55 & 13.7 & 155 & 9.4 & Super\\ 1985 & 66 & 11.7 & 165 & 9.9 & Super \\ +2274 & 80 & 9.8 & 178 & 10.1 & Super\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-23.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-23.ltx new file mode 100644 index 00000000000..6b4e9484be5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-23.ltx @@ -0,0 +1,34 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-23 on page 191. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{153.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + + + +\begin{document} +\begin{tabular}{ll} + first column & second column\\ + second line & more text + \\[-.5\normalbaselineskip]\hline\noalign{\vspace{1ex}} + third line & lower right +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-24.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-24.ltx new file mode 100644 index 00000000000..a51af44b70a --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-24.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-24 on page 191. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{array,slashbox,ragged2e} + +\begin{document} +\renewcommand\arraystretch{1.6} +\begin{tabular}{|*{4}{>{% + \Centering$}m{12mm}<{$}|}}\hline +\multicolumn{1}{|c|}{% + \backslashbox{$v_n$}{$u_n$}} + & \ell&+\infty&-\infty\\\hline +\ell' &\ell+\ell'&+\infty&-\infty\\\hline ++\infty&+\infty&+\infty&$F.I.$\\\hline +-\infty&-\infty&$F.I.$&-\infty\\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-25.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-25.ltx new file mode 100644 index 00000000000..2742ad31153 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-25.ltx @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-25 on page 191. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{tabularx,longtable,amsmath} +\usepackage[table]{xcolor} +\newcommand*\RMarker{.} +\newcommand*\SeminarOn[1][Weekend]{% + \def\RMarker{\rbrace\text{#1}}} +\newcommand*\SeminarOff{\def\RMarker{.}} +\newcommand*\SA{\rowcolor{black!20}} +\newcommand*\SO{\rowcolor{black!30}} + +\begin{document} +\begin{longtable}{>{$\left.}l<{\right\RMarker$}} +\SeminarOn[Seminar] +\begin{tabularx}{.6\linewidth}{rlX} + 2 & Tu & \\ 3 & We & \\ + 4 & Th & \\ 5 & Fr & \\ +\end{tabularx} \\\SeminarOn +\begin{tabularx}{.6\linewidth}{rlX} +\SA 6 & Sa & round table\\ +\SO 7 & So & \\ +\end{tabularx} \\\SeminarOff +\begin{tabularx}{.6\linewidth}{rlX} + 8 & Mo &\\ 9 & Tu & +\end{tabularx} +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-26.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/06-00-26.ltx2 new file mode 100644 index 00000000000..17f12dae63b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-26.ltx2 @@ -0,0 +1,91 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-26 on page 192. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{203.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\usepackage[paper=a5,pagesize,DIV14]{typearea} +\usepackage{fancyhdr} +\pagestyle{fancy} +\usepackage[margin=10pt, font=footnotesize, labelfont=bf, singlelinecheck=false]{caption} + +\usepackage{booktabs,subfig} + +\begin{document} +\section[Doublepage]{A Section title, which is a bit longer to make it go over two lines in the heading.} +\begin{table}[!htb] +\subfloat[][]{\begin{tabular}{lrrrrrrrrr} \toprule + & \textbf{1972} & \textbf{1973} & \textbf{1974} & \textbf{1975} & \textbf{1976} + & \textbf{1977} & \textbf{1978} & \textbf{1979} & \textbf{1980} \\\midrule +\addlinespace[3pt] +Zeile 1 & 1 & 3 & 1 & 1 & 1 & 0 & 1 & 1 & 0 \\\addlinespace[3pt] +Zeile 2 & 1 & 1 & 3 & 1 & 0 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile 3 & 2 & 1 & 2 & 1 & 0 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile 4 & 1 & 0 & 5 & 1 & 2 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile 6 & 2 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile 5 & 0 & 0 & 4 & 2 & 1 & 2 & 2 & 1 & 0 \\\addlinespace[3pt] +Zeile 8 & 0 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 0 \\\addlinespace[3pt] +Zeile 9 & 0 & 0 & 0 & 0 & 0 & 1 & 2 & 1 & 0 \\\addlinespace[3pt] +Zeile10 & 0 & 1 & 3 & 0 & 1 & 0 & 1 & 0 & 0 \\\addlinespace[3pt] +Zeile11 & 0 & 2 & 2 & 1 & 1 & 0 & 1 & 0 & 0 \\\addlinespace[3pt] +Zeile12 & 2 & 0 & 2 & 4 & 1 & 0 & 4 & 0 & 0 \\\addlinespace[3pt] +Lärm & 2 & 3 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile13 & 0 & 1 & 0 & 0 & 1 & 0 & 3 & 0 & 0 \\\addlinespace[3pt] +Zeile14 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile15 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\addlinespace[3pt] +Zeile16 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\\addlinespace[3pt]\midrule +Artikel gesamt & 2 & 6 & 13 & 8 & 4 & 3 & 5 & 4 & 0 \\\bottomrule +\end{tabular}}% end subfloat +\caption{Table caption, part I.} +\label{Tabelle-Entwicklung-Themen-BZ} +\end{table} + +\clearpage + +\section*{\phantom{\parbox[t]{0.8\linewidth}{A Section title, which is a bit + longer to go over two lines in the heading.}}} +\begin{table}[!htb] +\ContinuedFloat +\subfloat[][]{\hspace*{-\marginparwidth}\begin{tabular}{rrrrrrrrrr}\toprule + & \textbf{1981} & \textbf{1982} & \textbf{1983} & \textbf{1984} & \textbf{1985} + & \textbf{1986} & \textbf{1987} & \textbf{1988} & \\\midrule +Z 1 & 0 & 0 & 0 &20 & 0 & 2 & 2 & 2 & \\\addlinespace[3pt] +Z 2 & 0 & 2 & 1 & 3 & 4 & 4 & 6 & 4 & \\\addlinespace[3pt] +Z 3 & 0 & 0 & 1 & 5 & 3 & 1 & 7 & 7 & \\\addlinespace[3pt] +Z 4 & 2 & 1 & 0 & 1 & 0 & 3 & 7 & 2 & \\\addlinespace[3pt] +Z 6 & 1 & 2 & 0 & 5 & 2 & 2 & 5 & 4 & \\\addlinespace[3pt] +Z 5 & 0 & 0 & 1 & 1 & 0 & 2 & 5 & 4 & \\\addlinespace[3pt] +Z 8 & 3 & 2 & 1 & 2 & 1 & 3 & 5 & 3 & \\\addlinespace[3pt] +Z 9 & 0 & 0 & 0 & 4 & 2 & 1 & 4 & 5 & \\\addlinespace[3pt] +Z10 & 1 & 1 & 0 & 1 & 1 & 1 & 4 & 4 & \\\addlinespace[3pt] +Z11 & 0 & 0 & 2 & 6 & 1 & 0 & 2 & 1 & \\\addlinespace[3pt] +Z12 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & \\\addlinespace[3pt] +Lärm& 0 & 1 & 0 & 2 & 0 & 0 & 2 & 2 & \\\addlinespace[3pt] +Z13 & 0 & 0 & 0 & 2 & 0 & 1 & 3 & 0 & \\\addlinespace[3pt] +Z14 & 0 & 0 & 0 & 3 & 3 & 2 & 1 & 1 & \\\addlinespace[3pt] +Z15 & 1 & 0 & 0 & 4 & 0 & 0 & 3 & 1 & \\\addlinespace[3pt] +Z16 & 0 & 0 & 0 & 0 & 0 & 3 & 5 & 0 & \\\addlinespace[3pt]\midrule +Artikel gesamt & 6 & 3 & 5 &23 &10 & 8 & 15 & 13 & \\\bottomrule +\end{tabular}}% end subfloat +\caption{Table caption, part II.} +\end{table} + +\clearpage +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-27.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-27.ltx new file mode 100644 index 00000000000..d04b06602af --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-27.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-27 on page 192. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\setlength\parskip{10pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{tabularx} + +\begin{document} +\begin{tabularx}{\linewidth}{@{}X|p{2mm}@{}|}\cline{2-2} +DANTE, Deutschsprachige Anwendervereinigung \TeX\ e.\,V., has been founded on April 14, +1989 in Heidelberg, Germany. The principal aim of the association is to encourage advice +and cooperation among German language TeX users. This includes consulting via WWW, +electronic mail, and usual letter mail concerning purchase, implementation, and \ldots + & \rule{2mm}{0pt}\\\cline{2-2} +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-28.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-28.ltx new file mode 100644 index 00000000000..53cc62b8fc1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-28.ltx @@ -0,0 +1,186 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-28 on page 193. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\setlength\parskip{10pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{booktabs} +\usepackage{amssymb} +\usepackage{units} +\usepackage{textcomp} +\usepackage{multirow} +\usepackage{bigdelim} +\usepackage{rotating} + +\begin{document} +\rotatebox{90}{% +\sffamily\small +\begin{tabular}{@{}lccccclll@{}}\toprule +% +% caption 1 +% +Autor & Fläche & Airgap & Empfindl. & +%Bandbreite & +Frequenz & Rauschen & Materialien & Quellen & Aufbauart \tabularnewline +% +% caption 2 +% +& & & & & & Membran, Elektrode & & \tabularnewline +\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(lr){5-5}\cmidrule(lr){6-6} +% +% units +% + & \unit{mm\textsuperscript{2}} & \unit{\textmu m} & \unit{mV/Pa} & + \unit{Hz-kHz} & \unit{dBA SPL} & & & \tabularnewline +\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(lr){5-5} +\cmidrule(lr){6-6}\cmidrule(lr){7-7}\cmidrule(lr){8-8}\cmidrule(l){9-9} +\addlinespace +% end table header +% +% Schellin +% +Schellin & 1 & & 0,3 & -- & & Poly-Si, Poly-Si & +[6,7,9] &%\cite{Schellin:1997:01,Schellin:1994:01,Schellin-1993-01} & +\tabularnewline +% +% van der Donk +% +van der Donk & & & & & & & +[12] &% \cite{Donk:1992:01} & +\tabularnewline +% +% Bernstein +% +Bernstein & 0,57 & 2,2 & 10,77 & -20 &--& Nitrid, Gold & +[13] &%\cite{Kabir:1999:01} & +\tabularnewline +% +% Chen +% +Chen &-- &2 &40 &50--15 &-- &Poly-Si, Mono-Si & +[17,18]&%\cite{Chen:2002:01,Chen:2003:01} & +\tabularnewline +% +% Dehé +% +Dehé & $\varnothing$1.2&1 &3,2 &100--10 &30 &Poly-Si, Epi-Poly & +[19,10] &%\cite{Dehe:1999:01,Brauer:2001:01} & +\tabularnewline +% +% Hsu +% +Hsu &2 &4 &--&200--10 &&Poly-Si, Mono-Si & +[7]&%\cite{Hsu:1998:01} & +\tabularnewline +% +% Kronast +% +Kronast &2 &1,3 &11 &300--20&--&Nitrid+Alu, Mono-Si & +[20,21,22]&%\cite{Kronast:1996:01,Kronast:2001:01,Stoffel:1999:01} & +\tabularnewline +% +% Li +% +Li &1 &--&9,6 &100--19&--&Poly-Si, Poly-Si & +[1,24]&%\cite{Li:2001:01,Wang:2004:01} & +\tabularnewline +% +% Pedersen +% +Pedersen & 4,84 &3,6 &--&100--15 &60 &Gold, Polymid & +[2,6]&%\cite{Pedersen:1997:01,Pedersen:1998:01} & +\tabularnewline +% +% Rombach +% +Rombach &1 &0,9 &14 &20--10&22,5 &Poly-Si, Poly-Si & +[17,18]&%\cite{Rombach:2000:01,Rombach:2002:01} & +\tabularnewline +% +% Kovaces +% +Kovács &0,25 &1,5 &-- &-- &-- &Poly-Si, Poly-Si & +[25,26]&%\cite{Kovacs:1995:01} & +\tabularnewline +% +% Torkkeli +% +Torkkeli &1 &1,3 &2 &10--12 &35 &Poly-Si, Poly-Si & +[26]&%\cite{Torkkeli:2000:01} & +\rdelim\}{-12}{1mm}[1 Chip] \tabularnewline +\addlinespace +\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(lr){5-5} +\cmidrule(lr){6-6}\cmidrule(lr){7-7}\cmidrule(lr){8-8}\cmidrule(l){9-9} +\addlinespace +% +% Bay +% +Bay &4 &0,4 &27 &&&& +[26,27,28,30]&%\cite{Bay:1999:01,Bay:1996:01,Bay:1997:01,Bouwstra:1998:01} & +\tabularnewline +% +% Füldner +% +Füldner&&&&&&&&\tabularnewline +% +% Tajima +% +Tajima &4 &15 &7 &75--24 &-- &Oxid, Mono-Si & +[29]&%\cite{Tajima:2003:01} & +\rdelim\}{-3}{1mm}[2 Chip] \tabularnewline +\addlinespace +\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(lr){4-4}\cmidrule(lr){5-5} +\cmidrule(lr){6-6}\cmidrule(lr){7-7}\cmidrule(lr){8-8}\cmidrule(l){9-9} +\addlinespace +% +% Kressmann +% +Kressmann &1 &1 &2,9 &100--10&39 &Oxid+Nitrid, Poly-Si& +[11,12]&%\cite{Kressmann:2001:01,Kressmann:2002:01} & +\tabularnewline +% +% Thielemann +% +Thielemann & & & & & & & +[8] & \tabularnewline% \cite{Thielemann:1997:01} & \tabularnewline +% +% Hsieh +% +Hsieh & 64 & 4,5 & 40 & 100--10 & 60 & Nitrid, Nitrid & +[1,2,4] & \tabularnewline %\cite{Hsieh:1997:01,Hsieh:1999:01,Hsieh:2001:01} & \tabularnewline %,Hsu:1996:01 +% +% Murphy +% +Murphy & -- & -- & 8 & 100--15 & -- & +Al + Nitrid, Mono-Si& +[3] & \tabularnewline % \cite{Murphy:1989:01} & \tabularnewline +% +% Zou +% +Zou & 1 & 2,6 & 14,2 & 9--16 & -- & Poly-Si , Mono-Si & +[7] & %\cite{Zou:1997:01,Zou:1998:01} & +\rdelim\}{-5}{1mm}[Elektret] \tabularnewline +\addlinespace +\bottomrule +\end{tabular} +}% end of rotatebox +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-29.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-29.ltx new file mode 100644 index 00000000000..978f0e73517 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-29.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-29 on page 194. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{200pt} + +\usepackage{tabularx} +\makeatletter\newcolumntype{M}{>{\@minipagetrue}X}\makeatother + +\begin{document} +\begin{tabularx}{\linewidth}{|X|M|}\hline +left & right\\\hline +The right list now starts at the same height as this column. + & \begin{itemize} \item a \item b \item c \end{itemize}\\\hline +\begin{itemize} \item a \item b \item c \end{itemize} + & The left column is not an M-column now and therefore has vertical space at the + beginning.\\\hline +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-3.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-3.ltx new file mode 100644 index 00000000000..a148ce96ac4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-3.ltx @@ -0,0 +1,54 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-3 on page 180. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{array,booktabs} +\newcounter{Platz} + +\begin{document} +\begin{tabular}{@{}>{\ifnum\thePlatz>0 \thePlatz.\fi}r + l rrr c@{ :}c c<{\stepcounter{Platz}} @{}}\\\toprule +\multicolumn{8}{c}{% + \bfseries\rule[-2ex]{0pt}{5ex}German football league 1986/87.}\\ \midrule +\multicolumn{1}{@{}c}{} + & club & S & U & N &\multicolumn{2}{c}{points}& comment\\\toprule + & Bayern München & 20 & 13 & 1 & 53 & 15 & champion\\ + & Hamburger SV & 19 & 9 & 6 & 47 & 21 & cup winner\\ + & Bor. M'Gladbach & 18 & 7 & 9 & 43 & 21 & starter\\ + & Bor. Dortmund & 15 & 10 & 9 & 40 & 28 & in the\\ + & Werder Bremen & 17 & 6 & 11 & 40 & 28 & UEFA cup\\ + & Bayer Leverkusen & 16 & 7 & 11 & 39 & 29 & cup\\\midrule + & 1.FC Kaiserslautern& 15 & 7 & 12 & 37 & 31 & \\ + & Bayer Uerdingen & 12 & 11 & 11 & 35 & 33 & \\ + & 1.FC Nürnberg & 12 & 11 & 11 & 35 & 33 & \\ + & 1.FC Köln & 13 & 9 & 12 & 35 & 33 & \\ + & VfL Bochum & 9 & 14 & 11 & 32 & 36 & mid field\\ + & VfB Stuttgart & 13 & 6 & 15 & 32 & 36 & \\ + & Schalke 04 & 12 & 8 & 14 & 32 & 36 & \\ + & Waldhof Mannheim & 10 & 8 & 16 & 28 & 40 & \\ + & Eintracht Frankfurt& 8 & 9 & 17 & 25 & 43 & \\\midrule + & FC Homburg & 6 & 9 & 19 & 21 & 47 & rel. St.Pauli\\\midrule + & Fortuna Düsseldorf & 7 & 6 & 21 & 20 & 48 & \\ + & BW 90 Berlin & 3 & 12 & 19 & 18 & 50 + & \raisebox{1.5ex}[-1.5ex]{relegated}\\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-30.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-30.ltx new file mode 100644 index 00000000000..7feaa97ce6e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-30.ltx @@ -0,0 +1,53 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-30 on page 194. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\pagestyle{plain} +\setlength\textheight{7.5cm} +\setlength\textwidth{5.5cm} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\let\belowcaptionskip\abovecaptionskip + +\usepackage{array} +\newcounter{tabline} +\newcolumntype{n}{>{% + \refstepcounter{tabline}\thetabline\enspace}l} + +\begin{document} +\begin{table} +\centering +\caption{Automatic counting of lines + in a table.}\label{BAZ} +\begin{tabular}{n}\hline +\multicolumn{1}{l}{\emph{No. animal}}\\\hline +gelse \\ +chamois \label{FOO} \\ +skunk \\ +anteater \\ +armadillo \label{BAR} \\\hline +\end{tabular} +\end{table} + +\medskip +See line~\ref{FOO} or alternatively +line~\ref{BAR} in Table~\ref{BAZ} +on page~\pageref{BAR}. +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-31.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-31.ltx new file mode 100644 index 00000000000..3ffd3b216d9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-31.ltx @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-31 on page 195. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[spanish]{babel} + +\usepackage{array,booktabs,ragged2e} \def\xstrut{\rule{0pt}{3ex}} +\newcolumntype{P}[1]{>{\RaggedRight}p{#1}} + +\begin{document} +\begin{tabular}{@{}ccc@{\qquad}rrrr@{}}\toprule +\multicolumn{1}{@{}P{1.25cm}}{Tipo de avi\'on} + & \multicolumn{1}{P{1.75cm}}{Capacidad (pasajeros)} + & \multicolumn{1}{P{1.75cm}}{N\'umero de aviones} + & \multicolumn{4}{@{}p{4cm}@{}}{% + \xstrut N\'umero de viajes diarios en la ruta}\\\cmidrule{4-7} +\xstrut & & & 1 & 2 & 3 & 4 \\\midrule + 1 & 50 & 5 & 3 & 2 & 2 & 1 \\ + 2 & 30 & 8 & 4 & 3 & 3 & 2 \\ + 3 & 20 & 10 & 5 & 5 & 4 & 2 \\ \midrule + 4 & 10 & 18 & 3 & 1 & -- & 1 \\ + 5 & 5 & 8 & 2 & 1 & -- & 6 \\ + 6 & 1 & 80 & 6 & 5 & 12 & 4 \\\midrule +\multicolumn{3}{@{}l}{% + N\'umero de clientes diarios} & 1000 & 2000 & 900 & 1200 \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-32.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/06-00-32.ltx2 new file mode 100644 index 00000000000..f121e9baf9f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-32.ltx2 @@ -0,0 +1,190 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-32 on page 196. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:85mm,pagesize]{typearea} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[english]{babel} +\setlength\parindent{0pt} +\usepackage{etex} % to be able to use labels +\usepackage{ltxtable} +\usepackage[savepos,user]{zref} % to save the current position +\usepackage{fltpoint} % floating point arithmetics +\usepackage{calc} % for the \widthof command +\usepackage{numprint} % formatted output of numbers +\usepackage{eurosym} % Euro sign +% global settings for numprint +\npstyleenglish % English number formatting +\nprounddigits{2} % two decimal places +\npreplacenull{---} % hyphen instead of decimal zeros + +%%%%%%%%%%%%%%commands to calculate the intermediate sums%%%%%%%%%%%%%%%%%%%% +\newcommand*\intsum{0} +\newcommand*\resetintsum{\global\def\intsum{0}} +\newcommand*\addintsum[1]{\fpAdd{\intsum}{\intsum}{#1}% + \global\let\intsum\intsum} +\newcommand*\printval[1]{\numprint{#1}} + +%%%%%%%%PlainTeX hack for positioning of intermediate sums%%%%%%%%%%%%%%% +\makeatletter % allow the at sign in variables +% provide variables + \newdimen\drx + \newdimen\dry + \newmarks\ltm@marks + \def\ltm@setmarks#1{\marks\ltm@marks{#1}} + \def\ltm@getmarks{\botmarks\ltm@marks} + +% calculate the current value of the intermediate sum and save it +\newcommand*{\Val}[1]{% + \printval{#1}% immediate output of the value + \addintsum{#1}% add the passed value to the intermediate sum + \expandafter\ltm@setmarks\expandafter{\intsum}% save intermediate sum +} + +% save current position +\newcommand*{\MarkIntSumPos}{% + \leavevmode + \zsavepos{zwsumpos\thepage}% + \zrefused{zwsumpos\thepage}} + +% output intermediate sum +\def\ltm@insertfoot#1{% + \vbox to\z@{% + \vss + \hb@xt@\z@{% + \color@begingroup + \zsavepos{tabende\thepage}% % save current position + \drx=0sp + \dry=0sp + % subtract current position and add saved one + \advance \drx by -\zposx{tabende\thepage}sp + \advance \drx by \zposx{zwsumpos\thepage}sp + \advance \dry by -\zposy{tabende\thepage}sp + \advance \dry by \zposy{zwsumpos\thepage}sp + \smash{\kern\drx\raise\dry% + \hbox{\makebox[\widthof{ \euro}][r]{% + \printval{#1} \euro}}% + } + \color@endgroup + }% + }% +} + +% output of the carry +% like output of the intermediate sum, but without saved position +\def\ltm@inserthead#1{% + \vbox to\z@{% + \vss + \hb@xt@\z@{% + \color@begingroup + \drx=0sp + \dry=0sp + % subtract position of end of table + \advance \drx by -\zposx{tabende\thepage}sp + \advance \drx by \zposx{zwsumpos\thepage}sp + \advance \dry by -\zposy{tabende\thepage}sp + \advance \dry by \zposy{zwsumpos\thepage}sp + \smash{\kern\drx\raise\dry% + % The actual output. Right-aligned and translated by the + % width of the Euro sign. + \hbox{\makebox[\widthof{ \euro}][r]{% + \printval{#1} \euro}}% + } + \color@endgroup + }% + }% +} + +\def\ltm@lastfoot{\ltm@insertfoot\ltm@getmarks} +\def\ltm@foot{\ltm@insertfoot{\ltm@getmarks}} +\def\ltm@head{\ltm@inserthead{\ltm@getmarks}} + +% overwrite the output routines of longtable +\def\LT@output{% + \ifnum\outputpenalty <-\@Mi + \ifnum\outputpenalty > -\LT@end@pen + \LT@err{floats and marginpars % + not allowed in a longtable}\@ehc + \else + \setbox\z@\vbox{\unvbox\@cclv}% + \ifdim \ht\LT@lastfoot>\ht\LT@foot + \dimen@\pagegoal + \advance\dimen@-\ht\LT@lastfoot + \ifdim\dimen@<\ht\z@ + \setbox\@cclv\vbox{% + \unvbox\z@\copy\LT@foot\ltm@foot\vss + }% + \@makecol + \@outputpage + \setbox\z@\vbox{\box\LT@head}% + \fi + \fi + \global\@colroom\@colht + \global\vsize\@colht + \vbox{% + \unvbox\z@ + \box\ifvoid\LT@lastfoot + \LT@foot\ltm@foot + \else + \LT@lastfoot\ltm@lastfoot + \fi + }% + \fi + \else + \setbox\@cclv\vbox{% + \unvbox\@cclv\copy\LT@foot\ltm@foot\vss + }% + \@makecol + \@outputpage + \global\vsize\@colroom + \copy\LT@head\ltm@head + \fi +} +\makeatother % disallow at sign in variables +%%%%%%%%%%%%%%%%%%%%end plaintex hack%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\usepackage{longtable} + +\begin{document} +\resetintsum +\begin{longtable}{p{0.7\linewidth}r} + left & right +\endfirsthead + carry & \\ +\endhead + intermediate sum: & \MarkIntSumPos \\ +\endfoot + sum: &\MarkIntSumPos \\ +\endlastfoot + An arbitrary introductory text at the start of the column\ldots. + & \Val{1,00} \\ + b & \Val{2,1} \\ + c & \Val{3,4} \\ + d & \Val{4,5} \\ + e & \Val{5,6} \\ + f & \Val{6,7} \\ + g & \Val{7,8} \\ + h & \Val{8,9} \\ + i & \Val{9,42} \\ + j & \Val{10,88}\\ + k & \Val{15,76} +\end{longtable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-33.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-33.ltx new file mode 100644 index 00000000000..93662e58426 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-33.ltx @@ -0,0 +1,42 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-33 on page 197. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{415.41023pt} +\setlength\parindent{0pt} + +\usepackage{ragged2e,array,graphicx} + +\begin{document} +\renewcommand\arraystretch{1.3} +\begin{tabular}{@{}cc@{}}\small +\begin{tabular}{@{}c l l >{\RaggedRight}m{3.0cm}@{}}\hline +\emph{pin} & \emph{color} & \emph{at encoder} & \emph{description}\\\hline +1 & --- & --- & $\langle empty \rangle$ \\ +2 & yellow & 8 (gray) & Encoder channel B \\ +3 & white & 7 (violet) & Encoder channel $\overline{B}$ \\ +4 & blue & 6 (blue) & Encoder channel A \\ +5 & green & 5 (green) & Encoder channel $\overline{A}$ \\ +6 & --- & --- & $\langle empty \rangle$ \\ +7 & red & 2 (red) & Encoder power supply (+5V) \\ +8 & black & 3 (orange) & GND \\ \hline +\end{tabular} + & % right column for the image +\raisebox{-0.5\height}{\includegraphics[width=3cm]{images/din8}} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-34.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-34.ltx new file mode 100644 index 00000000000..22034eef8c7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-34.ltx @@ -0,0 +1,67 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-34 on page 198. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{415.41023pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{array,booktabs,arydshln,eurosym,graphicx} +\usepackage[table]{xcolor} + +\begin{document} +\resizebox{0.9\textwidth}{!}{\renewcommand\arraystretch{1.25}% +\begin{tabular}{@{}l c rr | rr@{}}\toprule +\textit{TEST 1} & & \multicolumn{2}{c}{1. Jahr} & \multicolumn{2}{c}{ab 2. Jahr}\\ +\textit{TEST 2} & & Monat & Jahr & Monat & Jahr \\\midrule +\textit{Werkzeugkosten je Automat} && \textit{8.000} & \textit{96.000} + & \textit{8.000} & \textit{96.000} \\ +Anzahl Bestellungen für Werkzeuge & & 8 & 96 & 8 & 96 \\ +Prozesskosten pro Beschaffungsprozess & 40 & & & & \\ +Kosten für Stammdatenpflege & & 10 & 120 & 10 & 120 \\ +\rowcolor[gray]{0.92}[\tabcolsep] + Bestellkosten & & 330 & 3.960 & 330 & 3.960 \\ + % \midrule +Durchschnittlicher Lagerwert (2 Monate)& & & 16.000 & & 16.000 \\\cline{3-6} +Gebundenes Kapital pro Jahr & 6\% & 80 & 960 & 80 & 960 \\ +Lagerabwertung vom Lagerwert pro Jahr & 5\% & 67 & 800 & 67 & 800 \\ +\rowcolor[gray]{0.92}[\tabcolsep] + Lagerkosten & & 147 & 1.760 & 147 & 1.760 \\ +Personalkosten Werkzeugausgabe \euro/h & 30 & & & & \\ +Einsparung Werkzeugausgabe pro Tag in h & 2 & 1.200 & 14.400 & 1.200 & 14.400 \\ +Werkzeugschwund & 1\% & 80 & 960 & 80 & 960 \\ +\textit{Stillstand aufgrund fehlendem Werkzeug} & \textit{0,03h/Tag} & \textit{53} + & \textit{636} & \textit{53} & \textit{636} \\ +Anzahl Maschinen & 5 & 265 & 3.180 & 265 & 3.180 \\ +Weniger Verbrauch durch Kontrolle & 5\% & 400 & 4.800 & 400 & 4.800 \\ +Weniger Schwarzbestände im 1.Jahr & 10\% & 800 & 9.600 & & \\ +\rowcolor[gray]{0.92}[\tabcolsep] + Verbrauch- und Personalkosten & & 2.745 & 32.940 & 1.945 & 23.340 \\ +\rowcolor[gray]{0.88}[\tabcolsep] + Einsparungen & & 3.222 & 38.660 & 2.422 & 29.060 \\ +\rowcolor[gray]{0.99}\multicolumn{4}{c|}{Abzüglich zusätzliche Kosten:} \\ +Miete & & 200 & 2.400 & 200 & 2.400 \\ +Installation und Wartung& & 142 & 1.700 & 42 & 500 \\ +Sonstige Kosten & & 83 & 1.000 & 83 & 1.000 \\ +\rowcolor[gray]{0.88}[\tabcolsep]Tatsächliche Einsparungen&&2.797&33.560&2.097&25.160\\ + & & \multicolumn{2}{c|}{$\stackrel{\wedge}{=}35\%$} + & \multicolumn{2}{c@{}}{$\stackrel{\wedge}{=} 26\%$}\\ + \cmidrule{3-6}\morecmidrules\cmidrule{3-6} +\end{tabular}} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-35.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-35.ltx new file mode 100644 index 00000000000..b565629da26 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-35.ltx @@ -0,0 +1,70 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-35 on page 199. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} +\setlength\textwidth{400pt} + +\usepackage{array,ragged2e} + +\begin{document} +\begin{center} +Vertical spacing in a table.\\[5pt] + +Default baseline height\\[2pt] +\begin{tabular}{@{}c + >{\RaggedRight}m{4cm}@{}}\hline +1 & An extremely long line of text + in a m-column\\\hline +2 & An extremely long line of text + in a m-column\\\hline +3 & An extremely long line of text + in a m-column\\\hline +\end{tabular} + +\bigskip +\renewcommand\arraystretch{1.5} +\verb=\renewcommand\arraystrech{1.5}=\\[2pt] +\begin{tabular}{@{}c + >{\RaggedRight}m{4cm}@{}}\hline +1 & An extremely long line of text + in a m-column\\\hline +2 & An extremely long line of text + in a m-column\\\hline +3 & An extremely long line of text + in a m-column\\\hline +\end{tabular} + +\bigskip +\verb=\rule[-3ex]{0pt}{7ex}= in + first column\\[2pt] +\begin{tabular}{@{} + >{\rule[-3ex]{0pt}{7ex}}c + >{\RaggedRight}m{4cm}@{}}\hline +1 & An extremely long line of text + in a m-column\\\hline +2 & An extremely long line of text + in a m-column\\\hline +3 & An extremely long line of text + in a m-column\\\hline +\end{tabular} +\end{center} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-36.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/06-00-36.ltx2 new file mode 100644 index 00000000000..742bab587df --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-36.ltx2 @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-36 on page 200. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[twoside,12pt]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[paper=a5,pagesize,DIV14]{typearea} +\usepackage{fancyhdr} +\pagestyle{fancy} +\usepackage[english]{babel} + +\usepackage{array,booktabs,rotating,units} +\newcolumntype{N}{>{\scriptsize}l} + +\begin{document} +\begin{sidewaystable} +\caption{The following table has been rotated automatically with \texttt{sidewaystable}.} +\begin{center} +\begin{tabular}{@{}NN*{5}{l}@{}}\toprule +capacity & $\unit{cm^3}$ & 1288 & 1488 & 1688 & 1985 & 2274 \\\midrule +power & \unit{kW} & 37 & 44 & 55 & 66 & 80 \\\midrule +acceleration \unitfrac[0]{km}{h} to \unitfrac[100]{km}{h} & \unit{s} & 22,7 + & 18,8 & 13,7 & 11,7 & 9,8 \\\midrule +\textbf{maximum speed} + & \textbf{\unitfrac{km}{h}} + & \textbf{133} & \textbf{140} & \textbf{155} + & \textbf{165} & \textbf{178} \\\midrule +fuel consumption per \unit[100]{km} & \unit{l} & 8,6 & 8,7 & 9,4 (super) + & 9,9 (super) & 10,1 (super) \\\bottomrule +\end{tabular} +\end{center} +\end{sidewaystable} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-37.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/06-00-37.ltx2 new file mode 100644 index 00000000000..ed114b3e664 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-37.ltx2 @@ -0,0 +1,49 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-37 on page 201. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[twoside,12pt]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[paper=a5,pagesize,DIV14]{typearea} +\usepackage{fancyhdr} +\pagestyle{fancy} +\usepackage[english]{babel} +\usepackage{blindtext} + +\usepackage{array,tabularx,booktabs,rotating,units,caption} +\newcolumntype{N}{>{\scriptsize}l} +\newsavebox\TBox + +\begin{document} +\savebox\TBox{\parbox{\linewidth}{% +\captionof{table}{The following table was rotated with \texttt{rotatebox}.} +\begin{tabular}{@{}NN*{5}{l}@{}}\toprule +capacity & $\unit{cm^3}$ & 1288 & 1488 & 1688 & 1985 & 2274 \\\midrule +power & \unit{kW} & 37 & 44 & 55 & 66 & 80 \\\midrule +acceleration \unitfrac[0]{km}{h} to \unitfrac[100]{km}{h} + & \unit{s} & 22,7 & 18,8 & 13,7 & 11,7 & 9,8 \\\midrule +\textbf{maximum speed} & \textbf{\unitfrac{km}{h}} & \textbf{133} + & \textbf{140} & \textbf{155} & \textbf{165} & \textbf{178} \\\midrule +fuel consumption per \unit[100]{km} + & \unit{l} & 8,6 & 8,7 & 9,4 (super)& 9,9 (super)& 10,1 (super) \\\bottomrule +\end{tabular}}} +\begin{tabularx}\linewidth{@{} l X @{}} +\raisebox{-1.3\height}{\rotatebox{90}{\usebox\TBox}} & \blindtext +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-38.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/06-00-38.ltxps new file mode 100644 index 00000000000..db7d2fb3eb7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-38.ltxps @@ -0,0 +1,63 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-38 on page 203. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{415.41023pt} +\setlength\parindent{0pt} + +\usepackage{pst-node,pst-tree,graphicx,geometry} +\def\GraphTabLine#1(#2,#3,#4,#5){% + #1 & \rnode{A}{#2} & \checkSpace(#2,#3){B}{#3} + & \checkSpace(#2,#4){C}{#4} & \checkSpace(#2,#5){D}{#5} + \ncline{A}{B}\ncline{B}{C}\ncline{C}{D}} +\newlength\Vspace +\def\checkSpace(#1,#2)#3#4{% + \Vspace=#1pt \advance\Vspace by -#2pt + \raisebox{-3\Vspace}{\rnode{#3}{#4}}} + +\begin{document} +\psset{nodesep=2pt,arrows=->} +\resizebox{!}{0.5\textheight}{% +\begin{tabular}{@{}l*4{p{2cm}}@{}} + & 5 year & 10 year & 15 year & 20 year\\ + \GraphTabLine{Prostate} (99,95,87,81)\\ + \GraphTabLine{Thyroid} (96,96,94,95)\\ + \GraphTabLine{Testis} (95,94,91,88)\\[-15pt] + \GraphTabLine{Melanomas} (89,87,84,82)\\[-15pt] + \GraphTabLine{Breast} (86,78,71,65)\\[-45pt] + \GraphTabLine{Hodgkin's disease} (85,80,74,67)\\[-10pt] + \GraphTabLine{Corpus uteri, uterus} (84,83,81,79)\\[-10pt] + \GraphTabLine{Urinar bladder} (82,76,70,67)\\[-27pt] + \GraphTabLine{Cervix uteri} (71,64,63,60)\\[-25pt] + \GraphTabLine{Larynx} (69,57,46,37)\\[-35pt] + \GraphTabLine{Rectum} (63,55,52,49)\\[-35pt] + \GraphTabLine{Kidney, renal pelvis} (62,54,50,47)\\[-25pt] + \GraphTabLine{Colon} (62,55,54,52)\\[-20pt] + \GraphTabLine{Non-Hodgkin's} (58,46,38,34)\\[-63pt] + \GraphTabLine{Oral cavity, pharynx} (57,44,38,33)\\[-10pt] + \GraphTabLine{Ovary} (55,49,50,50)\\[-10pt] + \GraphTabLine{Leukaemias} (43,32,29,26)\\[-10pt] + \GraphTabLine{Brain, nervous system}(32,29,27,26)\\[-10pt] + \GraphTabLine{Multiple myeloma} (30,13, 7, 5)\\[-15pt] + \GraphTabLine{Stomach} (24,19,19,15)\\[-20pt] + \GraphTabLine{Lung and bronchus} (15,11, 8, 6)\\[-20pt] + \GraphTabLine{Esophagus} (14, 8, 8, 5)\\[ 30pt] + \GraphTabLine{Liver, bile duct} ( 8, 6, 6, 8)\\ + \GraphTabLine{Pancreas} ( 4, 3, 3, 3) +\end{tabular}} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-39.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-39.ltx new file mode 100644 index 00000000000..948247c3a6d --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-39.ltx @@ -0,0 +1,50 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-39 on page 204. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{numprint,spreadtab} + +\begin{document} +\begin{minipage}[t]{0.45\linewidth}\vspace{0pt} +\[\forall x\in \mathbf{R}\qquad e^x=\sum_{k=0}^\infty\frac{x^k}{k!}\] +The adjacent table shows the convergence for $x=0.5$. +\end{minipage}\hfill +\begin{minipage}[t]{0.45\linewidth}\vspace{0pt} +\STautoround{15} +\begin{spreadtab}[\STsavecell\xvalue{a1}]{{tabular}{cN{2}{15}}} +\multicolumn{2}{c}{convergence for $x={\numprint{:={0.5}}}$}\\[1.5ex] +@$n$ & e^a1\SThidecol & {@ + $\displaystyle e^{\numprint\xvalue}-\sum_{k=0}^n + \frac{\numprint\xvalue^k}{k!}$}\\[3ex]\hline + 0 & a1^[-1,0]/fact([-1,0]) & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\ + [0,-1]+1 & a1^[-1,0]/fact([-1,0])+[0,-1] & b2-[-1,0] \\\hline +\end{spreadtab} +\end{minipage} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-4.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/06-00-4.ltxps new file mode 100644 index 00000000000..58f6b349647 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-4.ltxps @@ -0,0 +1,41 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-4 on page 180. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{129.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage[table]{pstricks} +\usepackage{pst-3d,pst-node}\SpecialCoor + +\begin{document} +\begin{tabular}{l} +\pstilt{60}{\begin{tabular}{|p{1em}|p{1em}|p{1em}|}\hline + \rowcolor{magenta!10}\psrotateleft{\rnode{col1}{\hspace{2cm}}} & + \psrotateleft{\rnode{col2}{\hspace{2cm}}} & + \psrotateleft{\rnode{col3}{\hspace{2cm}}} + \end{tabular}}\\% end head +\rput[t]{60}(col1){column 1}\rput[t]{60}(col2){column 2}% +\rput[t]{60}(col3){column 3}% + \begin{tabular}{|p{1em}|p{1em}|p{1em}|}\hline + \rowcolor{green!10} 1 & 2 & 3 \\\rowcolor{blue!10} 4 & 5 & 6 \\ + \rowcolor{green!10} 7 & 8 & 9 \\\hline + \end{tabular} +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-40.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-40.ltx new file mode 100644 index 00000000000..86607ac9e7b --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-40.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-40 on page 205. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{tabularx,numprint,spreadtab} + +\begin{document} +\nprounddigits2 +\begin{spreadtab}{{tabularx}{0.8\linewidth}{| + >{\rule[-1.2ex]{0pt}{4ex}}X >{{\bfseries}}N42 + >{\bfseries}c N42 >{\bfseries}c N42|}}\hline +@Pos. & @\multicolumn{1}{c}{price/unit} & @\multicolumn{1}{c}{number} & +@\multicolumn{1}{c}{price} & @\multicolumn{1}{c}{rebate} & @\textbf{net}\\\hline +@1 & 5.99 & 20 & [-2,0]*[-1,0] & $-:={20}\%$ & [-2,0]*(1-[-1,0]/100)\\ +@2 & 12 & 7 & [-2,0]*[-1,0] & $-:={10}\%$ & [-2,0]*(1-[-1,0]/100)\\ +@3 & 4.50 & 40 & [-2,0]*[-1,0] & $-:={35}\%$ & [-2,0]*(1-[-1,0]/100)\\ +@4 & 650 & 2 & [-2,0]*[-1,0] & $-:={15}\%$ & [-2,0]*(1-[-1,0]/100)\\\hline +@\multicolumn{6}{c}{\vspace{-1.5ex}}\\\cline{4-6} +@\multicolumn{1}{c}{\rule[-1.2ex]{0pt}{4ex}} & +@\multicolumn{2}{r|}{sum} & sum(d2:[0,-2]) + & \multicolumn{1}{c}{$:={round(([1,0]/[-1,0]-1)*100,0)}\%$} + & {\bfseries}:={sum(f2:[0,-2])}\\\cline{4-6} +@\multicolumn{3}{r|}{} & @\multicolumn{1}{r}{\textbf{VAT}} & @ 19\% + & {\bfseries}:={[0,-1]*0.19}\\\cline{4-6} +@\multicolumn{3}{r|}{} & +@\multicolumn{2}{r}{\textbf{final sum}} & {\bfseries}:={[0,-2]+[0,-1]}\\\cline{4-6} +\end{spreadtab} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-41.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-41.ltx new file mode 100644 index 00000000000..dd37b3821da --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-41.ltx @@ -0,0 +1,97 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-41 on page 207. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} + +\usepackage{booktabs,paralist,dcolumn,ragged2e} +\newenvironment{Vorteile} + {\hbox{}\vspace{-\baselineskip}\begin{compactitem}[$\oplus$]} + {\hbox{}\vspace{-\baselineskip}\end{compactitem}} +\newenvironment{Nachteile} + {\hbox{}\vspace{-\baselineskip}\begin{compactitem}[$\ominus$]} + {\hbox{}\vspace{-\baselineskip}\end{compactitem}} +\newcolumntype{v}[1]{>{\RaggedRight\hspace{0pt}}p{#1}} + +\begin{document} +\sffamily\footnotesize +\begin{tabular}{@{}v{1.4cm}*{2}{v{6.9cm}}@{}}\toprule +Material & Vorteile & Nachteile \\\cmidrule(r){1-1}\cmidrule(rl){2-2}\cmidrule(l){3-3} +Edelstahl + & \begin{Vorteile} + \item robust \item preisgünstig \item leicht zu verarbeiten + \item unterschiedliche Durchmesser und Längen im Handel erhältlich + \end{Vorteile} + & \begin{Nachteile} + \item nur inert bei geringen Temperaturen in Verbindung mit bestimmten Substanzen + \item Oxidationen der Oberfläche führen zu unsymmetrischen Peaks + \item Zersetzung durch Verunreinigungen der Legierungsform + \end{Nachteile} \tabularnewline\cmidrule(r){1-1}\cmidrule(rl){2-2}\cmidrule(l){3-3} +Glas + & \begin{Vorteile}% + \item fast vollständig inert + \item durchsichtig, bessere Kontrolle der Packung auf Gleichmäßigkeit + \end{Vorteile}% + & \begin{Nachteile}% + \item aufwendige Reinigung der Säule + \item keine Analyse von aggressiver Fluoride möglich + \item leicht zerbrechlich + \item Knallgasexplosion beim Zerbrechen bei erhitzter Kapillare und + Wasserstoff als Trägergas + \end{Nachteile} \tabularnewline\cmidrule(r){1-1}\cmidrule(rl){2-2}\cmidrule(l){3-3} +Nickel + & \begin{Vorteile}% + \item stabil + \item Analyse von empfindlichen Substanzen möglich, z\,.B. Steroide, Analgetica + und Barbiturate + \end{Vorteile}% + & \begin{Nachteile}% + \item nicht so inert wie Glassäulen + \end{Nachteile} \tabularnewline\cmidrule(r){1-1}\cmidrule(rl){2-2}\cmidrule(l){3-3} +Kupfer + & \begin{Vorteile}% + \item leicht zu verarbeiten + \end{Vorteile}% + & \begin{Nachteile} + \item Oberfläche ist autoxydabel + \item Kupferoxid oxidiert organische Stoffe + \item ungeeignet wenn Sauerstoff im Trägergas vorhanden ist + \item aufwendiges Herstellungsverfahren + \end{Nachteile} \tabularnewline\cmidrule(r){1-1}\cmidrule(rl){2-2}\cmidrule(l){3-3} +Teflon + & \begin{Vorteile} + \item vollständig inert + \item Analyse von aggressiven Substanzen möglich + \end{Vorteile} + & \begin{Nachteile} + \item Material kann mikroporös sein, Spurenelemente der Außenluft rufen negative + Effekte bei der Analyse hervor + \end{Nachteile} \tabularnewline\cmidrule(r){1-1}\cmidrule(rl){2-2}\cmidrule(l){3-3} +Silizium + & \begin{Vorteile} + \item fast vollständig inert + \item nahezu unbegrenzte Rohstoffreserven + \item autoxydable Bildung von nativen Siliziumdioxiden + \end{Vorteile} + & \begin{Nachteile} + \item zerbrechlicher als Metalle + \end{Nachteile} \tabularnewline\addlinespace\bottomrule + \end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-42.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-42.ltx new file mode 100644 index 00000000000..e3cc2b17c32 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-42.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-42 on page 208. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{array,environ,graphicx} +\NewEnviron{collectC}{% + \mbox{}\scalebox{1}[-1]{% + \raisebox{-\height}{\BODY}}} +\newcolumntype{C}{>{\begin{collectC}} c + <{\end{collectC}}} + +\begin{document} +\begin{tabular}{|l C r|} \hline + U & V & W \\ + \LaTeX & \LaTeX & \LaTeX \\ + X & Y & Z \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-43.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/06-00-43.ltx2 new file mode 100644 index 00000000000..9bb54b3071c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-43.ltx2 @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-43 on page 209. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1,2 +%% +\documentclass[oneside,11pt]{article} +\pagestyle{empty} +\setlength\textwidth{183.78818pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[paper=a5,pagesize,DIV14]{typearea} +\usepackage{fancyhdr} +\lhead{A survey} +\pagestyle{fancy} +\usepackage[english]{babel} + +\usepackage{ltablex,ragged2e} +\keepXColumns +\newcolumntype{C}{>{\Centering}X} +\newcolumntype{P}[1]{>{\Centering}p{#1}} +%------------ After a suggestion by David Kastrup ------------ +\newcommand\replicate[2]{\ifnum#1>0 #2% + \expandafter\replicate\expandafter{\number\numexpr#1-1}{#2}\fi} +\newcommand*\NumberLines{79} \newcounter{N} +\newcommand*\Space{\rule[-1.8mm]{0pt}{6mm}} + +\begin{document} +\begin{tabularx}{\linewidth}{|r|c|P{3cm}|C|P{3cm}|} \hline +\textbf{No} & \textbf{first name} & \textbf{last name} + & \textbf{address} & \textbf{signature} \Space \\ \hline +\endhead +% +\replicate{\NumberLines}{\stepcounter{N}\theN &&&& \Space \\ \hline} +% +\end{tabularx} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-44.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-44.ltx new file mode 100644 index 00000000000..f1617a76984 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-44.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-44 on page 210. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{booktabs} +\usepackage{dcolumn} +\newcommand\mc[1]{\multicolumn{1}{@{}c@{}}{#1}} +\newcolumntype{x}{D{.}{.}{3.2}@{\kern1pt\%\kern10pt}} +\newcolumntype{y}{D{.}{.}{3.1}@{\%\kern10pt}} + +\begin{document} +\begin{tabular}{@{} r @{\kern2pt} yyy x y x yyy @{}}\toprule + &\mc{CSY} &\mc{Ezaki} &\mc{Holz}&\mc{Maddison}&\mc{Wong} &\mc{Chow} &\mc{Wang} + &\mc{Scheibe}&\mc{IMF} \\ + &\mc{} &\mc{and Sun}&\mc{} &\mc{} &\mc{and Chan}&\mc{and Li}&\mc{and Yao} + &\mc{} & \mc{}\\ + &\mc{2006}&\mc{1999} &\mc{2005}&\mc{2007} &\mc{2003} &\mc{2002} &\mc{2003} + &\mc{2003} & \mc{}\\\midrule +1978 & 11.7 &\mc{} & 11.7 & 7.71 &\mc{} & 7.60 & 7.6 & 7.6 &\mc{} \\ +1979 & 7.6 &\mc{} & 7.6 & 3.37 &\mc{} & 7.81 & 7.8 & 7.6 &\mc{} \\ +1980 & 7.8 &\mc{} & 7.8 & 5.98 &\mc{} & 5.26 & 5.2 & 5.2 & 7.9 \\ +1981 & 5.2 & 5.2 & 5.2 & 7.52 & 5.3 & 9.01 & 9.1 & 9.1 & 4.7 \\ +1982 & 9.1 & 9.3 & 9.1 & 8.48 & 12.1 & 10.89 & 10.9 & 10.9 & 9.1 \\ +1983 & 10.9 & 11.2 & 10.9 & 12.45 & 9.6 & 15.18 & 15.2 & 15.2 & 10.9 \\\bottomrule +% \mc{} in empty cells to prevent output of the % character +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-45.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-45.ltx new file mode 100644 index 00000000000..6bae1ac0dcb --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-45.ltx @@ -0,0 +1,99 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-45 on page 210. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\makeatletter +\newcounter{tempI} +\newcommand*\Ceiling[3]{% + \@tempdima#1\relax\@tempdimb#2\relax + \@tempdimc\z@\@tempcnta\z@ + \loop + \ifdim \@tempdimc<\@tempdima + \advance\@tempdimc\@tempdimb + \advance\@tempcnta\@ne + \repeat + #3=\@tempcnta \ignorespaces +} +\newcommand*\show@Value[2]{% + \@tempcnta=#2\relax + \advance\@tempcnta-#1\relax + \makebox[0pt][c]{\the\@tempcnta}% +} +\newcommand*\Lineal[1][\linewidth]{% + \noindent + \begingroup + \thinlines \unitlength=1mm \normalfont\scriptsize\sffamily + \settoheight\@tempdima{0}\advance\@tempdima2.7\unitlength + \picture(#1\@gobble,\@tempdima\@gobble)% + \put(0,0){\line(1,0){#1\@gobble}} + \Ceiling{#1}{\unitlength}{\value{tempI}} + \multiput(0,0)(1,0){\value{tempI}}{\line(0,1){1}} + \Ceiling{#1}{5\unitlength}{\value{tempI}} + \multiput(0,0)(5,0){\value{tempI}}{\line(0,1){2}} + \Ceiling{#1}{10\unitlength}{\value{tempI}} + \multiput(0,0)(10,0){\value{tempI}}{% + \put(0,0){\line(0,1){2.7}} + \put(0,3){\show@Value{\@multicnt}{\value{tempI}}}} + \endpicture + \endgroup \ignorespaces} +\newenvironment{testArea}% + {\list{}{% + \rightmargin=1.5mm\relax + \leftmargin-\rightmargin + \advance\linewidth2\rightmargin + \topsep\z@ + \itemsep\parskip + \parsep\parskip + \partopsep\parskip + \let\makelabel\@gobble}% + \item[]% + \minipage{\linewidth}\normalfont\itshape + \Lineal\par}% + {\endminipage\endlist} +\newcommand*\Pfeil{% + \picture(0,0)% + \put(0,0){\vector(0,1){1.5\ht\strutbox\@gobble}} + \endpicture} +\makeatother + +\usepackage{tabto} + +\begin{document} +\begin{testArea}% see preamble of the example -> CTAN + \NumTabs{4} + duck \tab goose \tab turkey \tab coot \par + \tab \tab \tab grouse +\end{testArea} + +\bigskip +\begin{testArea} + \TabPositions{1.5cm,5cm,8cm} + duck \tab goose \tab turkey \tab coot \par + \tab \tab \tab grouse +\end{testArea} + +\bigskip +\begin{testArea} + duck \tabto{1.5cm} goose \tabto{5cm} turkey \tabto{8cm} + coot \par \tabto{8cm} grouse \tabto*{4cm} pelican +\end{testArea} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-46.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-46.ltx new file mode 100644 index 00000000000..bd9392e0ffd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-46.ltx @@ -0,0 +1,55 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-46 on page 212. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{datatool} +\usepackage{eurosym,booktabs} +\DTLsetseparator{;} +\DTLsetnumberchars{}{,} +\DTLsetdefaultcurrency{\texteuro~} +\DTLloaddb{list}{data/data2d.csv} +\DTLsort{lastname,firstname}{list} +\DTLsumforkeys{list}{topay}{\debit} +\DTLsumforkeys{list}{paid}{\credit} + +\begin{document} +\small\addtolength\tabcolsep{-1pt} +\begin{tabular}{@{} r llll rr @{}}\toprule +ID & first name & last name & street & city & to pay & paid \\\midrule +\DTLforeach{list}{% defined list elements + \first=firstname,\last=lastname,\address=street, + \town=city,\fee=topay,\paid=paid}{% + \\ \theDTLrowi & \first & \last & \address & \town & \euro\, % + \DTLifcurrency {\fee} % if \fee is a currency + {\DTLconverttodecimal{\fee}{\fee} % then convert to decimal + % and save the converted value in + % \fee + {\fee}} % output the value of \fee + {\fee} % if no currency, then only output + & \euro\, \DTLifcurrency{\paid}% if \paid is a currency + {\DTLconverttodecimal{\paid}{\paid}{\paid}} % then convert + {\paid}} \\\midrule % else output \paid +& & & & & \DTLdecimaltocurrency{\debit}{\debit}\euro\,\debit& % +\DTLdecimaltocurrency{\credit}{\credit}\euro\,\credit \\\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-5.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/06-00-5.ltxps new file mode 100644 index 00000000000..9e8f594d2b6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-5.ltxps @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-5 on page 181. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{pstricks} + +\begin{document} +\setlength\tabcolsep{2mm}\psset{xunit=12mm, yunit=\baselineskip}% +\pspolygon[linecolor=red,linewidth=2pt] + (0,-3.3)(0,2.7)(2,2.7)(2,1.7)(4,1.7)(4,0.7)(6,0.7)(6,-1.3)(7,-1.3) + (7,-2.3)(5,-2.3)(5,-3.3)(4,-3.3)(4,-2.3)(3,-2.3)(3,-3.3) +\begin{tabular}{*{8}{p{8mm}}} +H & & & & & & & He\\ Li & Be & B & C & N & O & F & Ne\\ +Na & Mg & Al & Si & P & S & Cl & Ar\\ K & Ca & Ga & Ge & As & Se & Br & Kr\\ +Rb & Sr & In & Sn & Sb & Te & I & Xe\\ Cs & Ba & Tl & Pb & Bi & Po & At & Rn\\ +Fr & Ra & 112& & 114& & &\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-6.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/06-00-6.ltxps new file mode 100644 index 00000000000..48aafa6db07 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-6.ltxps @@ -0,0 +1,37 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-6 on page 181. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{pstricks} + +\begin{document} +\setlength\tabcolsep{2mm}\psset{xunit=12mm, yunit=\baselineskip}% +\pspolygon[fillcolor=lightgray,fillstyle=solid,linestyle=none](0,-3.3)(0,2.7)(2,2.7) + (2,1.7)(4,1.7)(4,0.7)(6,0.7)(6,-1.3)(7,-1.3)(7,-2.3)(5,-2.3)(5,-3.3)(4,-3.3) + (4,-2.3)(3,-2.3)(3,-3.3) +\begin{tabular}{*{8}{p{8mm}}} +H & & & & & & & He\\ Li & Be & B & C & N & O & F & Ne\\ +Na & Mg & Al & Si & P & S & Cl & Ar\\ K & Ca & Ga & Ge & As & Se & Br & Kr\\ +Rb & Sr & In & Sn & Sb & Te & I & Xe\\ Cs & Ba & Tl & Pb & Bi & Po & At & Rn\\ +Fr & Ra & 112& & 114& & &\\ +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-7.ltxps b/Master/texmf-dist/doc/latex/tabulars-e/06-00-7.ltxps new file mode 100644 index 00000000000..744206525ac --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-7.ltxps @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-7 on page 182. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} + +\usepackage{pst-node}\SpecialCoor + +\begin{document} +\setlength\tabcolsep{2mm} +\begin{tabular}{*{8}{p{4mm}}} + H & & & & &\rnode{A}{~~}&& He\\ Li & Be & B & C & N & O & F & Ne\\ + Na & Mg & Al & Si & P & S & Cl & Ar\\ + \rnode{B}{K}& Ca & Ga & Ge & As & Se & Br & \rnode{b}{Kr}\\ + Rb & Sr & In & Sn & Sb & Te & I & Xe\\ Cs & Ba & Tl & Pb & Bi & Po & At & Rn\\ + Fr & Ra & 112& & 114 & \rnode{a}{~~} && +\end{tabular} +\psset{linecolor=red,linewidth=1.5pt,nodesep=-1em}\pcline(A)(a)\pcline(B)(b) +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-8.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-8.ltx new file mode 100644 index 00000000000..74bcd70c58e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-8.ltx @@ -0,0 +1,30 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-8 on page 182. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{177.70511pt} +\setlength\parindent{0pt} + +\usepackage{array} + +\begin{document} +\parbox[0cm][0.5ex][s]{0mm}{\makebox[42mm]{\dotfill}}% +\begin{tabular}{|b{9mm}|m{9mm}|p{9mm}|}\hline +text text & text text & text text \\\hline +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/06-00-9.ltx b/Master/texmf-dist/doc/latex/tabulars-e/06-00-9.ltx new file mode 100644 index 00000000000..02ac695791c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/06-00-9.ltx @@ -0,0 +1,40 @@ +%% +%% A DANTE-Edition example +%% +%% Example 06-00-9 on page 182. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\usepackage[english]{babel} + +\usepackage{dcolumn,booktabs,ragged2e} \newcolumntype{d}[1]{D{.}{,}{#1}} +\newcolumntype{P}[1]{>{\scriptsize\Centering\hspace{0pt}}p{#1}} + +\begin{document} +\begin{tabular}{@{} l *{3}{d{7.0}} @{}}\toprule +\scriptsize city + & \multicolumn{1}{P{6em}@{}}{total number of local and national calls} + & \multicolumn{1}{P{6em}@{}}{calls from public telefons} + & \multicolumn{1}{P{6em}@{}}{national and international calls from home} \\ + \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(lr){3-3}\cmidrule(l){4-4} +London & 723849 & 436322 & 287527 \\ Exeter & 957365 & 593146 & 364219 \\ +Newcastle& 1242212 & 1115321 & 1326861 \\ Dover & 1641050 & 942316 & 698734 \\ +Edinburgh & 1351204 & 651223 & 442747 \\ Glasgow & 1274714 & 394613 & 915853 \\ +\bottomrule +\end{tabular} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/07-02-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/07-02-1.ltx2 new file mode 100644 index 00000000000..8751c1248ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/07-02-1.ltx2 @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 07-02-1 on page 215. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:82mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\let\belowcaptionskip\abovecaptionskip +\lhead{\small\texttt{\textbackslash caption} demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{|c|}\hline +A \texttt{longtable} without +\texttt{\textbackslash caption}.\\\hline +\end{longtable} + +\begin{table} +\centering +\caption{A table caption with + the wrong number.} +\begin{tabular}{|c|}\hline +A normal table.\\\hline +\end{tabular} +\end{table} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/07-02-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/07-02-2.ltx2 new file mode 100644 index 00000000000..9f4321fec19 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/07-02-2.ltx2 @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% Example 07-02-2 on page 216. +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:82mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[english]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption} demo} +\let\belowcaptionskip\abovecaptionskip +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{page \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{|c|}\hline +A \texttt{longtable} without +\texttt{\textbackslash caption}.\\\hline +\end{longtable} +\addtocounter{table}{-1}%%%%% + +\begin{table} +\centering +\caption{A table caption with the correct number.} +\begin{tabular}{|c|}\hline +A normal table.\\\hline +\end{tabular} +\end{table} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/07-03-1.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/07-03-1.ltx2 new file mode 100644 index 00000000000..dc38d72b381 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/07-03-1.ltx2 @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{190.324pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:82mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[ngerman]{babel} +\usepackage{fancyhdr} +\let\belowcaptionskip\abovecaptionskip +\lhead{\small\texttt{\textbackslash caption}-Demo} +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{Seite \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{|c|}\hline +Eine \texttt{longtable} ohne +\texttt{\textbackslash caption}.\\\hline +\end{longtable} + +\begin{table} +\centering +\caption{Eine Tabellenüberschrift mit + falscher Zählung.} +\begin{tabular}{|c|}\hline +Eine normale Tabelle\\\hline +\end{tabular} +\end{table} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/07-03-2.ltx2 b/Master/texmf-dist/doc/latex/tabulars-e/07-03-2.ltx2 new file mode 100644 index 00000000000..ea50cddce81 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/07-03-2.ltx2 @@ -0,0 +1,48 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{190.324pt} +\usepackage[utf8]{inputenc}% adapt maybe +\usepackage[paper=70mm:82mm,pagesize]{typearea} +\setlength\parindent{0pt} +\usepackage[ngerman]{babel} +\usepackage{fancyhdr} +\lhead{\small\texttt{\textbackslash caption}-Demo} +\let\belowcaptionskip\abovecaptionskip +\pagestyle{fancy} +\setcounter{page}{1} +\renewcommand\thepage{Seite \arabic{page}} + +\usepackage{longtable} + +\begin{document} +\begin{longtable}{|c|}\hline +Eine \texttt{longtable} ohne +\texttt{\textbackslash caption}.\\\hline +\end{longtable} +\addtocounter{table}{-1}%%%%% + +\begin{table} +\centering +\caption{Eine Tabellenüberschrift mit + richtiger Zählung.} +\begin{tabular}{|c|}\hline +Eine normale Tabelle\\\hline +\end{tabular} +\end{table} +\end{document} diff --git a/Master/texmf-dist/doc/latex/tabulars-e/README b/Master/texmf-dist/doc/latex/tabulars-e/README new file mode 100644 index 00000000000..e7f14a5e712 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/README @@ -0,0 +1,13 @@ +run the examples with pdflatex or latex + +All examples with an ps in the file extension +must be run with latex->dvips->ps2pdf + +The file extension .???crop has no further meaning, +it was only needed for the book production. +Commands like \AtBeginDocument, \setlength, aso are +often also without a special meaning and only valid +for the book production. + +If you find in an example two \documentclasses commands, +then simply delete one.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tabulars-e/din8.eps b/Master/texmf-dist/doc/latex/tabulars-e/din8.eps new file mode 100644 index 00000000000..6ad1ccae374 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/din8.eps @@ -0,0 +1,35 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: potrace 1.8, written by Peter Selinger 2001-2007 +%%LanguageLevel: 2 +%%BoundingBox: 0 0 468 468 +%%Pages: 1 +%%EndComments +%%Page: 1 1 +currentfile /ASCII85Decode filter /LZWDecode filter cvx exec +J.'GRZOs"gA.TUeVISs@bR,/NO(T\_Yh4@J6j[M4)8+mQN'n!XZ\3Wk0/t#m@KDR@U`_@Z+ +VM&=\m[?*),CGm7%EIf1*'*k!MG$G0/f@qP[O^GO\1h)BG;q0JECu/#S"dP4VFeK3X>qqag +Hf\-T7RXUp0s)b'T[T&#POEJ>">L*m>rUSE>!.QsTt#ff>/f/Xk@n;KJ8m[mcUIMkU:kf^T +9%airqQ\:W@0Y@m:MRh^ED0c4<k7RKc%95GHg7h]YY(1(D\%VsMg?:J<F)fG5%;j#_TF>q> +/q$F=3%ECE^H2NXBhD-`Db-TeXFZ338K^312A):J]+O9A][-\-NL+i/UF1^aEkKu35n8'03 +-*U_!NbLJ-4fGPliXd`Gb%rl0iir.ZY+mIA0tU4h>d;*t";[2]_qZmJ-Rh%)4fiK6hY=(.@ +`$ElBm\_;":Vfo2n7/.XG@<>o#<O4i_$)A\1fU%2(=KA:-BhS@,<o&UO^3B-a'tt4gd%QkV +J5d$dLn$"%k,.NoSi/.n^N%5qWSonh,l[j-[^D!C;6@)hu2=A/M.aPj(8*$F%N(Xh[bG401 +`K;AP"(92[Tt9L<L42Jni$"U9rZ:o:+sSIQN..;^CIL5B2%+Jj1IC>#GY[2Kph[('U;:eE< +AVR*Z)@[`$cXY38T<1(T-"sKan)?rhT*8j\:?&T[\<E0MGe;U%7))c>+@+g7-P)EF?iKJCi +fG1>!4]h`J>@C^O"d;=$+U)8l2ci^$>H$/8'j+PrW++J8mF=Ij";G>WQI-"S@qed,SU3t+< +5oI\@&e',7asD?pM!mbL,4b9Fj;90;bAfLL"$JI@ohT210C!q6'Y%G=5fN[g=!K]EJEC;_M +^f^)0f='e3UrU:0L=\'3$BeS[F8Ka_$\>#2.XFh$-SJ9[9mS/f.Tfc0[;Z>,lIIY#,M&?5h +@qL;0[s(B,,Hl+4$U98=ETMkFA0*hF/18i9H'kuiGV:+3LZXHqO$Xs'4tes1rY2L+p_^+p' +:5KE5^re_ZE6(Y&qB8SQXb>iEh/ZVlp`anOZBjWutFHmm&<*WJ1+i%!9%i&R->ZVfb>'bVf +)_?1*N#AI0%L%LA)$Uu0?C[VKkg@*+N;Mj?2@\/AR3%9DhO*E&Jn'3U4bMgR(i8-j3`a"&k +368pK\]`@X/pGjHj^#K(<;5((mulZ"cZZp'r8%`]&-en+e0t2kdF46Y\O_35,gGTV4Ad##& ++7EWWim7RX(lYCe^A3GGqe#j4%*;OnkK1;S-"7&7)?N(bXqm%,L7T!C51%)\ihl:(#['cu" +RgjkcV6.j%^U@@FktqR]ik8iC)-P<(s>\=&8fJ8iWk^Ls]Y%LWYD5hSd_-n\.1H)V#;M-)j +Y-K*iunV4%u9s84IrDeLp?I5fg_U_^,du6&Bd+1=_=DXeb_LculH/lW;]b2"uXD(ImmkNB% +9%bB(#&K^W/dUDDiG=$MOq!/e=E,N.dk603rBs3>QKMT/(m9q@8>k,rlm.b0FUefs6MSYGT +o=2MP*R'-\9&/s]Gm!3C0/;%@jK^VQ'"dtk5s<o-Phr<:f5ABasdK;eQg%'17`d7OC7TE]Z +YRs3`o%@1:CeZ[?D%8CWi-Qal*qLQk.nJc3WjOTmXj]b#-/IH.=/&C>bZLAhcl&X$'Meg6i +W:JA54N2s)*)R'VB4W&KVb,i$V7P<*n\3ZBq&]cj+*mQSK:])u^5)5%T[CW_t\X6;[j@PfQ +u/LfdKji&`R:(ALG=bA^^r8=<Veq'f$9bui-+u'cXe53^96`Ec3??EGQ.;7g:.)SK8P]!?S +!#1_$.!%BLa>/:?!W~> +%%EOF |