Tabularray und SetCell
Verfasst: Mo 8. Dez 2025, 12:48
Die Überschrift in Zeile 1 wird nicht richtig dargestellt. Der Fehler scheint von SetCell zu kommen.
\documentclass{article}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{siunitx}
\sisetup{detect-all}
\begin{document}
\begin{longtblr}[
caption = {Pegeltabelle Leistung -- Spannung -- S-Meter Anzeige an 50 Ohm},
label = {tab:pegeltabelle-leistung-spannung-s-meter-anzeige-an-50-ohm}
]{
colspec = {rrrrrcc},
rowhead = 2
}
\toprule
\SetCell[c=2]{c}{Leistung} & \SetCell[c=3]{c}{Spannung an \qty{50}{\ohm}} & \SetCell[c=2]{c}{S-Meter Anzeige} \\
\unit{\dB} & \unit{\watt} & $U_\mathrm{eff}$ & $U_\mathrm{ss}$ & $U_\mathrm{eff}$ & $\qty{30}{\mega\hertz}$ & $\qty{30}{\mega\hertz}$ \\
\midrule
\qty{-174}{\dB\m} & \qty{0.004e-18}{\watt} &
\qty{447}{\pico\volt} & \qty{1.26}{\nano\volt} & \qty{-67}{\volt} & & \\
\qty{-173}{\dB\m} & \qty{0.005e-18}{\watt} &
\qty{500}{\pico\volt} & \qty{1.41}{\nano\volt} & \qty{-66}{\volt} & & \\
\qty{-171}{\dB\m} & \qty{0.008e-18}{\watt} &
\qty{632}{\pico\volt} & \qty{1.79}{\nano\volt} & \qty{-64}{\volt} & & \\
\bottomrule
\end{longtblr}
\end{document}