Apply font code to whole document

image

I want to use the Latin Modern Dunhill font.

So, I try \usepackage{lmodern} and \fontfamily{lmdc}\selectfont in the preamble.

What is the correct high level command to specify a font code for the whole document?



Do not use lmodern with Unicode engines. Instead, use fontspec.

There is also not much point in loading lmodern for 8-bit engines if you really want to use Dunhill for the entire document, since I assume that means the document is short, specialist and only contains text. lmodern.sty does nothing to facilitate access to Dunhill. In that case either use

or

Note that all these examples will render poorly. If you are using the font for multiple lines of text, you need to increase the line-spacing as the default is insufficient. The font is not designed to be used for paragraphs, IMHO.

Ask AI
#1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31 #32 #33 #34 #35 #36 #37 #38 #39 #40 #41 #42 #43 #44 #45 #46 #47 #48 #49 #50 #51 #52 #53 #54 #55 #56 #57 #58 #59 #60 #61 #62 #63 #64 #65 #66 #67 #68 #69 #70