Hey guys,
I just recently defined the following command called \Cint which features an integral sign with a C overlayed (I want to convey a line integral over curve C).
Code: Select all
\newcommand{\Cint}{\mathrlap \int \hspace{1.1px} C \ }
Unfortunately, when I try to put limits on the integral, I find that it behaves just like a regular character, putting them in the standard superscript/subscript positions. For example:
Additionally, I'd like to be able to use the limits command just like you would be able to for a normal integral so that the bounds of integration appear directly above and below the integral sign. The following code outputs an error as the command is currently defined.
Code: Select all
\Cint\limits_{\vec r_i}^{\vec r_f}
What can I change in the definition of \Cint to give me the flexibility of adding limits in the standard way and having them displayed as desired?
--- Trevor