I am using the APA document class. My document has some tables:
\documentclass[jou]{apa}
\usepackage{tabularx}
\title{This is the title}
\author{This is the author}
\begin{document}
\maketitle
This is some text so that you can see how wide each of the columns is in the document.
\noindent\begin{tabularx}{\textwidth}{|X|X|}
1 & 2 \\
\end{tabularx}
\end{document}
When I compile this, the width is too wide and does not match the column width. I tried replacing \textwidth with \linewidth, but this did not work either.
- How can I set the table to match the width of the columns in the APA document class?
\textwidthand\columnwidth, which is what you should use when the document is in two column format. – egreg Jul 20 '12 at 09:30\columnwidth, it compiles with a table which spans the two columns. – Village Jul 20 '12 at 09:35twocolumto the document class options and use\columnwidth, the result is as expected. – egreg Jul 20 '12 at 09:37\maketitlesets the document to two column format. I tried adding\columnwidthand the document class option, but it still compiles with a table which does not fit the columns. – Village Jul 20 '12 at 09:46