Graphics, Figures & Tables ⇒ How not to number figures?
How not to number figures?
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How not to number figures?
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How not to number figures?
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: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How not to number figures?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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: 9202
- 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.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How not to number figures?
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?
Re: How not to number figures?
\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*