figCapNoNext: Gets the next figure caption number

View source: R/figCaptionNo.R

figCapNoNextR Documentation

Gets the next figure caption number

Description

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

Usage

figCapNoNext(roman = getOption("fig_caption_no_roman", default = 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

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

gforge/Gmisc documentation built on Aug. 30, 2023, 7:38 a.m.