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.

How do I remove the label, "Figure 1:" from the caption of the diagram, using the sidecap package?

share|improve this question

1 Answer 1

You can use labelformat=empty for \captionsetup from the caption package; here's the code for a particular SCfigure:

\documentclass{article}
\usepackage{caption}
\usepackage{sidecap}

\begin{document}

\begin{SCfigure}
\rule{4cm}{2cm} % to simulate a figure
\captionsetup{labelformat=empty}
\caption{A test caption}
\end{SCfigure}

\end{document}

enter image description here

and the code affecting all the SCfigure environments:

\documentclass{article}
\usepackage{caption}
\usepackage{sidecap}

\captionsetup[SCfigure]{labelformat=empty}

\begin{document}

\begin{SCfigure}
\rule{4cm}{2cm} % to simulate a figure
\caption{A test caption}
\end{SCfigure}

\end{document}

A simpler solution for some particular SCfigure would be to use \caption* ( from the caption package) instead of \caption:

\documentclass{article}
\usepackage{caption}
\usepackage{sidecap}

\begin{document}

\begin{SCfigure}
\rule{4cm}{2cm} % to simulate a figure
\caption*{A test caption}
\end{SCfigure}

\end{document}
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.