diff options
author | Karl Berry <karl@freefriends.org> | 2017-09-27 23:03:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-09-27 23:03:17 +0000 |
commit | 84648b2a3848ee4ddf34f67f927d4437a1bf4c9c (patch) | |
tree | acb93c26b1bcc2aea86cc982852bcd079263d7df /Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex | |
parent | 49c73d01116f5b4c5f2d55a3661b8fa28bc5f831 (diff) |
xltabular (27sep17)
git-svn-id: svn://tug.org/texlive/trunk@45412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex b/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex new file mode 100644 index 00000000000..ccf08acce59 --- /dev/null +++ b/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex @@ -0,0 +1,97 @@ +%% $Id: xltabular-doc.tex 586 2017-09-27 17:00:55Z herbert $ +% +\listfiles +\documentclass[fontsize=11pt,DIV=14,parskip=half-]{scrartcl} +\usepackage{fontspec} +\usepackage{graphicx} +\usepackage{multido} +\usepackage[%usefilenames, + TT={Scale=0.88,FakeStretch=0.9}, + SS={Scale=0.9}, + RM={Scale=0.9}, + DefaultFeatures={Ligatures=TeX}]{lucida-otf} % support opentype math fonts +\usepackage{xltabular} +\makeatletter +\let\XLVersion\xltabular@version +\makeatother + +\usepackage{dtk-logos} % for Wikipedia W +\usepackage{ragged2e} + +\usepackage{biblatex} +\addbibresource{\jobname.bib} + +\pagestyle{headings} + +\title{Package \texttt{xltabular} \\--\\ v.~\XLVersion} +\author{Rolf Niepraschk \and Herbert Voß} +\begin{document} +\maketitle +\tableofcontents + +\section{Introduction} + +The package \texttt{ltablex} supports an environment \texttt{tabularx} with +the possiblity of pagebreaks and the same header/footer definitions as in +the package \texttt{longtable}. But the old bevaviour of the \texttt{tabularx} +environment is no more possible. + +The package \texttt{xltabular} defines an environment of the same name +which behaves like a \texttt{tabularx} as a \texttt{longtable}. In short: +it is a \texttt{longtable} with the column specifier \texttt{X}. But it leaves the +\texttt{tabularx} environment with its original behaviour. + + +\section{Examples} + +\newcommand\B{XXXXXXXXXXXXXXXXXXXXXXXXXXXX\\} +\newcommand\BB{\B\B\B\B\B\B\B\B\B\B\B\B\B\B\B} +\newcommand\BBB{\BB\BB\BB\BB} + +\listoftables + +\begin{tabularx}{\linewidth}{@{}X@{}} +\captionaboveof{table}{The original \texttt{tabularx} environment: pagebreak not possible!}\\ +\BBB +\end{tabularx} + + +\begin{xltabular}{\linewidth}{@{}X@{}} +\caption{the \texttt{xltabular} environment with \texttt{longtable} property}\\[\belowcaptionskip] +\BB\\ +Now a manuel \texttt{\textbackslash pagebreak} is used\\ +\pagebreak +\BBB +\end{xltabular} + + + +\begin{xltabular}{\linewidth}{@{}>{\ttfamily}l>{\RaggedRight}X@{}} +\caption{File endings (only for a demonstration \ldots)}\\\hline +.ext & Beschreibung\\\hline +\endfirsthead +\multicolumn{2}{@{}l}{\ldots\ \small Fortsetzung}\\\hline +.ext & Beschreibung\\\hline +\endhead +\hline +\multicolumn{2}{r@{}}{\small Fortsetzung\ldots}\\ +\endfoot +\hline +\endlastfoot +aux & (auxiliary) Hilfsdatei, enthält Querverweise usw. \\ +bbl & (bibliography) Hilfsdatei, enthält die Einträge für die Literatur\\ +bib & (bibtex) enthält die Literaturdaten\\ +blg & (bibliography log) enthält die Ausgaben eines Bib\TeX-Laufs\\ +cfg & (config) Konfigurationsdatei\\ +clo & (class options) Definitionen für die Dokumentenklasse + und die entsprechenden Klassen-Optionen\\ +\end{xltabular} + + + +\nocite{*} +\printbibliography + + +\end{document} + |