Revision [10488]

This is an old revision of LatexTabellen made by ToBo on 2009-12-14 00:52:44.

 

Tabellen in LateX


Einfache Tabelle mit Rand
\begin{table}
    \center
    \begin{tabular}{|l|l|l|}
      \hline
      1 & 2 & 3 \\ \hline
      4 & 5 & 6 \\ \hline
      7 & 8 & 9 \\ \hline
    \end{tabular}
    \caption{Zutreffende Normen und Gesetze}
    \label{tab:ZutreffendeNormenUndGesetze}
\end{table
}


Tabelle mit tabularx
\begin{table}[H]
\label{tab:RelevanteRegularien}
\tablestyle
\begin{tabularx}{\textwidth}{lXXlX
}
\tableheadcolor
   \tablehead Kurzbezeichnung &
   \tablehead Ausrührliche Bezeichnung &
   \tablehead Typ &
   \tablehead Stellt Anforderungen an \tabularnewline
%
\tablebody
   \textit{Beschreibung} & Inhalt & Inhalt & Inhalt  \tabularnewline
   \textit{Beschreibung} & Inhalt & Inhalt & Inhalt  \tabularnewline
\tableend
\end{tabularx}
\caption{Tabelle mit tabularx}
\end{table
}



Tabelle mit alternierender Farbe
\begin{table}[H]
   \tablestyle
   \tablealtcolored
   \begin{tabular}{*{2}{v{0.45\textwidth}}
}
   \hline
   \tableheadcolor
\tablehead Tabellenkopf &
\tablehead Tabellenkopf \tabularnewline\hline
% Zwischenkopf
\multicolumn{2}{>{\columncolor{tablesubheadcolor}}l}{
   \bfseries Zwischenkopf
} \tabularnewline

\tablebody
 Inhalt  & Inhalt \tabularnewline
 Inhalt  & Inhalt \tabularnewline
 Inhalt  & Inhalt \tabularnewline
 Inhalt  & Inhalt \tabularnewline
 Inhalt  & Inhalt \tabularnewline
 Inhalt  & Inhalt \tabularnewline
\multicolumn{2}{>{\columncolor{tablesubheadcolor}}l}{
   \bfseries Zwischenkopf
} \tabularnewline
 Inhalt  & Inhalt \tabularnewline
 Inhalt  & Inhalt \tabularnewline
   \hline
   \end{tabular}
\end{table
}



Siehe auch
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki