von basti-fantasti-48 » Di 19. Mär 2024, 09:21
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{sansmath}
\sansmath
\usepackage{microtype}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=numeric-comp,
block=ragged,
]{biblatex}
\addbibresource{ref/Bibliothek.bib}
\usepackage{booktabs}
\usepackage{amsmath,amssymb}
\hyphenation{Crash-zo-ne}
\usepackage[headsepline,automark]{scrlayer-scrpage}
\clearpairofpagestyles
\ihead{\rightmark}
\cfoot{\pagemark}
\renewcommand*\chaptermarkformat{}
\renewcommand*\chapterpagestyle{scrheadings}
\usepackage{chngcntr}
\counterwithout{equation}{section}
\counterwithout{equation}{chapter}
\counterwithout{figure}{section}
\counterwithout{figure}{chapter}
\counterwithout{table}{section}
\counterwithout{table}{chapter}
\usepackage{pgfkeys}
\usepackage{tikz}
\usepackage{pgfplots}\pgfplotsset{compat=newest}
\usetikzlibrary{arrows.meta,positioning,calc}
\usepackage{longtable}
\pgfplotsset{select coords between index/.style 2 args={
x filter/.code={
\ifnum\coordindex<#1\def\pgfmathresult{}\fi
\ifnum\coordindex>#2\def\pgfmathresult{}\fi
}
}}
\usepackage{subcaption}
\usepackage{pdfpages}
\usepackage{acronym}
\usetikzlibrary{arrows, decorations.markings}
\makeatletter
\tikzset{
nomorepostaction/.code=\makeatletter\let\tikz@postactions\pgfutil@empty,
my axis/.style={
postaction={
decoration={
markings,
mark=at position 1 with {
\arrow[ultra thick]{latex}
}
},
decorate,
nomorepostaction
},
thin,
-, % switch off other arrow tips
every path/.append style=my axis % this is necessary
%so it works both with "axis lines=left" and "axis lines=center"
}
}
\makeatother
\usepackage{listings}
\usepackage{matlab-prettifier}
\renewcommand*{\chapterheadstartvskip}{\vspace*{-1\baselineskip}}
\renewcommand*\chapterheadendvskip{%
\vspace*{1\baselineskip plus -1\baselineskip minus .167\baselineskip}}
\begin{document}
\begin{longtable}[htbp]
\centering
\begin{tabular}{p{2cm} p{4cm} p{4cm} }
\toprule
erste Spalte & zweite Spalten & dritte Spalte \\
\midrule
Ganz viel Text der nicht in eine Zeile passt& text & Zentrierter Text\\
Ganz viel Text der nicht in eine Zeile passt & text & Zentrierter Text\\
Ganz viel Text der nicht in eine Zeile passt & text & Zentrierter Text \\
\bottomrule
\end{tabular}
\caption{Grenzwerte der Metriken in Abhängigkeit des ASIL-Levels}
\label{grenzasil}
\end{longtable}
\end{document}
[code]
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{sansmath}
\sansmath
\usepackage{microtype}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=numeric-comp,
block=ragged,
]{biblatex}
\addbibresource{ref/Bibliothek.bib}
\usepackage{booktabs}
\usepackage{amsmath,amssymb}
\hyphenation{Crash-zo-ne}
\usepackage[headsepline,automark]{scrlayer-scrpage}
\clearpairofpagestyles
\ihead{\rightmark}
\cfoot{\pagemark}
\renewcommand*\chaptermarkformat{}
\renewcommand*\chapterpagestyle{scrheadings}
\usepackage{chngcntr}
\counterwithout{equation}{section}
\counterwithout{equation}{chapter}
\counterwithout{figure}{section}
\counterwithout{figure}{chapter}
\counterwithout{table}{section}
\counterwithout{table}{chapter}
\usepackage{pgfkeys}
\usepackage{tikz}
\usepackage{pgfplots}\pgfplotsset{compat=newest}
\usetikzlibrary{arrows.meta,positioning,calc}
\usepackage{longtable}
\pgfplotsset{select coords between index/.style 2 args={
x filter/.code={
\ifnum\coordindex<#1\def\pgfmathresult{}\fi
\ifnum\coordindex>#2\def\pgfmathresult{}\fi
}
}}
\usepackage{subcaption}
\usepackage{pdfpages}
\usepackage{acronym}
\usetikzlibrary{arrows, decorations.markings}
\makeatletter
\tikzset{
nomorepostaction/.code=\makeatletter\let\tikz@postactions\pgfutil@empty,
my axis/.style={
postaction={
decoration={
markings,
mark=at position 1 with {
\arrow[ultra thick]{latex}
}
},
decorate,
nomorepostaction
},
thin,
-, % switch off other arrow tips
every path/.append style=my axis % this is necessary
%so it works both with "axis lines=left" and "axis lines=center"
}
}
\makeatother
\usepackage{listings}
\usepackage{matlab-prettifier}
\renewcommand*{\chapterheadstartvskip}{\vspace*{-1\baselineskip}}
\renewcommand*\chapterheadendvskip{%
\vspace*{1\baselineskip plus -1\baselineskip minus .167\baselineskip}}
\begin{document}
\begin{longtable}[htbp]
\centering
\begin{tabular}{p{2cm} p{4cm} p{4cm} }
\toprule
erste Spalte & zweite Spalten & dritte Spalte \\
\midrule
Ganz viel Text der nicht in eine Zeile passt& text & Zentrierter Text\\
Ganz viel Text der nicht in eine Zeile passt & text & Zentrierter Text\\
Ganz viel Text der nicht in eine Zeile passt & text & Zentrierter Text \\
\bottomrule
\end{tabular}
\caption{Grenzwerte der Metriken in Abhängigkeit des ASIL-Levels}
\label{grenzasil}
\end{longtable}
\end{document}
[/code]