Tabellen sind das A und O bei der Dokumentation. Vor allem, wenn die Tabellen ansprechend aufgebaut sind. Auch unter LaTeX kann man ansprechende Tabellen erstellen.
Nach dem ersten Post zum Thema LaTeX Dokumentationen, wollte ich zeigen, wie meine farbigen Tabellen aussehen.
\colorlet{tablesubheadcolor}{gray!40}
\colorlet{tableheadcolor}{gray!25}
\colorlet{tableblackheadcolor}{black!60}
\colorlet{tablerowcolor}{gray!15.0}
\renewcommand\tablehead{%
\tableheadfontsize%
\sffamily\bfseries%
\slshape
\color{darkgray}
}
\renewcommand\tableheadcolor{
\rowcolor{tableblackheadcolor}
}
Im Dokumentenbereich wird die Tabelle dann wie folgt eingetragen
Für eine einfache Tabelle:
Mit diesen paar Zeilen kann man eine einfache Tabelle erstellen.
\begin{table}[H]
\tablestyle
\tablealtcolored
\begin{tabular}{|{0.35\textwidth}|{0.65\textwidth}|}
\tableheadcolor
\color{white}Organisation & \color{white} Link \tabularnewline
\hline
zentrale Plugin Platform von Nagios & http://exchange.nagios.org \tabularnewline
\rowcolor{gray!20}
NetWays & http://www.netways.de/de/produkte/icinga\_und\_nagios\_plugins \tabularnewline
WMI Plus & http://www.edcint.co.nz/checkwmiplus \tabularnewline
\rowcolor{gray!20}
ConSol Labs & http://labs.consol.de/lang/de/nagios/check\_vmware\_snapshots \tabularnewline
Monitor Exchange & https://www.monitoringexchange.org \tabularnewline
\rowcolor{gray!20}
private Seite Frank4DD & http://nagios.frank4dd.com/plugins \tabularnewline
private Seite Manubulon & http://nagios.manubulon.com \tabularnewline
\hline
\end{tabular}
\caption{Webseiten f\"ur Plugins}
\end{table}
Für eine Tabelle mit Abschnittsunterteilung:
In diesem Beispiel werden Tabelleneinträge noch in Abschnitte unterteilt.
\begin{table}[H]
\tablestyle
\tablealtcolored
\begin{tabular}{|>{\bfseries\centering}p{0.03\textwidth}|>{\small\centering}p{0.20\textwidth}|>{\small\centering}p{0.10\textwidth}|>{\small\centering}p{0.20\textwidth}|>{\small\centering}p{0.20\textwidth}|>{\small\centering}p{0.10\textwidth}|}
\tableheadcolor
\color{white}Nr. & \color{white}zu \"uberpr\"ufender Service & \color{white}Check ohne NRPE Agent & \color{white}definierbare Schwellwerte f\"ur Warnungsmeldung & \color{white}grafische Aufzeichnung (Tendenzen,Forecast) & \color{white}Pr\"ufungs-intervall \tabularnewline
\hline
\multicolumn{6}{>{\columncolor{tablesubheadcolor}}l}{
\tablehead Windows Serversystem - Plugin check\_wmi\_plus.pl
} \tabularnewline
1 & CPU Usage & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
2 & RAM Usage & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
3 & Page Fault Utilisation (SWAP File) & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
4 & Disk Free (C:/D:/E:/…) & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
5 & Net I/O & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
6 & OS Versionsinfo & \tickYes & \tickNo & \tickNo & 60 min \tabularnewline
7 & Eventlog Alarm & \tickYes & \tickYes & \tickNo & 60 min \tabularnewline
\rowcolor{gray!20}
8 & Service Health Check & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
% zweiter Abschnitt
\hline
\multicolumn{5}{l}{} \tabularnewline
\multicolumn{6}{>{\columncolor{tablesubheadcolor}}l}{
\tablehead Oracle Services - Plugin check\_oracle\_health
} \tabularnewline
\hline
9 & Buffer Busy Waits & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
10 & Connected Users & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
11 & Connection Time & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
12 & SGA Data Buffer & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
13 & SGA Dictionary Buffer & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
14 & Process Usage & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
15 & Redo I/O Traffic & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
\rowcolor{gray!20}
16 & RMAN Backup Problems & \tickYes & \tickYes & \tickYes & 5 min \tabularnewline
% dritter Abschnitt
\hline
\multicolumn{5}{l}{} \tabularnewline
\multicolumn{6}{>{\columncolor{tablesubheadcolor}}l}{
\tablehead Linux Serversystem - Plugins check\_disk
} \tabularnewline
\hline
13 & Disk Free\\(/ /var /tmp ...) & \tickNo & \tickYes & \tickYes & 5 min \tabularnewline
% vierter Abschnitt
\hline
\multicolumn{5}{l}{} \tabularnewline
\multicolumn{6}{>{\columncolor{tablesubheadcolor}}l}{
\tablehead Linux Serversystem - Plugins check\_load
} \tabularnewline
\hline
14 & Load Usage & \tickNo & \tickYes & \tickYes & 5 min \tabularnewline
\hline
\end{tabular}
\label{Checkliste Plugins}
\caption{Funktionalit\"at und Periode}
\end{table}
3 Comments
Beste 20 Latex Tabellen – Beste Ideen und Inspirationen
[…] Beste Latex Tabellen von farbige Tabellen in LaTeX erstellen. Quellbild: http://www.carlosmelzer.com. Besuchen Sie diese Site für Details: http://www.carlosmelzer.com […]
20 Besten Ideen Latex Tabelle – Beste Ideen und Inspirationen
[…] Beste Latex Tabelle von farbige Tabellen in LaTeX erstellen. Quellbild: http://www.carlosmelzer.com. Besuchen Sie diese Site für Details: http://www.carlosmelzer.com […]
20 Ideen Für Latex Tabellen – Beste Ideen und Inspirationen
[…] Beste Latex Tabellen von farbige Tabellen in LaTeX erstellen. Quellbild: http://www.carlosmelzer.com. Besuchen Sie diese Site für Details: http://www.carlosmelzer.com […]