From bec3c3620f16ee9e8f1450a898fe9523eaf274c2 Mon Sep 17 00:00:00 2001 From: Michael Grinberg <michael.grinberg@iosb.fraunhofer.de> Date: Tue, 5 Mar 2019 01:16:06 +0100 Subject: [PATCH] =?UTF-8?q?Beispiel=20f=C3=BCr=20gedrehte=20Tabelle=20in?= =?UTF-8?q?=20eine=20Extra-Datei=20ausgelagert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/0X-ExampleContents/Tabellen.tex | 51 ++----------------------- tables/SidewaysTable.tex | 48 +++++++++++++++++++++++ 2 files changed, 51 insertions(+), 48 deletions(-) create mode 100644 tables/SidewaysTable.tex diff --git a/content/0X-ExampleContents/Tabellen.tex b/content/0X-ExampleContents/Tabellen.tex index c76d42b..eed49fe 100644 --- a/content/0X-ExampleContents/Tabellen.tex +++ b/content/0X-ExampleContents/Tabellen.tex @@ -63,6 +63,8 @@ Etwas komplizierter wird es, wenn man eine Tabelle mit alternierender Farbe einf %%--------------------------------------- %% \begin{table} +\caption{Tabelle mit alternierender Zeilenfarbe}% +\label{tab:AlternierendeZeilenfarben}% \tablestyle% \tablealtcolored% \begin{tabular}{*{2}{v{0.45\textwidth}}} @@ -86,7 +88,6 @@ Etwas komplizierter wird es, wenn man eine Tabelle mit alternierender Farbe einf Inhalt & Inhalt \tabularnewline \bottomrule% \end{tabular}% -\captionof{table}{Superteil 4}% \end{table} %% %% ------------------------------------------------------------ @@ -136,50 +137,4 @@ Also so: Ein Ergebnis sieht man in \cref{tab:ex-sideways}. - -\begin{sidewaystable}[p] -\scriptsize% -%\tiny -\centering% -\begin{tabular}{l M M M M M}% -\toprule% -\addlinespace[0pt]% - & \multicolumn{5}{c}{\bfseries Level} \tabularnewline - & \multicolumn{2}{c}{\bfseries Qualitative} & \multicolumn{3}{c}{\bfseries Quantitative} \tabularnewline - & \bfseries\centering Nominal & \bfseries\centering Ordinal & \bfseries\centering Interval & \bfseries\centering Ratio & \bfseries\centering Absolute \tabularnewline \addlinespace[0pt]\midrule\addlinespace[0pt] -Empirical relation & -\begin{tabitemize}\item[$\sim$] Equivalence\end{tabitemize} & -\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\end{tabitemize} & -\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\end{tabitemize} & -\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\strut\end{tabitemize} & -\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\strut\end{tabitemize} \tabularnewline \midrule -Empirical operation & - & - & -\begin{tabitemize}\item[$\oplus$] Addition\end{tabitemize} & -\begin{tabitemize}\item[$\oplus$] Addition\item[$\otimes$] Multiplication\strut\end{tabitemize} & -\begin{tabitemize}\item[$\oplus$] Addition\item[$\otimes$] Multiplication\strut\end{tabitemize} \tabularnewline \midrule -Feasable transformation & -$m' = f( m )$ for $f$ bij.\strut & -$m' = f( m )$ for $f$ mon.\strut & -$m' = am + b$ for $a>0$\strut & -$m' = am$ for $a>0$\strut & -$m' = m$\strut \tabularnewline \midrule -Examples of features & -\begin{tabitemize}\item Telephone numbers\item Postal codes\item Gender\strut\end{tabitemize} & -\begin{tabitemize}\item Grades\item Degree of hardness\item Wind intensity\strut\end{tabitemize} & -\begin{tabitemize}\item Temperatur in F\textdegree\item Calendric time\item Geographic altitude\strut\end{tabitemize} & -\begin{tabitemize}\item Temperatur in K\item Mass\item Length\item Electric current\strut\end{tabitemize} & -\begin{tabitemize}\item Quantum numbers\item Error number\strut\end{tabitemize} \tabularnewline \midrule -Range of features & -\begin{tabitemize}\item Numbers\item Names\item Symbols\strut\end{tabitemize} & -Natural numbers & -Real numbers & -Real, positive numbers & -Natural numbers \tabularnewline \midrule -Expressiveness & low & \dots & \dots & \dots & high\strut \tabularnewline \addlinespace[0pt] -\bottomrule% -\end{tabular}% -\caption{Beispiel für eine breite, gedrehte Tabelle (hier: Taxonomie der Maßskalen)}% -\label{tab:ex-sideways}% -\end{sidewaystable} \ No newline at end of file +\input{tables/SidewaysTable.tex} \ No newline at end of file diff --git a/tables/SidewaysTable.tex b/tables/SidewaysTable.tex new file mode 100644 index 0000000..37a2d6c --- /dev/null +++ b/tables/SidewaysTable.tex @@ -0,0 +1,48 @@ +%% Um 90° gedrehte Tabelle +% +\begin{sidewaystable}[p] +\scriptsize% +%\tiny +\centering% +\begin{tabular}{l M M M M M}% +\toprule% +\addlinespace[0pt]% + & \multicolumn{5}{c}{\bfseries Level} \tabularnewline + & \multicolumn{2}{c}{\bfseries Qualitative} & \multicolumn{3}{c}{\bfseries Quantitative} \tabularnewline + & \bfseries\centering Nominal & \bfseries\centering Ordinal & \bfseries\centering Interval & \bfseries\centering Ratio & \bfseries\centering Absolute \tabularnewline \addlinespace[0pt]\midrule\addlinespace[0pt] +Empirical relation & +\begin{tabitemize}\item[$\sim$] Equivalence\end{tabitemize} & +\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\end{tabitemize} & +\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\end{tabitemize} & +\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\strut\end{tabitemize} & +\begin{tabitemize}\item[$\sim$] Equivalence\item[$\prec$] Ordering\strut\end{tabitemize} \tabularnewline \midrule +Empirical operation & + & + & +\begin{tabitemize}\item[$\oplus$] Addition\end{tabitemize} & +\begin{tabitemize}\item[$\oplus$] Addition\item[$\otimes$] Multiplication\strut\end{tabitemize} & +\begin{tabitemize}\item[$\oplus$] Addition\item[$\otimes$] Multiplication\strut\end{tabitemize} \tabularnewline \midrule +Feasable transformation & +$m' = f( m )$ for $f$ bij.\strut & +$m' = f( m )$ for $f$ mon.\strut & +$m' = am + b$ for $a>0$\strut & +$m' = am$ for $a>0$\strut & +$m' = m$\strut \tabularnewline \midrule +Examples of features & +\begin{tabitemize}\item Telephone numbers\item Postal codes\item Gender\strut\end{tabitemize} & +\begin{tabitemize}\item Grades\item Degree of hardness\item Wind intensity\strut\end{tabitemize} & +\begin{tabitemize}\item Temperatur in F\textdegree\item Calendric time\item Geographic altitude\strut\end{tabitemize} & +\begin{tabitemize}\item Temperatur in K\item Mass\item Length\item Electric current\strut\end{tabitemize} & +\begin{tabitemize}\item Quantum numbers\item Error number\strut\end{tabitemize} \tabularnewline \midrule +Range of features & +\begin{tabitemize}\item Numbers\item Names\item Symbols\strut\end{tabitemize} & +Natural numbers & +Real numbers & +Real, positive numbers & +Natural numbers \tabularnewline \midrule +Expressiveness & low & \dots & \dots & \dots & high\strut \tabularnewline \addlinespace[0pt] +\bottomrule% +\end{tabular}% +\caption{Beispiel für eine breite, gedrehte Tabelle (hier: Taxonomie der Maßskalen)}% +\label{tab:ex-sideways}% +\end{sidewaystable} \ No newline at end of file -- GitLab