2

Everytime I write a caption of a figure or table that occupies more than one line it appears in the document like

Figure 6.2: Polarization curves at 750C for 3P_{CO}=P_{H_{2}} at the
            initial water concentrations of 3.2, 6.4, 9.6, 15, 20 and 25%.

And I want it to appear like

Figure 6.2: Polarization curves at 750C for 3P_{CO}=P_{H_{2}} at the
initial water concentrations of 3.2, 6.4, 9.6, 15, 20 and 25%.

What should I do?

Thanks,

Ramon

  • Which document class are you using? – Gonzalo Medina May 9 '14 at 20:36
  • Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. It is very important for us to know which documentclass you are using, as some of them treat captions differently from others. Could you post a small, complete, minimal working example (MWE) – cmhughes May 9 '14 at 21:12
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. A suggestion: Do us a favour and change your username to something more telling than "user1234". – Reinstate Monica - M. Schröder May 12 '14 at 0:42
2

The bahaviour you describe is the default in KOMA classes; you can change this by setting \setcapindent to 0pt to get the desired result:

\documentclass{scrartcl}

\setcapindent{0pt}

\begin{document}

\begin{figure}
\centering
A
\caption{Test figure with some addtional text spanning more than one line just for the example and some more text}
\end{figure}

\begin{table}
\centering
B
\caption{Test table with some addtional text spanning more than one line just for the example and some more text}
\end{table}

\end{document}

enter image description here

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.