Inhalt in der Höhe zentral Thema ist als GELÖST markiert

Tabellen und Grafiken erstellen und anordnen


basti-fantasti-48
Forum-Century
Forum-Century
Beiträge: 214
Registriert: So 4. Apr 2021, 14:27

Inhalt in der Höhe zentral

Beitrag von basti-fantasti-48 »

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}

Benutzeravatar
Stefan Kottwitz
Admin
Admin
Beiträge: 2759
Registriert: Di 8. Jul 2008, 00:39
Kontaktdaten:

Re: Inhalt in der Höhe zentral

Beitrag von Stefan Kottwitz »

Du brauchst nur 2 statt 3 rows anzugeben:
\multirow{2}{*}{Kapitel 5} & Inhalt 5.1\\
Stefan

Antworten