Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I don't put a caption on my table, I don't get the "Table 2.2" label underneath it. If I add a blank caption, I get "Table 2.2:". How do I get rid of the ":"?

I am using memoir and threeparttable. Within the threeparttable, I am using a tabular, but I don't think that matters.

share|improve this question

2 Answers 2

up vote 7 down vote accepted

No need to load extra packages; memoir is a very versatile class that offers its own features, in this case, \captiondelim:

\documentclass{memoir}

\begin{document}

\chapter{Test Chapter}
\begin{table}
\centering
\rule{2cm}{2cm}
\captiondelim{}
\caption{}
\end{table}

\end{document}

enter image description here

Remark: in fact, loading caption with the memoir class triggers a warning:

Class memoir Warning: You are using the caption package with the memoir class. This may cause unexpected or inconsistent results if you use any of memoir's captioning facilities.

share|improve this answer

add \usepackage{caption} in the preamble. It should automatically remove the colon before empty captions.

share|improve this answer
    
Thank you, this works. It's surprising that memoir doesn't automatically include caption. Does caption interfere with ccaption, which is automatically included by memoir? –  Neil G Mar 18 '13 at 22:43
    
I didn't use the ccaption or memoir packages before and my undestanding of LaTeX in general is still limited... If i had to guess, i'd say it depends on which you include first. –  barghest Mar 18 '13 at 22:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.