I want to automatically add a \,
between the upperlimit and the integral sign instead of having to type it mannually every time. I'm using latexocr to snip the equation and copy the latex code from latexocr to my document, if i use \renewcommand
to redefine \int
, then the syntax would become \int{a}{b}{f}
but i want to keep the \int_{a}^{b}{f}
format where _
and ^
is used to indicate upper and lower limit. Are there anyway to achieve this or are there any method to configure the default spacing of the original \int
command ?
\let\st\int
\renewcommand*{\int}[3]{\st_{#1}^{\,#2}{#3}}
% but i want something like this
$\int_{a}^{b}{s}(x)dx$
% instead of this
$\int{a}{b}{s}(x)dx$