3

How can I typeset a proper \oiint symbol?

I can only find bitmap workarounds or ugly variations. Using the package esint with this minimal setup:

\documentclass{article}
\usepackage{amsmath}
\usepackage{bm}
\usepackage{esint}

\begin{document}
\begin{gather}
\oiint_A \bm{F}
\end{gather}
\end{document}

…results in unusably ugly rasterisation:

close-up of rasterised surface integral

With \usepackage[integrals]{wasysym}, the all integral symbols are replaced with uglier, shorter alternatives, which isn’t acceptable for my use.

Using unicode-mathas per this question breaks the bm package. To fix this, used the package mathastext as per this question, but this seems to break absolutely everything. I am beginning to seriously doubt LaTeX.

Please help me.


Edit Here is the contents of the file MWE.log on Pastebin when compiled with PdfLaTeX.

Thanks.

11
  • 1
    Your MWE produces no rasterization when I compile it. Commented Apr 24, 2017 at 10:33
  • 1
    bm and unicode-math don't get along too well, but mostly you don't need bm at all if using unicode-math as most of the alphabetic bold symbols (such as \bm{F} in your example) are available in the uniocde-math fomts directly (and can be accessed using \symbf from unicode-math) Commented Apr 24, 2017 at 10:38
  • Your example should work fine. Can you show the log-file of a compilation with pdflatex? Commented Apr 24, 2017 at 10:41
  • 1
    your problem is /Users/Joseph/Library/texlive/2016basic/texmf-var/fonts/pk/ljfour/public/esint/esint10.600pk the map file to tell pdftex to use scalable fonts seems not to have been installed Commented Apr 24, 2017 at 10:59
  • 1
    \newcommand\bm{\symbf} would work to define an alias. Commented Apr 24, 2017 at 11:00

1 Answer 1

4

The Type1 (vectorized) version of the fonts used by esint is available in the TeX Live package esint-type1 that you should install with TeX Live Utility:

enter image description here

If you do the same on your machine, you will see “Not installed” for the bottom one. Install it.

If disk space is not a big problem for you, it's better to install the full MacTeX, so dependency problems like these will disappear.

2
  • Thanks. Can I install MaxTeX through Tex Live Utility, or should I install it straight from tug.org/mactex? It’s true, I’m always falling into dependency rabbit holes.
    – Jollywatt
    Commented Apr 24, 2017 at 11:19
  • 2
    @Jollywatt You have to do the install from TUG. But maybe it's better waiting for the 2017 release, due June.
    – egreg
    Commented Apr 24, 2017 at 11:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .