Like the title suggests, I'd like to use the S[table-format = xyz] form in my tables, while having the longer headers be wrapped.
\documentclass{article}
\usepackage{siunitx}
\usepackage{booktabs}
\begin{document}
\begin{table}[!h]
\centering
\caption{Pipettierschema Teilversuch 2}
\label{tab:ps2}
\begin{tabular}{@{} l S[table-format = 1.3] S[table-format = 3.0] c c c c @{}}
\toprule
{nº} & {Pyruvatkonzentration} & {Bidestilliertes Wasser} & {Pyruvat} & {Imidazolpuffer} & {NADH} & {Lactat}\\
\midrule
1 & 0,01 & 878 & 20 & 5 & 2 & 0 \\
2 & 0,015 & 877 & 20 & 15 & 2 & 0 \\
3 & 0,02 & 876 & 20 & 25 & 2 & 0 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
In this case, I'd like the "Pyruvatkonzentration" and/or "Bidestilliertes Wasser" to get wrapped, but for the numbers to retain the Siuntix appearance. Preferably, I'd love to set it up in the preamble, or within the code for the table itself, and have it wrap the words for me, and not manually set each hyphenation in each word.