General ⇒ Formatting table label
-
- Posts: 19
- Joined: Thu May 15, 2008 8:31 pm
Formatting table label
my first post, so it will be silly I'm sure!
Ok the situation is this. Currently, in the standard install of latex, in the booktabs & ctable packages, when a table is inserted it is labeled in the following format.
Table 1: Table title here
According to APA format guidelines, table labels need to be formatted like:
Table 1
Table title here
Is it possible to replace the colon with a carriage return? And given that I'm using the ctable & booktabs packages, where and how would be the best way to make this change global to my file??
Thanks!!!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Formatting table label
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Formatting table label
additionally perhaps the apa class is useful for you if you need more of apa style than just the caption.
Stefan
-
- Posts: 19
- Joined: Thu May 15, 2008 8:31 pm
Formatting table label
thank you both! I found and used the following to achieve my goal:
Code: Select all
\begin{table}[h]
\captionsetup{labelsep=newline,singlelinecheck=false}
\caption{Example table title}
\begin{tabular}[t]{llr}
\toprule
\multicolumn{2}{c}{item} \\
\cmidrule(r){1-2}
Animal & Description & Price (\$) \\
\midrule
Gnat & per gram & 13.65 \\
& each & 0.01 \\
Gnu & stuffed & 92.50 \\
Emu & stuffed & 33.33 \\
Armadillo & frozen & 8.99 \\
\bottomrule
\end{tabular}
\label{tab:exp1_descriptives}
\end{table}