4

I am a very new Latex beginner. I would like to create a figure with side caption. However I would like to omit the "Figure" text inserted by default from Latex. For example, with the below code, I could produce the below figure. But I don't want the word "Figure 1.2" appears in the caption. How would you do that ? Many thanks

\documentclass[12pt]{report}
\usepackage{graphicx}
\usepackage{sidecap}


\begin{document}

 \begin{SCfigure}
 %\centering
 \caption {my caption text}
 \includegraphics[width=0.5\textwidth]    {myfigure}
 \end{SCfigure}

 \end{document}

enter image description here

2
  • Do you want only the phrase "my caption text" but not the rest of the caption?
    – koleygr
    Oct 16, 2017 at 2:19
  • Yes. I only want to delete "Figure 1.2" words, and keep "my caption text"
    – N.T.C
    Oct 16, 2017 at 2:22

1 Answer 1

11

I have figured it out: I used \usepackage{caption} and use command \caption*{text here} that would solve the problem. Cheers.

1
  • 2
    Not only does \caption* not produce the word "Figure", it doesn't increment the figure-counter either, so any following numbered figures are numbered correctly.
    – Rosie F
    Feb 22, 2019 at 18:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .