How to obtain "equation environment's size" for integral sign in caption? The one using inline math mode is too small (see caption):
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}

$\displaystyle T=\int_{0}^{1} f(x)\,dx$– egreg Sep 26 '16 at 13:23\,dxbit? – luchonacho Sep 26 '16 at 13:26\,spaces the differential a bit; look at quality books and you'll find the small space. – egreg Sep 26 '16 at 13:29