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 use

\ctable[caption = \textbf{something}]{}{}{}

the text inside the caption is bold but TABLE 1. is not ... It looks like this:

TABLE 1: something

and i would like

TABLE 1: something

share|improve this question
    
You can increase your chance for good (and quick) answers if you add a complete but minimal example to your question. –  Thorsten Donig Apr 29 '12 at 9:51

2 Answers 2

You could use the caption package and set \captionsetup[table]{font=bf,position=below} to get bold label and caption text. The position=below is necessary to get the right spacing of the caption.

\documentclass{article}
\usepackage{caption}
\captionsetup[table]{font=bf,position=below}
\usepackage{ctable}

\begin{document}
This is a row of text, so we can see the whitespace around the table

\ctable[
caption = Centered,pos=hbtp!
]{cc}{}{\FL Table's first row & Second column\LL}

This is a row of text, so we can see the whitespace around the table
 \end{document}
share|improve this answer
    
+1 for position=below. –  lockstep Apr 29 '12 at 9:56

If you don't like to use the caption package, for example in case in would interfere with ctable somehow (ctable is not mentioned in the caption documentation), you could redefine the macro which prints the caption and is usually defined by the class. A small example:

\usepackage{letltxmacro}
\makeatletter
\LetLtxMacro{\@stdmakecaption}{\@makecaption}
\renewcommand{\@makecaption}[2]{\bfseries\@stdmakecaption{#1}{#2}}
share|improve this answer

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.