Graphics, Figures & Tables ⇒ Separating table label from table comment
Separating table label from table comment
I am trying to create a table that has the following structure.
Table 1
<Comment>
[Placement of actual Table]
Note
The only thing I can not figure out is how to separate the Table label from the comment. I keep getting the following format.
Table 1: <Comment>
[Placement of actual Table]
Note
Any suggestions would be helpful.
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
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Separating table label from table comment
Re: Separating table label from table comment
\begin{table*}[htdp]
\caption{Photochemical Lifetime and Vertical Mixing Time of Methane in Earth's Current Atmosphere}
\label{tab:tab1}
\begin{center}
\begin{tabular}{lcc} \thickline
Parameter & If released at 100 km & If released at 70 km \\ \hline
photochemical lifetime & 3-4 days & 8 months\\ \hline
vertical mixing & 1 month & 1 month \\ \hline
\end{tabular}
\end{center}
\tablefnt{\small Note. Values are adapted from `Aeronomy of the Middle Atmosphere' by G. Brasseur and S. Solomon, 1984).}
\end{table*}
Separating table label from table comment
Code: Select all
\documentclass{article}
\newcommand\tablefnt[1]{#1}
\newcommand\thickline{\hline}
\usepackage{caption}
\captionsetup[table]{singlelinecheck=off,labelsep=newline}
\begin{document}
\begin{table*}[htdp]
\caption{Photochemical Lifetime and Vertical Mixing Time of Methane in Earth's Current Atmosphere}
\label{tab:tab1}
\begin{center}
\begin{tabular}{lcc} \thickline
Parameter & If released at 100 km & If released at 70 km \\ \hline
photochemical lifetime & 3-4 days & 8 months\\ \hline
vertical mixing & 1 month & 1 month \\ \hline
\end{tabular}
\end{center}
\tablefnt{\small Note. Values are adapted from `Aeronomy of the Middle Atmosphere' by G. Brasseur and S. Solomon, 1984).}
\end{table*}
\end{document}
Axel
Re: Separating table label from table comment
That did work. I was using the caption package but did not know about the
\captionsetup[table]{singlelinecheck=off,labelsep=newline}
command.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Separating table label from table comment
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10