Graphics, Figures & Tables ⇒ How not to number figures?
How not to number figures?
I am making a poster with sciposter.
I would like to add a legend to my pictures, without getting the number of the figure. I usually use \caption but I do not manage to eliminate the "Figure 1:" and to keep the following text.
My question is thus: how can I title my figures without getting a number?
Thanks for your help
Sarah
I would like to add a legend to my pictures, without getting the number of the figure. I usually use \caption but I do not manage to eliminate the "Figure 1:" and to keep the following text.
My question is thus: how can I title my figures without getting a number?
Thanks for your help
Sarah
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
How not to number figures?
Include the caption package and use its \caption* command to get only the actual caption of a figure.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: How not to number figures?
Thanks for your quick answer and for your help.
I tried what you've suggested but it unfortunately does not work. Here is the message I get:
! LaTeX Error: \ContinuedFloat outside float.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
..
l.55 \caption*
{Impact on a glass plate leading to its fragmentation \sma...
?
I did include the package caption.
I tried what you've suggested but it unfortunately does not work. Here is the message I get:
! LaTeX Error: \ContinuedFloat outside float.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
..
l.55 \caption*
{Impact on a glass plate leading to its fragmentation \sma...
?
I did include the package caption.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
How not to number figures?
I wonder what the \ContinuedFloat command has to do with that. Build a minimal working example (MWE) that exactly produces this error.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
How not to number figures?
The old version 3.0 of the caption package used \ContinuedFloat within its \caption* code.localghost wrote:I wonder what the \ContinuedFloat command has to do with that.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
How not to number figures?
I see. But this fact can only be well known the author himself. Thanks for this information.sommerfee wrote:The old version 3.0 of the caption package used \ContinuedFloat within its \caption* code.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: How not to number figures?
I am using the Version 3.141592-1.40.3
I tried a simpler case with a \documentclass[]{article}, and it works.
When I make a poster, I use \documentclass[]{sciposter}, and it does not work anymore. Apparently, it has something to do with this sciposter...
I also use the command \section*{}, which has the effect not to number the sections.
Thanks for your help
Sarah
I tried a simpler case with a \documentclass[]{article}, and it works.
When I make a poster, I use \documentclass[]{sciposter}, and it does not work anymore. Apparently, it has something to do with this sciposter...
I also use the command \section*{}, which has the effect not to number the sections.
Thanks for your help
Sarah
How not to number figures?
That is the version of TeX itself, not the version of the caption package. If you want to know the version of the caption package, take a look at your log file which is generated when processing your document. One should find a line like this in it:sarah wrote:I am using the Version 3.141592-1.40.3
Code: Select all
) (C:\Programme\MiKTeX\tex\latex\caption\caption.sty
Package: caption 2008/08/24 v3.1j Customizing captions (AR)
The caption package does not work with the sciposter document class. This class has its very own macros for customizing the caption stuff.When I make a poster, I use \documentclass[]{sciposter}, and it does not work anymore. Apparently, it has something to do with this sciposter...
Instead of using the caption package and \caption* you could give
Code: Select all
\renewcommand\capstart[1]{}\caption{Some text...}
HTH,
Axel
P.S.: Seems to work:
Code: Select all
\documentclass{sciposter}
\begin{document}
\begin{figure}
\centering
Some text\ldots
\renewcommand\capstart[1]{}\caption{Some text}
\end{figure}
\end{document}
Re: How not to number figures?
It works, thank you!
Re: How not to number figures?
I am working in the sidecap environment, i.e. I have done:
\usepackage{sidecap}
...
\begin{SCfigure*}[5]
\includegraphics[width=0.15\textwidth]{Figure.eps}
\caption{text}
\end{SCfigure*}
and I want to use \caption*{} to not have the figure numbered, but that just screws up the formatting and I can see it numbered at the edge of the physical page (it runs off the page).
I've searched around for ways to /renewcommand on something...looked trough the documentation on caption.pdf, sidecap.pdf and am mostly lost. I tried a few things but didn't get anywhere.
*sigh*
\usepackage{sidecap}
...
\begin{SCfigure*}[5]
\includegraphics[width=0.15\textwidth]{Figure.eps}
\caption{text}
\end{SCfigure*}
and I want to use \caption*{} to not have the figure numbered, but that just screws up the formatting and I can see it numbered at the edge of the physical page (it runs off the page).
I've searched around for ways to /renewcommand on something...looked trough the documentation on caption.pdf, sidecap.pdf and am mostly lost. I tried a few things but didn't get anywhere.
*sigh*