siunitx and 'e' notation in Tables with S column

This might be a bug in siunitx, but it's easy to find a workaround: just set exponent-product to empty.

\documentclass{article}

\usepackage{siunitx}
\usepackage{booktabs}

\begin{document}

\begin{table}[htbp]
\centering
\footnotesize
\sisetup{
  output-exponent-marker = \text{e},
  table-format=+1.4e+2,
  exponent-product={},
  retain-explicit-plus
}
\begin{tabular}{llSS}
\toprule
MRE Sample & $N$ & \multicolumn{1}{c}{$\mu_1 [Pa]$} & \multicolumn{1}{c}{$\alpha_1 [-]$} \\
\midrule
Isotropic $10\%$ MREs & 1 & 1.5030e+05 & 4.2384e+00 \\
                      & 2 & 6.7175e+05 & 8.4376e-01 \\
                      & 3 & 9.5378e-06 & 9.0545e-05 \\
\bottomrule
\end{tabular}
\caption{Right scientific notation}
\label{tab:example}
\end{table}

\end{document}

In this case I set also retain-explicit-plus for symmetry. I also changed the table to use booktabs, without vertical rules, of course. I removed also \multirow, because setting “Isotropic...” at the middle is no clearer than setting at the top of the affected rows. Just separate different groups with a \midrule.

enter image description here


The option output-exponent-marker seems to work only for \numbers inside tables. So, you should replace numbers like 1.5030e+05 with \num{1.5030e+05}

\documentclass[fontsize=12pt,DIV14,BCOR15mm,oneside, headings=small,headsepline, appendixprefix,bibliography=totoc]{scrbook}

\usepackage[latin1]{inputenc}           % Zus{\"a}tzliche Sonderzeichen
\usepackage[UKenglish]{babel}       % English Language and Hyphenation

\usepackage{times}                          % Festlegung der Schrift
\usepackage[T1]{fontenc}                % Verwendete Zeichentabelle

\usepackage{rotating}

\usepackage[bf,footnotesize,width=.9\textwidth,format=hang]{caption}

\usepackage{array}

\usepackage{siunitx}

\usepackage{multirow} % Multirow command for tables

% To increase space of some rows in tables, especially needed in header row before \hline
\newcommand\T{\rule{0pt}{2.6ex}}       % Top strut
\newcommand\B{\rule[-1.2ex]{0pt}{0pt}} % Bottom strut

\usepackage{scrpage2}


\begin{document}

\begin{table}[htbp]
\begin{center}
\footnotesize
\sisetup{table-format=+1.4e+2, output-exponent-marker = \text{e} }
\begin{tabular}{ll|SS}
MRE Sample & $N$ & \multicolumn{1}{c}{$\mu_1 [Pa]$} & \multicolumn{1}{c}{$\alpha_1 [-]$}   \B \\  \hline
\multirow{3}{3cm}{Isotropic $10\%$ MREs} & 1 & \num{1.5030e+05} & \num{4.2384e+00} \T \\
& 2 & \num{6.7175e+05} & \num{8.4376e-01} \\
& 3 & \num{9.5378e-06} & \num{9.0545e-05}  \B \\ \hline
\end{tabular}
\end{center}
\caption[]{Right scientific notation}
\label{tab:example}
\end{table}

\end{document} 

Output

enter image description here

Tags:

Tables

Siunitx