2

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

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

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

| improve this answer | |
  • 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 '19 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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