# TeX Problem

1. Mar 14, 2012

### Juggler123

Hi I know this isn't general math but I didn't know where else to post!

I'm using this code to put a figure into my TeX document:

\begin{figure}[htp]
\centering
\includegraphics[scale=0.5]{A}
\caption{Flow patterns for non-Newtonian fluids for increasing rotational speeds ($\omega_{1}<\omega_{2}<\omega_{3}$) [39]}\label{A}
\end{figure}

The problem is that the caption is long and it runs onto two lines, the default setting in LaTeX is that the second line in the caption is flushed left but I would like both of the lines of the caption to be centred.

I've had a look at some possible solutions but can't really make any sense of them!

Can anyone help?
Thanks.

2. Mar 14, 2012

### dodo

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook