TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them?

enter image description here

               \begin{minipage}{0.45\linewidth}   %tamaño
            \hspace{5mm}    \begin{minipage}{0.45\linewidth}


thanks in advance!

share|improve this question

You could use the subcaption package to induce an automatic line break between the caption's "number" (letter, actually) and text. The subcaption package also provides the environment subfigure (plus subtable); using it allows you to combine \subfloat directive and minipage environment into a single environment.

The following MWE shows how this may done. (Note that I haven't provided a caption for the overall figure float as your example didn't seem to require one.)

\usepackage[demo]{graphicx} % remove '[demo]' for real version
      \caption{First Subfigure}
   \hspace{\fill}   % separate the two subfigures as much as possible
      \caption{Second Subfigure}


enter image description here

share|improve this answer

Your Answer


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.