Math & ScienceAMS and \oint

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

AMS and \oint

Post by waxranger »

I've read several books where double and triple integrals over closed surfaces are typeset.
The integrals are slanted and the indicator for the closed surface is in elliptical style such as the integrals
shown in table 60 on page 29 in the symbols-a4.pdf document (but these integrals are upright and not slanted).

I wonder what the name of such a package may be, where multiple closed integrals in the
same fashion as the AMS \iiint are provided. The "closed" indication should be "elliptical style" such as these
in table 60 mentioned above.

Anybody knows such a package?

Regards
Fab

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

porky_pig_jr
Posts: 16
Joined: Fri Dec 26, 2008 11:36 pm

Re: AMS and \oint

Post by porky_pig_jr »

Tables 57 or 58 in the same 'symbols' document?
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

AMS and \oint

Post by waxranger »

porky_pig_jr wrote:Tables 57 or 58 in the same 'symbols' document?
these are not the styles I'm looking for. The integrals in the esint package are nicely slanted but the circles of the \oint's are a little too big for my taste.
However, the exact styles of the integrals printed in the books mentioned above are not listed in the symbols.pdf document,
that makes me wonder if there are another integral packages available. I'm not pretty sure if these books are typeset using LaTeX.
They might be a creation of the publisher (McGraw Hill) itself. I was just curious, if there are other styles available than listed in symbols.pdf

Cheers
Fab
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

AMS and \oint

Post by phi »

Those books probably use commercial fonts that are not available in free LaTeX systems. You can try to create your own symbols with Metafont, based on the Computer Modern source files, or to use drawing commands to put ellipses on the standard symbols. Here is a first approach:

Code: Select all

\documentclass{article}

\usepackage{amsmath}
\usepackage{tikz}

\usetikzlibrary{shapes}

\newcommand*\oiint{%
  \tikz \node[draw, ellipse, inner xsep=-3pt, inner ysep=-9pt] {$\displaystyle\iint$};%
}

\newcommand*\oiiint{%
  \tikz \node[draw, ellipse, inner xsep=-4pt, inner ysep=-9pt] {$\displaystyle\iiint$};%
}


\begin{document}

\[ \oint \]

\[ \oiint \]

\[ \oiiint \]

\end{document}
porky_pig_jr
Posts: 16
Joined: Fri Dec 26, 2008 11:36 pm

Re: AMS and \oint

Post by porky_pig_jr »

Yes, I was thinking among the same lines. If those tables do not meet the requirements, just typeset your favorite multiple integrals and overlay them with the curve of your liking. Except for the ellipse (or whatever curve) I would have used pstricks. Actually recently I did something like that (an \uparrow and \downarrow embedded in \bigcup and \bigcap). Metafont is probably an overkill. But you have to make sure everything gets propertly resized (displaystyle vs textstyle). The same 'symbols' document has rather thorough discussion on how to create new symbols by overlapping the existing ones. The macros to check: llap, rlap and mathchoice. It was the first time I ever tried something like that, but --- worked just fine.
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

Re: AMS and \oint

Post by waxranger »

thank you guys for the inspiration!

The possibilities with LaTeX and its relatives are just amazing! I love it ;)

Since I got a little experience with pstricks, I'm going to experiment a little bit.

Happy new year
Regards
Fab
porky_pig_jr
Posts: 16
Joined: Fri Dec 26, 2008 11:36 pm

AMS and \oint

Post by porky_pig_jr »

waxranger wrote:thank you guys for the inspiration!

The possibilities with LaTeX and its relatives are just amazing! I love it ;)

Since I got a little experience with pstricks, I'm going to experiment a little bit.

Happy new year
Regards
Fab
Good luck. Make sure the width of the resulting symbol is the 'wider one' of those you're combining (probably the ellipse), so figure out whether you would want llap or rlap. If anything I can help with (with my minimal experience of doing that staff), ask.
Post Reply