How can I make an R plot use the Latin Modern font family when saved as a PDF?
问题 If I type par(family='CM Roman') then I can get a plot to display with the Computer Modern font. However, when I try to save it as a PDF, it comes up as a blank document, unlike if I take out that line. How can I get it to save correctly as a PDF? Also, how can I use Latin Modern instead of Computer Modern? 回答1: This is how I did it in Windows: Install the extrafont package. Install Latin Modern fonts, e.g. from http://www.fontsquirrel.com/fonts/latin-modern-roman. Watch out, you need to