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
usagesection how to use this font, but with lualatex I would suggest to use a system font instead of the mathdesign package. – samcarter_is_at_topanswers.xyz Aug 28 '23 at 13:26\usepackage{ebgaramond}. – John Kormylo Aug 28 '23 at 13:37</usr/local/texlive/2023/texmf-dist/fonts/type1/public/mathdesign/mdugm/md-gmr8 t.pfb> !pdfTeX error: /Library/TeX/texbin/pdflatex (file ugmm8a.pfb): cannot open Type 1 font file for reading ==> Fatal error occurred, no output PDF file produced!– kcho17 Aug 28 '23 at 15:25pandoc, try putting the linefontfamily: ebgaramondin youryamlfront matter and compile usingpdflatex. – lukeflo Aug 28 '23 at 19:08getnonfreefontsscript which adds two classical Garamond styles (I used the X version in my first master thesis, looks great). You might want take a look here, but for me it worked. – lukeflo Aug 29 '23 at 15:19