

See the links listed in the end of this web page for technical stuff. Since I'm a TeX font novice and I know little about the technical details, I simply give quick-and-dirty instructions below, without giving the logic behind them. I thought this solution could be helpful for many stray sheep struggling to use Times New Roman in TeX on Mac OS X, so I decided to make it public by putting it on the web. Unless you have decent knowledge on how fonts work in LaTeX, which I don't have, you'll be in a deep trouble.įortunately, I could manage to make Times New Roman work in teTeX ( Gerben Wierda distribution), thanks to people in the "Mac OS X TeX Fonts" mailing list (a subdivision of the Mac OS X TeX mailing list), especially Bruce D'Arcus and most importantly, Bruno Voisin. What if you are not given such an option? Then you'll have to convert the fonts, prepare various files with various extensions, put them in the right places, cast a magic spell in shell.


If you're allowed to use regular Times instead of Times New Roman, then there is a quick solution: just include Whether you like it or not, sometimes you are asked, by your editor who thinks Word is the only way to prepare a document, to use Times New Roman. The resulting PDF will be stored in the same directory as the Rmd (R Markdown file) you just created.How to Use Times New Roman in pdflatex on Mac OS X

To see what the resulting output looks like based on this code, click on the Knit PDF button near the top of the pane.Īfter giving the resulting PDF a name, you should obtain a PDF similar to the one shown below. This creates a basic R Markdown file with some hints as to how to do a few things using R Markdown. You can also change your mind later and create any of (or all of) the three of these formats if you so choose.) You can also create HTML or Word documents by choosing the appropriate output format here. (This will check that MacTeX was appropriately installed. In the resulting screen, select Document on the left and select PDF as the Default Output Format. Select File > New File > R Markdown from the RStudio taskbar menu. These types of documents will give you the ability to nicely document your code, include your code, and also the output that your code produces. To check that R, RStudio, and TeX have been installed correctly, we will create a sample R Markdown document.
