Learn R Programming

docorator (version 0.5.2)

fancyhead: Construct document header

Description

Define document header through a series of fancyrows. Each row represents a new line in the header with options for positioning text at left, center, and/or right positions.

Usage

fancyhead(...)

Value

Character string containing latex code for the fancyhead entries as part of the fancyhdr latex framework

Arguments

...

Series of objects of class fancyrow. Each entry represents a new row in the document header.

Examples

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

Run the code above in your browser using DataLab