make_knitr_header: Assumes the presence of the LaTeX package 'titling' with the...

View source: R/make_knitr_header.R

make_knitr_headerR Documentation

Assumes the presence of the LaTeX package titling with the new command \subtitle. \usepackagetitling \newcommand\subtitle[1] \posttitle \par\endcenter \begincenter\large#1\endcenter \vskip0.5em Capitalization is not modified by this function.

Description

Assumes the presence of the LaTeX package titling with the new command \subtitle. \usepackagetitling \newcommand\subtitle[1] \posttitle \par\endcenter \begincenter\large#1\endcenter \vskip0.5em Capitalization is not modified by this function.

Usage

make_knitr_header(
  title_str = "",
  sub_title_str = "",
  author_str = "Data Science Core"
)

Arguments

title_str

character vector of length 1 having the text of the title

sub_title_str

character vector of length 1 having the text of the subtitle

author_str

character vector of length 1 having the text describing the author(s). Has default.


rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.