A variant of [theme_insper()] with smaller text, sized for figures inserted into Word documents and other print reports. A typical document figure is about 15 cm (6 in) wide — at that size the default 12 pt base of [theme_insper()] renders noticeably larger than the surrounding body text, so this variant lowers the base to 10 pt.
See also
[theme_insper()]
Other themes:
theme_insper()
Examples
if (FALSE) { # has_insper_fonts()
library(ggplot2)
p <- ggplot(mtcars, aes(x = wt, y = mpg)) +
geom_point() +
labs(title = "Fuel efficiency", x = "Weight (1000 lbs)", y = "MPG")
# Smaller text for a figure destined for a Word document
p + theme_insper_doc()
if (FALSE) { # \dontrun{
# Save at document width and insert into Word without rescaling
save_insper_plot(p + theme_insper_doc(), "figure.png", width = 15)
} # }
}
