0

How to obtain "equation environment's size" for integral sign in caption? The one using inline math mode is too small (see caption):

enter image description here

I've tried using equation environment inside caption but seems not allowed. Any idea? Is there not an equivalent of \dfrac for integral?

MWE:

\documentclass{article}
\usepackage{amsmath}
\usepackage{pgfplots}

\begin{document}

\begin{figure}[t]
    \centering
    \begin{tikzpicture}
    \begin{axis}
    \addplot[mark=none,black,thick] coordinates {(0, 0) (1, 1)};                                
    \end{axis}
    \end{tikzpicture}
    \caption{$T = \int_{0}^{1}f(x)dx$}
\end{figure}

\end{document}
luchonacho
  • 4,161

0 Answers0