beamer add tag
Juan Camilo
As in a previous question I asked, I’m working with the fibeamer theme ([Link]( but now I have problems with a long figure name (e.g. slide #12 [Link](
)). Maybe someone may know how to split it in two lines and center this figure name because now is working like is “justify” and does not look good.
Top Answer
You are indirectly using the `caption` package (through the `subcaption` package). This means you can use `\captionsetup{justification=centering}` to alter the justification:


\usepackage[main=spanish, english]{babel}


\caption{very long caption very long caption\linebreak very long caption very long caption very long caption very long caption very long caption}


![Screen Shot 2021-05-20 at 10.29.28.png](/image?hash=b3054c09775ad8545cec8ccf079b869f22857b42c5a527ab33b557b06e739a35)


### Unrelated

- `\shorthandoff{-}` causes an error. Even though Overleaf is very good at hiding error messages behind this small red rectangle, you should never ignore them. After an error, LaTeX only recovers enough to syntax check the rest of the document, not necessarily producing sensible output

- beamer is a documentclass without floating mechanism. It is not necessary to give floating specifier like `[h]` for tables/figures 

- you should not use math mode for multiletter words like `value`, instead you can use `$P_{\text{value}}$`. This will give better spacing between the letters 

- the there is a problem with one of the urls you link to. Due to the special characters it contains, you need to put it in a `fragile` frame and using it in a `\caption` is also a problem, but as the caption is not numbered anyway, you could just set it as normal text:

    \frametitle{\thesection.\thesubsection \ \insertsubsection}
    \framesubtitle{Respecto a la Deuda}
    \caption{Modelo Efectos Aleatorios con cambio estructural}
      Variable & Estimador & $P_{\text{value}}$ \\
      Intercepto & -1.2250652 & 0.3978 \\
      Deuda & -0.0135709 & 9.126e-06 ***\\
      Desempleo & -0.0132417 & 0.7281 \\
      Formación Bruta Capital & 0.2273012 & 1.646e-05 ***  \\
      Cambio Estructural & -5.3523031 & 5.417e-12 *** \\
    Elaboración propia. Datos 
    \href{}{Banco Mundial}

- some of the labels are used multiple times. If you use them to reference figures, the references might be wrong. Better use unique labels to be on the safe side.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.