2

I am using Texmaker with TeXLive on Windows 10. I want to use some type of 'Garamond' font for my math paper.

Looking around I found the fonts GaramondNo8 and Garamondx can be used to provide nice looking text and mathematics.

I am having a lot of difficulty getting them to work. First, when I try to use

\usepackage{garamondx}

I get the the error message: File 'garamondx.sty' not found. Looking online in find this is because of some restriction on those fonts and that I need to use getnonfreefonts (http://tug.org/fonts/getnonfreefonts/). When I download the installer, it asks me what program to use to run it. I don't know what program to run it with, its file type is "file".

Basically, I want to know what code I need to put in my LaTeX file to use these fonts and how to get them installed.

Sorry...I am a complete noob and can't figure any of this out.

  • Welcome to TeX SX! Did you try to install it with TeX Live Package Manager? – Bernard Apr 24 '17 at 0:50
  • I'm not sure what TeX Live Package Manager. I installed TexLive then changed PATH with some help of another forum. I just downloaded the getnonfreefonts installer form that website. – David Palmer Apr 24 '17 at 0:58
  • I've just posted an explanation on how to do it (under MiKTeX, but most of the procedure should be the same with TeX Live). – Bernard Apr 24 '17 at 1:09
4

I think it should be the same as for MiKTeX: I've checked it's not in any distribution. You can easily install it by hand; download the ready-to-install garamondx.tds.zip from the install/fonts directory on CTAN, and unzip it at the root of your texmf-local directory.

(This is the procedure for MiKTeX – it may slightly differ for TeX Live). In some subdirectory of texmf-local (or in your home directory) you should have an updmap.cfg file, in which you can add this line:

Map zgm.map

In MiKTeX, there remains a last step (not sure it is required under TeX Live): run from the command line, as administrator: updmap.exe. This is to refresh the type1 fonts databases, so the compiler knows where to find the font files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.