pagebreak: pagebreak that works for PDF (LaTeX) and HTML output from...

View source: R/pagebreak.R

pagebreakR Documentation

pagebreak that works for PDF (LaTeX) and HTML output from knitr

Description

pagebreak that works for PDF (LaTeX) and HTML output from knitr

Usage

pagebreak()

Value

Returns either a LaTeX command, \newpage, if is_latex_output() is TRUE, an HTML command, <div style="page-break-before: always;" /> if is_html_output() is TRUE, and NULL if neither is TRUE.

Examples

pagebreak()

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