2

Could you help me adjusting the width of the \tablenotes and \captionin this MWE? I want both to be whole page and not just as wide as the table.

\documentclass{apa6}

\begin{document}

\begin{table}[htbp]
\begin{threeparttable}
      \caption{{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore}}
      \label{tab:KorrelationenBilder}
      \begin{tabular}{@{}llrrr@{}}        
     % \toprule
&    & \multicolumn{3}{c}{Pupillenweite} \\
& & Gesamt & Neutral & Negativ\\ \midrule
Freie Wiedergabe Tag 1 & & &&  \\
\midrule 
       &  Gesamt      & .000   & -.112 & .096 \\ 
         \midrule
        & Neutral        & -.146       &  -.192 & -.070  \\  
         \midrule
        & Negativ      &  .086    & -.042 & .172  \\  
                   \midrule

Freie Wiedergabe Tag 2 & & && \\
\midrule  
       &  Gesamt     & -.135    & -.223 & -.036    \\ 
         \midrule
        & Neutral        &-.286 &  -.293 & -.219  \\  
         \midrule
        & Negativ      &  -.013    & -.136 & .087   \\  
                   \midrule

                   Wiedererkennen Tag 2 & & &&  \\
\midrule  
       &  Gesamt     & -.201  & -.295 & -.079    \\ 
         \midrule
        & Neutral         & -.179       &  -.252 & -.082  \\  
         \midrule
        & Negativ     &  -.182     & -.280 & -.059  \\  
                   \midrule
       \end{tabular}
      \begin{tablenotes}[para,flushleft]
         {\small
            \textit{Anmerkungen.} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore
         }
      \end{tablenotes}
   \end{threeparttable}
   \end{table}
\end{document}

1 Answer 1

3

like this?

enter image description here

\documentclass{apa6}

\begin{document}

\begin{table}[htbp]
      \caption{{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore}}
      \label{tab:KorrelationenBilder}
\centering
\begin{threeparttable}
      \begin{tabular}{@{}llrrr@{}}
     % \toprule
&    & \multicolumn{3}{c}{Pupillenweite} \\
& & Gesamt & Neutral & Negativ\\ \midrule
Freie Wiedergabe Tag 1 & & &&  \\
\midrule
       &  Gesamt      & .000   & -.112 & .096 \\
         \midrule
        & Neutral        & -.146       &  -.192 & -.070  \\
         \midrule
        & Negativ      &  .086    & -.042 & .172  \\
                   \midrule

Freie Wiedergabe Tag 2 & & && \\
\midrule
       &  Gesamt     & -.135    & -.223 & -.036    \\
         \midrule
        & Neutral        &-.286 &  -.293 & -.219  \\
         \midrule
        & Negativ      &  -.013    & -.136 & .087   \\
                   \midrule

                   Wiedererkennen Tag 2 & & &&  \\
\midrule
       &  Gesamt     & -.201  & -.295 & -.079    \\
         \midrule
        & Neutral         & -.179       &  -.252 & -.082  \\
         \midrule
        & Negativ     &  -.182     & -.280 & -.059  \\
                   \midrule
       \end{tabular}
   \end{threeparttable}

    \begin{minipage}{\linewidth}\small
    \textit{Anmerkungen.} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore
    \end{minipage}
   \end{table}
\end{document}

addendum: i wonder why you use threeparttable if you not like its functionality. to my taste also you have to many rules in table. with use of siunitx your numbers will be set in math mode:

enter image description here

\documentclass{apa6}
\usepackage{siunitx}

\begin{document}

\begin{table}[htbp]
      \caption{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore}
      \label{tab:KorrelationenBilder}
\centering
      \begin{tabular}{ll*{3}{S[table-format=-1.3]}}
    \toprule
    &   & \multicolumn{3}{c}{Pupillenweite} \\
        \cmidrule(lr){3-5}
    &   &   {Gesamt}    &   {Neutral}   &   {Negativ}   \\
    \midrule
Freie Wiedergabe Tag 1  &   &   &   &       \\
%    \midrule
    &   Gesamt  &  .000 & -.112 &  .096     \\
    &   Neutral & -.146 & -.192 & -.070     \\
    &   Negativ &  .086 & -.042 &  .172     \\
    \midrule
Freie Wiedergabe Tag 2  &   &   &   &       \\
%    \midrule
    &   Gesamt  & -.135 & -.223 & -.036     \\
    &   Neutral & -.286 & -.293 & -.219     \\
    &   Negativ & -.013 & -.136 &  .087     \\
    \midrule
Wiedererkennen Tag 3    &   &   &   &       \\
%    \midrule
    &   Gesamt  & -.201 & -.295 & -.079     \\
    &   Neutral & -.179 & -.252 & -.082     \\
    &   Negativ & -.182 & -.280 & -.059     \\
    \bottomrule
       \end{tabular}

\smallskip
\begin{minipage}{\linewidth}\small
\textit{Anmerkungen.} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore
\end{minipage}
   \end{table}
\end{document}
2
  • Thanks, that is just what I was looking for. I have never worked with minipage before and it works perfectly. Could you explain why the caption is wider now in your MWE than in mine without using a minipage for that as well? And I can't see a difference when I use or not use the siunitx package. I read that it is for the presentation of numbers. Could you tell me what it changes in this example? Thanks! :)
    – Anne B.
    Dec 16, 2017 at 8:08
  • 1
    (i) caption is now outside of threeparttable environment, consequently it is not limited to its width anymore. (ii) without minipage the text below would be centered. (iii) with use of siunitx signs at numbers would be present correctly (iv) i wonder why you use threeparttable if you not like its functionality. see addendum to my answer.
    – Zarko
    Dec 16, 2017 at 11:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .