SIUnitx 형식이 아닌 여러 열 및 여러 행

SIUnitx 형식이 아닌 여러 열 및 여러 행

제목 정렬을 위해 제목이 여러 행과 여러 열로 구성된 이야기를 만들려고 합니다. 그러나 열 형식에서는 SIUnitx를 사용하고 있는데 원하지 않는 기호가 추가됩니다. \pm테이블 헤드라인에서 해당 기호를 어떻게 제거할 수 있나요 ?

코드는 다음과 같습니다.

\begin{table}[h!]
\caption{Change of amplitude of the waveform at peak A during the transition from baseline to venous occlusion.}
\label{tbl:change_A_venous}
\centering\small
\begin{tabular}{l
                *{3}{S[table-format=1.4]@{\,\( \pm \)\,}S[table-format=1.4]} %Format for Z+-std
                cc}
    \toprule
                 & \multicolumn{2}{c}{\multirow{2}{*}{\textbf{Baseline [\si{\ohm}]}}} & \multicolumn{2}{c}{\multirow{2}{*}{\textbf{Occlusion [\si{\ohm}]}} }& \multicolumn{2}{c}{\multirow{2}{*}{\textbf{Baseline [\si{\ohm}]}}} & \multicolumn{2}{c}{\textbf{Change [\%]}} \\
                 &                               &                               &                               &&&&\textbf{R1-R2}&\textbf{R2-R3}\\\midrule
Participant 1    &     0.0283    &     0.0233    &     0.0342    &     0.0191    &     0.0305    &     0.0305    &      20.93    &     -13.29    \\  
Participant 2    &     0.0491    &     0.0102    &     0.0595    &     0.0140    &     0.0449    &     0.0449    &      21.01    &     -29.68    \\  
Participant 3    &     0.0346    &     0.0351    &     0.0374    &     0.0144    &     0.0294    &     0.0294    &       7.91    &     -22.89    \\  
Participant 4    &     0.0252    &     0.0303    &     0.0272    &     0.0139    &     0.0222    &     0.0222    &       7.98    &     -19.87    \\  
Participant 5    &     0.0345    &     0.0112    &     0.0481    &     0.0098    &     0.0376    &     0.0376    &      39.68    &     -30.69    \\  
Participant 6    &     0.0233    &     0.0105    &     0.0306    &     0.0124    &     0.0251    &     0.0251    &      31.33    &     -23.52    \\  
Participant 7    &     0.0359    &     0.0080    &     0.0537    &     0.0081    &     0.0365    &     0.0365    &      49.72    &     -47.78    \\  
Participant 8    &     0.0237    &     0.0094    &     0.0211    &     0.0091    &     0.0127    &     0.0127    &     -11.11    &     -35.30    \\  \bottomrule
\end{tabular} 
\end{table}

답변1

제목의 두 번째 행에서는 \multicolumn사양을 재정의하는 데에도 사용해야 합니다. 현재 두 번째 헤더 행에는 &&&&이러한 열이 일부 열 사이를 포함하는 테이블의 표준 사양으로 설정된다는 의미가 포함되어 있습니다 \pm.

샘플 출력

\documentclass{article}

\usepackage{siunitx,multirow,booktabs}

\begin{document}
\begin{table}[h!]
\caption{Change of amplitude of the waveform at peak A during the transition from baseline to venous occlusion.}
\label{tbl:change_A_venous}
\centering\smallskip\small
\begin{tabular}{l
  *{3}{S[table-format=1.4]@{\,\( \pm
  \)\,}S[table-format=1.4]} %Format for Z+-std
  cc}
  \toprule
  & \multicolumn{2}{c}{\multirow{2}{*}{\textbf{Baseline [\si{\ohm}]}}}
  & \multicolumn{2}{c}{\multirow{2}{*}{\textbf{Occlusion [\si{\ohm}]}}}
  & \multicolumn{2}{c}{\multirow{2}{*}{\textbf{Baseline [\si{\ohm}]}}}
  & \multicolumn{2}{c}{\textbf{Change [\%]}} \\
  & \multicolumn{2}{c}{}
  & \multicolumn{2}{c}{}
  & \multicolumn{2}{c}{}
  &\textbf{R1-R2}&\textbf{R2-R3}\\\midrule
  Participant 1    &     0.0283    &     0.0233    &     0.0342    &     0.0191    &     0.0305    &     0.0305    &      20.93    &     -13.29    \\
  Participant 2    &     0.0491    &     0.0102    &     0.0595    &     0.0140    &     0.0449    &     0.0449    &      21.01    &     -29.68    \\
  Participant 3    &     0.0346    &     0.0351    &     0.0374    &     0.0144    &     0.0294    &     0.0294    &       7.91    &     -22.89    \\
  Participant 4    &     0.0252    &     0.0303    &     0.0272    &     0.0139    &     0.0222    &     0.0222    &       7.98    &     -19.87    \\
  Participant 5    &     0.0345    &     0.0112    &     0.0481    &     0.0098    &     0.0376    &     0.0376    &      39.68    &     -30.69    \\
  Participant 6    &     0.0233    &     0.0105    &     0.0306    &     0.0124    &     0.0251    &     0.0251    &      31.33    &     -23.52    \\
  Participant 7    &     0.0359    &     0.0080    &     0.0537    &     0.0081    &     0.0365    &     0.0365    &      49.72    &     -47.78    \\
  Participant 8    &     0.0237    &     0.0094    &     0.0211    &     0.0091    &     0.0127    &     0.0127    &     -11.11    &     -35.30    \\  \bottomrule
\end{tabular}
\end{table}
\end{document}

\smallskip캡션이 규칙을 따르지 않도록 표 앞에 를 추가했습니다 .

관련 정보