0

I was trying to use Garamond for my pdf document by using pandoc, but it seems that there is no fontfamily for a normal Garamond although it is in the catalogue(https://tug.org/FontCatalogue/garamond/). How can I use the font by using pandoc? If I use "fontfamily: urw-garamond", I got an error message saying that "! LaTeX Error: File `urw-garamond.sty' not found." if I use "mainfont: Garamond", it just generates the pdf document with the default font, not with Garamond. I installed the most recent version of Mactex.

fontfamily: urw-garamond
fontsize: 12pt
margin-left: 1.5in
margin-right: 1.5in
margin-top: 1.5in
margin-bottom: 1.5in
indent: true
documentclass: article

pandoc test.txt -s -o test.pdf

11
  • 1
    Please clarify how this posting differs from your earlier query.
    – Mico
    Aug 28 at 13:06
  • The font catalogue tells you under the usage section how to use this font, but with lualatex I would suggest to use a system font instead of the mathdesign package. Aug 28 at 13:26
  • MikTeX lists a variety of garamond packages, such as \usepackage{ebgaramond}. Aug 28 at 13:37
  • @samcarter_is_at_topanswers.xyz Sorry, still not working. Maybe my MacText doesn't have the font so that I need to download it?
    – kcho17
    Aug 28 at 15:18
  • @kcho17 If you did a complete installation, it will be included in mactex Aug 28 at 15:18

0

You must log in to answer this question.

Browse other questions tagged .