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.

Jollywatt
  • 258
  • 1
    Your MWE produces no rasterization when I compile it. – Steven B. Segletes Apr 24 '17 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) – David Carlisle Apr 24 '17 at 10:38
  • Your example should work fine. Can you show the log-file of a compilation with pdflatex? – Ulrike Fischer Apr 24 '17 at 10:41
  • Ok @UlrikeFischer, I’ve added a link to the log-file. Thanks. – Jollywatt Apr 24 '17 at 10:54
  • @DavidCarlisle Your advice has worked, thank you. I guess I will just need to remove the bm package and replace all occurrences of \bm with \symbf. Or should I redefine \bm\symbf? If so, do you know how? – Jollywatt Apr 24 '17 at 10:57
  • 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 – David Carlisle Apr 24 '17 at 10:59
  • 1
    \newcommand\bm{\symbf} would work to define an alias. – David Carlisle Apr 24 '17 at 11:00
  • Thanks @DavidCarlisle. unicode-math works perfectly, even though the integrals use a slightly different font. But how can I install the map file? Does that point to an incomplete esint installation? – Jollywatt Apr 24 '17 at 11:05
  • @Jollywatt You should use TeX Live Utility and install esint-type1. I usually recommend to install the full MacTeX, rather than the “basic” one, which misses so many things. – egreg Apr 24 '17 at 11:08
  • @egreg Thanks, that is exactly what was missing. Now everything else is working like normal. – Jollywatt Apr 24 '17 at 11:08
  • Should I post an answer to this question, just to say my installation was missing esint-type1? – Jollywatt Apr 24 '17 at 11:13

1 Answers1

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.

egreg
  • 1,121,712
  • Thanks. Can I install MaxTeX through Tex Live Utility, or should I install it straight from http://www.tug.org/mactex/? It’s true, I’m always falling into dependency rabbit holes. – Jollywatt Apr 24 '17 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 Apr 24 '17 at 11:20