powered by
Check footnote typography
check_footnote_typography( filename, ignore.lines = NULL, .report_error, rstudio = FALSE )
Called for its side-effect.
A LaTeX file.
Lines to ignore (for example, those using the word 'footnote').
A function to provide context to any errors.
(logical, default: FALSE) Should the RStudio API be used?
FALSE
See https://github.com/grattan/grattex/blob/master/doc/grattexDocumentation.pdf for full set of error conditions.
if (FALSE) { tex_file <- tempfile(fileext = ".tex") cat("Footnote not ending with full stop.\\footnote{No sentence}", file = tex_file) check_footnote_typography(tex_file) }
Run the code above in your browser using DataLab