von basti-fantasti-48 » Do 27. Jun 2024, 11:38
Hallo in meiner Tabelle möchte ich "Kapitel 5" zentral von der Höhe. Aktuell ist es eher unten (bei den anderern passt es ja auch)
\documentclass[border=10pt]{standalone}
% Eingabecodierung
\usepackage[utf8]{inputenc}
% Schriftcodierung
\usepackage[T1]{fontenc}
% Sprachraum
\usepackage[ngerman]{babel}
% Schrifteinstellungen
\usepackage{lmodern} % Vektorschrift
\renewcommand{\familydefault}{\sfdefault} % Serifenlose Schrift
% aktiviert serifenlose Matheschrift
\usepackage{microtype} % harmonische Typenverteilung
\usepackage{booktabs}
%für lange Tabelle
\usepackage{longtable}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage[export]{adjustbox}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
% Hier Tabelle einfügen
% --------------------------------------------------------------------
% \begin{tabular}{c p{2cm} c c c c}
%
%
% \toprule
% Controllabilty & Exposure & \multicolumn{4}{c}{Severity} \\
% \midrule
% & & S0 & S1 & S2 & S3 \\
% \midrule
% \multirow{3}{*}{C1} & E1 & QM & QM & QM & QM\\
%
% & E2 & QM & QM & QM & QM \\
% & E3 & QM & QM & QM & A \\
% & E4 & QM & QM &A &B\\
% \midrule
% \multirow{3}{*}{C2} & E1 & QM&QM&QM&QM \\
% & E2 & QM & QM & QM & A \\
% & E3 & QM & QM & A & B \\
% & E4 & QM & A & B & C\\
% \midrule\multirow{3}{*}{C3} & E1 & QM & QM & QM & A \\
% & E2 & QM & QM & A & B \\
% & E3 & QM & A & B & C\\
% & E4 & QM & B & C & D\\
% \bottomrule
%
% \end{tabular}
\begin{tabular}{p{4.7cm} p{3.1cm}}
\toprule
Excel-Blatt & Größen \\
\midrule
Kapitel 1 & Inhalt 1.1\\
\midrule
\multirow{3}{*}{Kaptitel 2}& Inhalt 2.1\\
& Inhalt 2.2\\
& Inhalt 2.3\\
\midrule
\multirow{4}{*}{Kapitel 3} & ID\\
& Inhalt 3.1\\
& Inhalt 3.2\\
& Inhalt 3.3\\
\midrule
\multirow{3}{*}{Kapitel 4}& Inhalt 4.1\\
& Inhalt 4.2\\
& Inhalt 4.3\\
\midrule
\multirow{3}{*}{Kapitel 5} & Inhalt 5.1\\
& Inhalt 5.2\\
\bottomrule
\end{tabular}
% --------------------------------------------------------------------------------
% --- ENDE einfügen ---%
\end{document}
Hallo in meiner Tabelle möchte ich "Kapitel 5" zentral von der Höhe. Aktuell ist es eher unten (bei den anderern passt es ja auch)
[code]\documentclass[border=10pt]{standalone}
% Eingabecodierung
\usepackage[utf8]{inputenc}
% Schriftcodierung
\usepackage[T1]{fontenc}
% Sprachraum
\usepackage[ngerman]{babel}
% Schrifteinstellungen
\usepackage{lmodern} % Vektorschrift
\renewcommand{\familydefault}{\sfdefault} % Serifenlose Schrift
% aktiviert serifenlose Matheschrift
\usepackage{microtype} % harmonische Typenverteilung
\usepackage{booktabs}
%für lange Tabelle
\usepackage{longtable}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage[export]{adjustbox}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
% Hier Tabelle einfügen
% --------------------------------------------------------------------
% \begin{tabular}{c p{2cm} c c c c}
%
%
% \toprule
% Controllabilty & Exposure & \multicolumn{4}{c}{Severity} \\
% \midrule
% & & S0 & S1 & S2 & S3 \\
% \midrule
% \multirow{3}{*}{C1} & E1 & QM & QM & QM & QM\\
%
% & E2 & QM & QM & QM & QM \\
% & E3 & QM & QM & QM & A \\
% & E4 & QM & QM &A &B\\
% \midrule
% \multirow{3}{*}{C2} & E1 & QM&QM&QM&QM \\
% & E2 & QM & QM & QM & A \\
% & E3 & QM & QM & A & B \\
% & E4 & QM & A & B & C\\
% \midrule\multirow{3}{*}{C3} & E1 & QM & QM & QM & A \\
% & E2 & QM & QM & A & B \\
% & E3 & QM & A & B & C\\
% & E4 & QM & B & C & D\\
% \bottomrule
%
% \end{tabular}
\begin{tabular}{p{4.7cm} p{3.1cm}}
\toprule
Excel-Blatt & Größen \\
\midrule
Kapitel 1 & Inhalt 1.1\\
\midrule
\multirow{3}{*}{Kaptitel 2}& Inhalt 2.1\\
& Inhalt 2.2\\
& Inhalt 2.3\\
\midrule
\multirow{4}{*}{Kapitel 3} & ID\\
& Inhalt 3.1\\
& Inhalt 3.2\\
& Inhalt 3.3\\
\midrule
\multirow{3}{*}{Kapitel 4}& Inhalt 4.1\\
& Inhalt 4.2\\
& Inhalt 4.3\\
\midrule
\multirow{3}{*}{Kapitel 5} & Inhalt 5.1\\
& Inhalt 5.2\\
\bottomrule
\end{tabular}
% --------------------------------------------------------------------------------
% --- ENDE einfügen ---%
\end{document}
[/code]