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

View source: R/clearpage.R

clearpageR Documentation

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

Description

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

Usage

clearpage()

Value

Returns either a LaTeX command, \clearpage, 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

clearpage()

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