Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[12pt]{scrbook}
- usepackage[paperwidth=7.5in, paperheight=9.25in, top=1in, bottom=1.375in, left=1in, right=1in]{geometry}
- setlength{parindent}{2em}
- %Fonts
- usepackage{fontspec}
- %This is ShareLaTeX Specific (or if the fonts are not installed in your system)
- %-----------------------------------------------------------------------
- % Garamond
- setmainfont[BoldFont=GARABD.otf,ItalicFont=GARAIT.otf]{GARAMOND.otf}
- begin{document}
- Something is wrong! I am momentarily blinded and confused by moving, overlapping, translucent images that overwhelm my vision of the book I am reading. The room I sit in is visually a frenetic whirling mess. Abject fear grips me, first at the base of my spine, then it rips up my spine to my cortex and beyond. par
- end{document}
- /usr/local/texlive/2016/texmf-dist/fonts/opentype/GARABD.otf/GARAMOND.otf
- /usr/local/texlive/2016/texmf-dist/fonts/truetype/GARABD.otf/GARAMOND.otf
- /usr/local/texlive/2016/texmf-dist/fonts/type1/GARABD.otf/GARAMOND.otf
- ... any other font directory in your environment/GARABD.otf/GARAMOND.otf
- cat $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf
- /Library/Fonts/GARABD.otf
- /Library/Fonts/GARAIT.otf
- /Library/Fonts/GARAMOND.otf
- usepackage{fontspec}
- setmainfont[%
- Path = /Library/Fonts/ ,
- UprightFont = MOND ,
- BoldFont = BD ,
- ItalicFont = IT ,
- Extension = .otf
- ]{GARA} % {contains only what is common among all file names (usually basename of font family)}
- /Library/Fonts/DejaVuSansCondensed.ttf
- /Library/Fonts/DejaVuSans.ttf
- /Library/Fonts/DejaVuSans-ExtraLight.ttf
- /Library/Fonts/DejaVuSansCondensed-Bold.ttf
- /Library/Fonts/DejaVuSans-BoldOblique.ttf
- /Library/Fonts/DejaVuSansCondensed-Oblique.ttf
- /Library/Fonts/DejaVuSansCondensed-BoldOblique.ttf
- /Library/Fonts/DejaVuSans-Oblique.ttf
- /Library/Fonts/DejaVuSans-Bold.ttf
- usepackage{fontspec}
- newfontfamilydejavu[%
- Path = /Library/Fonts/ ,
- UprightFont = ,
- BoldFont = -Bold ,
- ItalicFont = -Oblique ,
- Extension = .ttf
- ]{DejaVuSans} % {contains only what is common among all file names (usually basename of font family)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement