0

Consider this script

\documentclass{report}
\usepackage{graphicx, subfig}
\begin{document}
\begin{figure}
  \subfloat[$a>5$~[a.u.]]{%                                                                                                                                                                                 
    \includegraphics[width=0.45\textwidth]{example-image-a}%                                                                                                                                                
  }
  \subfloat[$a\le5$~[a.u.]]{%                                                                                                                                                                               
    \includegraphics[width=0.45\textwidth]{example-image-b}%                                                                                                                                                
    }
  \end{figure}
\end{document}

[] inside [] is causing a distortion in the portrayal of the captions of the subfloats:

enter image description here

What is the best way to escape [ and ]?

Viesturs
  • 7,895

0 Answers0