[Tex/LaTex] Using the erdc package on Mac OS X

fontsinstallingmacmactextexlive

I have the MacTeX-2012 Distribution installed on my MacBook Pro running OS X 10.8.3 Mountain Lion. Opening TeX Live Update, I see that the erdc package is installed. However, as stated in erdc.pdf, mathgifg is required to provide access to Microsoft Georgia and ITC Franklin Gothic fonts, but mathgifg isn't available via TeX Live Update.

Questions

  1. How can I install mathgifg on OS X, since it isn't available on TeX Live Update?
  2. Is it possible to install the Microsoft Georgia and ITC Franklin Goth fonts on OS X, or are they available only on Windows?
  3. How can I install the fonts for use with MacTeX-2012?

Best Answer

The font families Georgia (in "Regular" and "Bold" weights, with upright and italic shapes) and Franklin Gothic (in "Book" and "Medium" weights, also with upright and italic shapes), but not ITC Franklin Gothic, should be pre-installed on your MacOS X system. ITC Franklin Gothic is a clone of Franklin Gothic; I doubt you'll be able to detect visually meaningful differences between them.

Since Georgia and Franklin Gothic Book are system fonts, you can access them directly -- as is shown in the MWE below -- if you're willing to run LuaLaTeX rather than pdfLaTeX.

If you are willing to run LuaLaTeX (and I can't imagine why you wouldn't) on your .tex files, the only remaining function of the mathgifg package is to provide a math font family that meshes with the Georgia text font. (Aside: To set up the mathgifg package on your system, you'd download the .ins and .dtx files from, e.g., http://www.ctan.org/tex-archive/fonts/mathgifg, to a scratch folder, and run LaTEX on mathgifg.ins to generate the file mathgifg.sty. Copy the style file either to the folder where your main .tex file is located or to a folder that's searched by MacTeX2012. After that, run sudo texhash to update TeX's filename database.)

In the MWE below, I suggest using XITS Math (a Times Roman clone) as the math font, as Georgia is at least somewhat based on Times Roman. XITS Math certainly isn't perfect, but using it is a lot better than, say, Computer Modern Math. Perhaps another person can suggest a math font that harmonizes better Georgia. Because Georgia is a font with both a large x-height and a large caps-height relative to its nominal or point size, I suggest you use the Scale=MatchUppercase option when setting the sans font, and the option Scale=MatchLowercase for the math font. (For more on what these options do, I recommend you study the user guide of the fontspec manual.)

% !TEX TS-program = lualatex
\documentclass{erdc}
\usepackage{fontspec}
\setmainfont{Georgia}
\setsansfont[Scale=MatchUppercase]{Franklin Gothic Book}
\usepackage{unicode-math}
\setmathfont[Scale=MatchLowercase]{XITS Math}
\begin{document}
Hello World.
$E=mc^2$.
\textsf{Hello World.}
\end{document}

enter image description here

Related Question