Gets the next figure caption number

Share:

Description

The function relies on options("fig_caption_no") in order to keep track of the last number.

Usage

1
figCapNoNext(roman = getOption("fig_caption_no_roman", FALSE))

Arguments

roman

Whether or not to use roman numbers instead of arabic. Can also be set through options(fig_caption_no_roman = TRUE)

See Also

Other figure caption functions: figCapNoLast, figCapNo

Examples

1
2
3
org_opts <- options(fig_caption_no=1)
figCapNoNext()
options(org_opts)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.