get.tracking.num: Get Figure/Table Number

View source: R/get_tracking_num.R

get.tracking.numR Documentation

Get Figure/Table Number

Description

Get current figure, table, supplemental figure, and/or supplemental table number

Usage

get.tracking.num(type = "figure")

Arguments

type

A character vector indicating whether you want the current "figure", "table", "supplemental figure", or "supplemental table" number. Defaults is "figure".

Examples

data(example_data)

plot(example.data$X, example.data$Y, sub = figure.caption("This is a figure"))

get.tracking.num(type = "figure")

plot(example.data$X, example.data$Y, sub = figure.caption("This is another figure"))

kstagaman/autoNumCaptions documentation built on Sept. 13, 2022, 12:38 p.m.