Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. % Load the three layers of the LTC Goudy Initials font
  4. usepackage{fontspec}
  5. newfontfacefirstlayer{LTCGoudyInitNew.otf}
  6. newfontfacesecondlayer{LTCGoudyInitFlora.otf}
  7. newfontfacethirdlayer{LTCGoudyInitFill.otf}
  8.  
  9. % Create a command to print all three layers - later in color
  10. newcommand{initialmaker}[1]{%
  11. firstlayer{#1}%
  12. llap{secondlayer{#1}}%
  13. llap{thirdlayer{#1}}%
  14. }
  15.  
  16. usepackage{lettrine,lipsum}
  17. setcounter{DefaultLines}{5}
  18. renewcommand{LettrineFont}{initialmaker}
  19.  
  20. begin{document}
  21. lettrine{H}{ello world}
  22. lipsum[4]
  23.  
  24. lipsum[3]
  25. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement