create_preamble_tex {TBox}R Documentation

Create preamble .tex for code font

Description

Create preamble .tex for code font

Usage

create_preamble_tex(font_size = 12, monofont_path = get_fira_path())

Arguments

font_size

a numeric. The font size, only available in pdf format.

monofont_path

a string. The path to the font used to render code chunks. It should link to a .ttf file. Only available in pdf format.

Value

a vector of characters representing an Rmd file (each element being a line)

Examples


create_preamble_tex()
create_preamble_tex(font_size = 18.0)


[Package TBox version 0.2.2 Index]