Learn R Programming

docorator (version 0.5.2)

hf_process: Process headers/footers

Description

Process headers/footers

Usage

hf_process(x, escape_latex = TRUE)

# S3 method for default hf_process(x, escape_latex = TRUE)

# S3 method for character hf_process(x, escape_latex = TRUE)

# S3 method for fancyhead hf_process(x, escape_latex = TRUE)

# S3 method for fancyfoot hf_process(x, escape_latex = TRUE)

Value

character string containing headers and footers latex code

Arguments

x

header or footer

escape_latex

Boolean to escape latex in header/footer

Examples

Run this code
header <- fancyhead(
fancyrow(left = "Protocol: 12345", right = doc_pagenum()),
fancyrow(center = "Demographic Summary"))

hf_process(header)

Run the code above in your browser using DataLab