LaTeX code for average integrals
Put this code in your preamble:
% Define \intavg
\usepackage{scalerel}[2014/03/10]
\usepackage[usestackEOL]{stackengine}
\def\intavg{\,\ThisStyle{\ensurestackMath{%
\stackinset{c}{0\LMpt}{c}{0\LMpt}{\SavedStyle-}{\SavedStyle\phantom{\int}}}%
\setbox0=\hbox{$\SavedStyle\int\,$}\kern-\wd0}\int}
You can then use \intavg in your code wherever you would put \int.
Published Nov. 14, 2022 10:09 AM
- Last modified Nov. 14, 2022 10:09 AM