diff options
author | Karl Berry <karl@freefriends.org> | 2022-07-31 20:42:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-07-31 20:42:23 +0000 |
commit | 7abc545a5c6600bb7478cf356c60acb2c4e74e2e (patch) | |
tree | 54156236e2c776831fd8e9b2eed733e06d5b1751 /Master/texmf-dist/doc/latex/colortbl | |
parent | 777011fda32e002ee464628cc0bb24380db95279 (diff) |
colortbl (31jul22)
git-svn-id: svn://tug.org/texlive/trunk@64015 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/colortbl')
-rw-r--r-- | Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf | bin | 325132 -> 344915 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex | 108 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/colortbl/colortbl.pdf | bin | 269404 -> 296824 bytes |
3 files changed, 107 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf b/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf Binary files differindex 5148eaecd37..7dccb6c616b 100644 --- a/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf +++ b/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.pdf diff --git a/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex b/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex index 113bbee8afc..330a9f3fc2d 100644 --- a/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex +++ b/Master/texmf-dist/doc/latex/colortbl/colortbl-DE.tex @@ -6,6 +6,7 @@ \setlength{\parindent}{0pt} \setlength{\parskip}{1ex plus 0.2ex minus 0.1ex} + \usepackage{dcolumn,longtable,hhline,colortbl} \usepackage[table]{xcolor} \setlongtables% @@ -14,7 +15,7 @@ \def\slash#1{\textbackslash#1} \title{The \textsf{colortbl} package\footnote{1.\,"Ubersetzungsversion, - letzte "Anderung 15.\,3. 2009}} + letzte "Anderung 30.\,7. 2022}} \author{{\huge David Carlisle}\\ (\"Ubersetzung: Anne-Katrin Leich \& Christine R"omer)} @@ -349,6 +350,111 @@ sodass die voreingestellten Farben der betreffenden Zeile und Spalte aufgehoben \end{tabular}} \end{center} + +\section{Der \slash \textsf{rowcolors} Befehl} +Der \slash \textsf{rowcolors}-Befehl und seine Dokumentation stammen aus dem \textsf{xcolor}-Paket +von Dr. Uwe Kern. + +\textbf{\slash rowcolors}\\\relax + [commands]\{row\}\{odd-row color\}\{even-row color\} + +\textbf{\slash rowcolors*}\\\relax + [commands]\{row\}\{odd-row color\}\{even-row color\} + +Einer dieser Befehle muss ausgeführt werden, \emph{bevor} eine Tabelle gestartet wird. + +\emph{row} gibt die Nummer der ersten Zeile an, die nach dem Schema \emph{odd-row color} und \emph{even-row color} gefärbt werden soll. +Jedes der Farbargumente kann auch leer gelassen werden (= keine Farbe). +In der Version mit Stern werden Befehle \emph{commands} in Zeilen mit inaktivem \emph{rowcolors status} (siehe unten) ignoriert, während in der Version ohne Stern \emph{Befehle} auf jede Zeile der Tabelle angewendet werden. +Solche optionalen Befehle können \verb"\hline" oder \verb"\noalign"\{\emph{stuff}\} sein. + +\textbf{\slash showrowcolors, \slash hiderowcolors} + + +Der \emph{rowcolors status} ist standardmäßig aktiviert (d.h. das Farbschema wird verwendet), +er wird durch den Befehl \verb"\hiderowcolors" deaktiviert (d.h. das Farbschema wird ignoriert) und kann +mit \verb"\showrowcolors" wieder aktiviert werden. + +\textbf{\slash rownum} + +Der Zähler \verb"\rownum" (oder \LaTeX\ Zähler \verb"rownum" +kann innerhalb einer solchen Tabelle verwendet werden, um auf die aktuelle Zeilennummer zuzugreifen. + +Derzeit wird der \verb"rownum"-Zähler nur in Tabellen mit \verb"\rowcolors" inkrementiert. + +\begin{center} +\begin{minipage}{\textwidth} +\begin{verbatim} +\rowcolors[\hline]{3}{green}{yellow} \arrayrulecolor{red} +\begin{tabular}{ll} +test & row \therownum\\ +test & row \therownum\\ +test & row \therownum\\ +test & row \therownum\\ +\arrayrulecolor{black} +test & row \therownum\\ +test & row \therownum\\ +\rowcolor{blue} +test & row \therownum\\ +test & row \therownum\\ +\hiderowcolors +test & row \therownum\\ +test & row \therownum\\ +\showrowcolors +test & row \therownum\\ +test & row \therownum\\ +\multicolumn{1}% + {>{\columncolor{red}}l}{test} & row \therownum\\ +\end{tabular} +\end{verbatim} +\end{minipage} +\hskip-.5\textwidth +\rowcolors[\hline]{3}{green}{yellow} \arrayrulecolor{red} +\begin{tabular}{ll} +test & row \therownum\\ +test & row \therownum\\ +test & row \therownum\\ +test & row \therownum\\ +\arrayrulecolor{black} +test & row \therownum\\ +test & row \therownum\\ +\rowcolor{cyan} +test & row \therownum\\ +test & row \therownum\\ +\hiderowcolors +test & row \therownum\\ +test & row \therownum\\ +\showrowcolors +test & row \therownum\\ +test & row \therownum\\ +\multicolumn{1}% + {>{\columncolor{magenta}}l}{test} & row \therownum\\ +\end{tabular} +\qquad +\rowcolors*[\hline]{3}{green}{yellow}\arrayrulecolor{red} +\begin{tabular}{ll} +test & row \therownum\\ +test & row \therownum\\ +test & row \therownum\\ +test & row \therownum\\ +\arrayrulecolor{black} +test & row \therownum\\ +test & row \therownum\\ +\rowcolor{blue} +test & row \therownum\\ +test & row \therownum\\ +\hiderowcolors +test & row \therownum\\ +test & row \therownum\\ +\showrowcolors +test & row \therownum\\ +test & row \therownum\\ +\multicolumn{1}% + {>{\columncolor{red}}l}{test} & row \therownum\\ +\end{tabular} +\arrayrulecolor{black} +\end{center} + \section{Der \slash \textsf{cellcolor} Befehl} Die Einstellung der Hintergrundfarbe kann auch auf eine einzelne Zelle beschr"ankt werden, diff --git a/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf b/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf Binary files differindex 5d1174b694e..88310439cd2 100644 --- a/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf +++ b/Master/texmf-dist/doc/latex/colortbl/colortbl.pdf |