Graphics, Figures & TablesTables or Itemize enviroments inside a caption

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
viertelkind
Posts: 1
Joined: Thu May 13, 2010 10:31 am

Tables or Itemize enviroments inside a caption

Post by viertelkind »

Hi everybody!
I have a problem with a caption of a figure.

I'd like to put a small itemize enviroment (or a table if itemize is not possible).

I've tried the obvious

Code: Select all

 
\caption[{blablabla.\newline
\begin{itemize}
	\item tetststst
	\item adsfasdasd
\end{itemize}
} 
but
but it does not compile. Already had a good look at the caption package, but i does not seem to help in this case.

Any suggestions, or just impossible :)
thanks
steffen

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Tables or Itemize enviroments inside a caption

Post by sommerfee »

viertelkind wrote:Already had a good look at the caption package, but i does not seem to help in this case.
But it does:

Code: Select all

\documentclass{article}
\usepackage{caption}

\begin{document}

\begin{figure}
\captionsetup{singlelinecheck=off}
\caption[blablabla]{%
blablabla.\\
\begin{itemize}
   \item tetststst
   \item adsfasdasd
\end{itemize}
}
\end{figure}

\end{document}
See also section "3.1 Typesetting captions" in the caption package documentation.

Axel
Post Reply