当我尝试添加 \footnotesize 时,表格的标题会与表格稍微重叠。有人能帮我吗?谢谢
\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}
答案1
假设longable
标题位于表格顶部(如果表格跨越更多页面,这是非常预期的功能,不是吗?并且caption
:是表格的一部分:
\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}