Learn R Programming

TeXCheckR (version 0.2.0)

check_footnote_typography: Check footnote typography

Description

Check footnote typography

Usage

check_footnote_typography(filename, ignore.lines = NULL, .report_error)

Arguments

filename

A LaTeX file.

ignore.lines

Lines to ignore (for example, those using the word 'footnote').

.report_error

A function to provide context to any errors.

Value

Called for its side-effect.

Details

See https://github.com/HughParsonage/grattex/blob/master/doc/grattexDocumentation.pdf for full set of error conditions.

Examples

Run this code
# NOT RUN {
  tex_file <- tempfile(fileext = ".tex")
  cat("Footnote not ending with full stop.\\footnote{No sentence}", file = tex_file)
  check_footnote_typography(tex_file)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab