I'm writing a paper on general mathematics and I want to add some contour integrals. The basic command is $\oint$
which produces the known result: an integral with a circle in the middle.
How can I add the integral with the triangle in the middle and that of the box/rectangle in the middle? I have seen these symbols before but I don't know their code.
Best Answer
Here's some possibility allowing you to easily define different integral symbols with decorations adapting to the math style:
The code:
The code was adapted from
this answer
to Average integral symbolJust for illustration of the method's versatility, here's a fancy integral sign built with the help of TikZ: