Advertisement
Guest User

Untitled

a guest
Jul 12th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. documentclass[12pt]{scrbook}
  2. usepackage[paperwidth=7.5in, paperheight=9.25in, top=1in, bottom=1.375in, left=1in, right=1in]{geometry}
  3. setlength{parindent}{2em}
  4.  
  5. %Fonts
  6. usepackage{fontspec}
  7. %This is ShareLaTeX Specific (or if the fonts are not installed in your system)
  8. %-----------------------------------------------------------------------
  9. % Garamond
  10. setmainfont[BoldFont=GARABD.otf,ItalicFont=GARAIT.otf]{GARAMOND.otf}
  11.  
  12. begin{document}
  13. 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
  14.  
  15. end{document}
  16.  
  17. /usr/local/texlive/2016/texmf-dist/fonts/opentype/GARABD.otf/GARAMOND.otf
  18. /usr/local/texlive/2016/texmf-dist/fonts/truetype/GARABD.otf/GARAMOND.otf
  19. /usr/local/texlive/2016/texmf-dist/fonts/type1/GARABD.otf/GARAMOND.otf
  20. ... any other font directory in your environment/GARABD.otf/GARAMOND.otf
  21.  
  22. cat $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf
  23.  
  24. /Library/Fonts/GARABD.otf
  25. /Library/Fonts/GARAIT.otf
  26. /Library/Fonts/GARAMOND.otf
  27.  
  28. usepackage{fontspec}
  29. setmainfont[%
  30. Path = /Library/Fonts/ ,
  31. UprightFont = MOND ,
  32. BoldFont = BD ,
  33. ItalicFont = IT ,
  34. Extension = .otf
  35. ]{GARA} % {contains only what is common among all file names (usually basename of font family)}
  36.  
  37. /Library/Fonts/DejaVuSansCondensed.ttf
  38. /Library/Fonts/DejaVuSans.ttf
  39. /Library/Fonts/DejaVuSans-ExtraLight.ttf
  40. /Library/Fonts/DejaVuSansCondensed-Bold.ttf
  41. /Library/Fonts/DejaVuSans-BoldOblique.ttf
  42. /Library/Fonts/DejaVuSansCondensed-Oblique.ttf
  43. /Library/Fonts/DejaVuSansCondensed-BoldOblique.ttf
  44. /Library/Fonts/DejaVuSans-Oblique.ttf
  45. /Library/Fonts/DejaVuSans-Bold.ttf
  46.  
  47. usepackage{fontspec}
  48. newfontfamilydejavu[%
  49. Path = /Library/Fonts/ ,
  50. UprightFont = ,
  51. BoldFont = -Bold ,
  52. ItalicFont = -Oblique ,
  53. Extension = .ttf
  54. ]{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