von jens » Mo 12. Sep 2016, 10:24
Hallo,
bin gerade an den letzten Zügen meiner Masterarbeit und nun funktioniert plötzlich eine Tabelle nicht mehr.
Ich schreibe die Arbeit mit LyX, aber da ich in einer Tabelle eine spalte einfärben möchte habe ich für diese Tabelle nicht die LyX-Möglichkeit verwendet, sondern einen TEX-Code eingefügt.
Das hat auch alles wunderbar funktioniert.
Nachdem ich nun ein paar Rechtschreibfehler korrigiert habe funktioniert es plötzlich nicht mehr und ich verstehe nicht warum...
Anbei ein Minimalbeispiel mit der Tabelle. Ich hoffe ihr könnt mir helfen...
\documentclass[12pt,ngerman]{scrreprt}
\usepackage{array}
\usepackage{float}
\usepackage{breqn}
\usepackage{colortbl}
\definecolor{vanilla}{rgb}{0.95, 0.9, 0.67}
\begin{document}
\begin{table}[H]
\caption{Tabelle \label{Tabelle}}
\begin{tabular}{c||c>{\columncolor{vanilla}}cc|ccc}
\noalign{\vskip2mm}
& \multicolumn{3}{c|}{$40~\%$} & \multicolumn{3}{c}{$50~\%$}\tabularnewline
& \begin{turn}{60}
$60~s$
\end{turn} & \begin{turn}{60}
$120~s$
\end{turn} & \begin{turn}{60}
$180~s$
\end{turn} & \begin{turn}{60}
$60~s$
\end{turn} & \begin{turn}{60}
$120~s$
\end{turn} & \begin{turn}{60}
$180~s$
\end{turn}\tabularnewline
\hline
\hline
Hub & O & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline Signal 0 & O & O & O & O & O & \textbf{\textcolor{red}{-}}\tabularnewline
VK (0) & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
VK (13) & O & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{green}{+}} & O & \textbf{\textcolor{green}{+}}\tabularnewline
S/R & O & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 1 & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 2 & O & O & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 3 & \textbf{\textcolor{green}{+}} & O & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 4 & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{red}{-}} & O & O\tabularnewline
Bilder & \textbf{\textcolor{green}{+}} & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
\end{tabular}
\end{table}
\end{document}
gruß
jens
Hallo,
bin gerade an den letzten Zügen meiner Masterarbeit und nun funktioniert plötzlich eine Tabelle nicht mehr.
Ich schreibe die Arbeit mit LyX, aber da ich in einer Tabelle eine spalte einfärben möchte habe ich für diese Tabelle nicht die LyX-Möglichkeit verwendet, sondern einen TEX-Code eingefügt.
Das hat auch alles wunderbar funktioniert.
Nachdem ich nun ein paar Rechtschreibfehler korrigiert habe funktioniert es plötzlich nicht mehr und ich verstehe nicht warum...
Anbei ein Minimalbeispiel mit der Tabelle. Ich hoffe ihr könnt mir helfen...
[code]
\documentclass[12pt,ngerman]{scrreprt}
\usepackage{array}
\usepackage{float}
\usepackage{breqn}
\usepackage{colortbl}
\definecolor{vanilla}{rgb}{0.95, 0.9, 0.67}
\begin{document}
\begin{table}[H]
\caption{Tabelle \label{Tabelle}}
\begin{tabular}{c||c>{\columncolor{vanilla}}cc|ccc}
\noalign{\vskip2mm}
& \multicolumn{3}{c|}{$40~\%$} & \multicolumn{3}{c}{$50~\%$}\tabularnewline
& \begin{turn}{60}
$60~s$
\end{turn} & \begin{turn}{60}
$120~s$
\end{turn} & \begin{turn}{60}
$180~s$
\end{turn} & \begin{turn}{60}
$60~s$
\end{turn} & \begin{turn}{60}
$120~s$
\end{turn} & \begin{turn}{60}
$180~s$
\end{turn}\tabularnewline
\hline
\hline
Hub & O & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline Signal 0 & O & O & O & O & O & \textbf{\textcolor{red}{-}}\tabularnewline
VK (0) & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
VK (13) & O & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{green}{+}} & O & \textbf{\textcolor{green}{+}}\tabularnewline
S/R & O & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 1 & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 2 & O & O & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 3 & \textbf{\textcolor{green}{+}} & O & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
HG 4 & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{green}{+}} & \textbf{\textcolor{red}{-}} & O & O\tabularnewline
Bilder & \textbf{\textcolor{green}{+}} & O & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}} & \textbf{\textcolor{red}{-}}\tabularnewline
\end{tabular}
\end{table}
\end{document}
[/code]
gruß
jens