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
.
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")
|
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 |
|
secondary_count_style |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.