officedown Example

library(knitr)
library(officedown)
library(officer)
opts_chunk$set(echo = TRUE, tab.lp="Table:", fig.lp="Figure:")
fp <- fp_par(text.align = "center", padding = 20, border.bottom = fp_border())
ft <- fp_text(font.size = 12, bold = TRUE, color = "#C32900", font.family = "Cambria")

Prerequisites

This is a sample book written with R package bookdown and R package officedown.

The r ftext("officedown", ft) package can be installed from CRAN or Github: r fp

install.packages("officedown")
# remotes::install_github("davidgohel/officedown")


Try the officedown package in your browser

Any scripts or data that you put into this service are public.

officedown documentation built on Sept. 3, 2023, 1:07 a.m.