figCapNoLast: Gets the last figure caption number

View source: R/figCaptionNo.R

figCapNoLastR Documentation

Gets the last figure caption number

Description

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

Usage

figCapNoLast(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: figCapNoNext(), figCapNo()

Examples

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

Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.