Graphics, Figures & Tables\captionlabeldelim does not work

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

\captionlabeldelim does not work

Post by neumannturing »

The \captionlabeldelim is a macro in the package caption2. however, this package does not work in my MikTex2.5 with the error \@makecaption undefined. When I check the doc, it says the caption2 is obsolete and should be changed to caption. However, \captionlabeldelim is not in the caption package. Any alternative macro can we use to change the captionlabeldelim? Thank you.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\captionlabeldelim does not work

Post by localghost »

You should clarify what this \captionlabeldelim is (command, length) and what it does. Seems to me that this may be the separator between label and caption text. In this context you could describe what you want to do. So we may be able to find an alternative solution. Moreover it is recommendable to upgrade your LaTeX system to MiKTeX 2.7 because package repositories have been closed for 2.5 a long time ago.


Best regards
Thorsten¹
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

Re: \captionlabeldelim does not work

Post by neumannturing »

Just as you think, the \captionlabeldelim is to change the seperator of the label and the caption, usually it is : or . However, I do not want any separator. Thank you.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\captionlabeldelim does not work

Post by localghost »

neumannturing wrote:[…] However, I do not want any separator. […]
With the current version of caption this is done very easy.

Code: Select all

\usepackage[font=small,labelfont=bf,labelsep=none]{caption}
But this looks very poor. I suggest to replace none with space (or even quad).
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

Re: \captionlabeldelim does not work

Post by neumannturing »

This will affect the whole document. What should I do if I just want to change the delimiter for one figure?
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

\captionlabeldelim does not work

Post by sommerfee »

neumannturing wrote:This will affect the whole document. What should I do if I just want to change the delimiter for one figure?
Just put \captionsetup{labelsep=space} inside that figure, right before the \caption command.
Post Reply