2

When I try to add \footnotesize, the caption of the table will a little overlap with the table. Can someone help me? Thanks

\documentclass[a4paper,man,natbib]{apa6}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{multirow}
\usepackage{longtable}

\title{AAA}
\shorttitle{AAA}

\begin{document}
\centering
\begin{longtable}{|p{.25\textwidth}|p{.20\textwidth}|p{.50\textwidth}|}
\hline
Why Startups Fail & David Feinleib & If you read only one book make it this one!  Presents the key failure modes for startups and what you can do to avoid them. \\ \hline
\caption{\label{tab:widgets}Startup books.}
\end{longtable}
\end{document}

enter image description here

1
  • In longtable the caption normaly is inside table.
    – Zarko
    Commented Oct 22, 2015 at 7:05

1 Answer 1

1

With longable it is assumed that the caption is on top of table (if the table span more pages, this is very expected features, isn't it? And caption: is part of table:

\documentclass[a4paper,man,natbib]{apa6}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{multirow}
\usepackage{longtable}

\title{AAA}
\shorttitle{AAA}

\begin{document}
    \centering
\begin{longtable}{|p{.25\textwidth}|p{.20\textwidth}|p{.50\textwidth}|}
    \caption{Startup books.}
    \label{tab:widgets}
    \\  \hline
Why Startups Fail   
    &   David Feinleib    
        &   If you read only one book make it this one!  
            Presents the key failure modes for startups and what you can do to avoid them. 
    \\ \hline
\end{longtable}
    \end{document}

which gives: enter image description here

3
  • I checked APA 6th, you are right, the caption of table should be at top of the table. Thank you so much! Commented Oct 22, 2015 at 14:33
  • It works perfect even I change the font size. Commented Oct 22, 2015 at 19:38
  • @HongboMiao, I'm glad that my answer help you! Happy TeXing!
    – Zarko
    Commented Oct 22, 2015 at 19:48

You must log in to answer this question.

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