table_numbers: Renumber LaTeX Table in a document

Description Usage Arguments

View source: R/table_prep.R

Description

Requires header needs \newcounter{foo} to be added in document YAML to work under header-includes:. Useful for adding secondary counts to tables (e.g., Table 2a, Table 2b). Can also be used to switch primary counts to alternative styles like alph or roman.

Usage

1
2
3
4
table_numbers(latex_table, hold_primary_count = TRUE,
  rm_primary_count = FALSE, rm_secondary_count = FALSE,
  reset_secondary_counter = FALSE, primary_count_style = "arabic",
  secondary_count_style = "alph")

Arguments

hold_primary_count

Stops the first counter from ascending

rm_primary_count

Does not show primary count

rm_secondary_count

Removes secondary count

reset_secondary_counter

Resets the seconary counter back to 1

primary_count_style

Character vector that should be equal to alph, Alph, arabic, roman, or Roman.

secondary_count_style

Character vector that should be equal to alph, Alph, arabic, roman, or Roman.


johnhenrypezzuto/blpl documentation built on Dec. 6, 2019, 2:36 a.m.