Graphics, Figures & Tables ⇒ Two captions one figure (one above and one below)
-
- Posts: 60
- Joined: Wed Nov 18, 2009 4:18 pm
Two captions one figure (one above and one below)
I have again a question about the captions.
Would like to have 2 captions for one figure or scheme.
so like
text text text
Figure 1: Cool Figure
<the figure it self>
Reagents: bla, bla and word words
text text text
Scheme 1: Cool Scheme
<the figure it self>
Reagents: bla, bla and word words
text text
So one caption (above) with the float and the number and title of the figure or scheme.
And one caption with some more detailed info over the figure or scheme below.
Who can help me??
\BoudewijnD
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
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Two captions one figure (one above and one below)
you could use a \caption command at the beginning of the float and a \caption command at the end of the float.
I strongly recommand to use the caption package. Besides many formatting options, it offers command variations for labelled and numbered and for unnumbered and not labelled captions.
Stefan
-
- Posts: 60
- Joined: Wed Nov 18, 2009 4:18 pm
Re: Two captions one figure (one above and one below)
I tried that but then I get an error Package floatrow Error: Caption(s) lost \caption{the text}
And In the out put file I don't see the first caption either. And the second caption is also numbered what I don't want.
I'm using the caption package
\BoudewijnD
Two captions one figure (one above and one below)
If the floatrow package is loaded the figure environment can handle only a single caption by default.BoudewijnD wrote:I tried that but then I get an error Package floatrow Error: Caption(s) lost \caption{the text}
You can outcome this limitation by placing \RawFloats as very first line of the figure which should contain more-than-one caption.
See floatrow documentation for details.
-
- Posts: 60
- Joined: Wed Nov 18, 2009 4:18 pm
Two captions one figure (one above and one below)
Ohye I see that now but, that is not really were I was looking for. I wanted a extra unnumbered caption. But I found this to give the result I want, using the \floatfoot command.sommerfee wrote:
You can outcome this limitation by placing \RawFloats as very first line of the figure which should contain more-than-one caption.
Code: Select all
\begin{figure}
\begin{floatrow}
\includegraphics[width=10cm,keepaspectratio=true]{./Chapter2/EPS/converted/Figure1.eps}
\caption{Umbelliferyl chitobioside fluorogenic substrate \compound{4-OH-chito-4Mu} and \compound{4-deoxy-chito-4Mu}.}
% Figure1.eps: 0x0 pixel, 2400dpi, 0.00x0.00 cm, bb=
\floatfoot{\textbf{Reagents and Conditions:}}
\label{figure1}
\end{floatrow}
\end{figure}
This leaves me with one more small problem I want to out line my caption to the left and leave the figure centered. I went to the floatrow pdf a few times but I could not really find were I was looking for. Does anyone have a idea to outline the caption to left??
\BoudewijnD
- Attachments
-
- Figure 1
- figure1.jpeg (26.75 KiB) Viewed 21723 times