The little things I put hours into just because I care a lot but that nobody will ever consciously notice:

The graphs I plot in R use the same font for their axes labels as the LaTeX document that they will be embedded in.

Here's how to do that in R:

theme_linedraw() %+replace% theme(
text = element_text(size=10, family="LM Roman 10")
) -> theme_latex

This creates a custom ggplot theme that uses the specified font.

· · Web · 3  · 14  · 48