Caption: Auto-number Table or Figure Captions.

Description Usage Arguments Value Examples

View source: R/captions.R

Description

Perform auto-numbering within text and for caption of figures tables, and (or) appendices. Function creates an internal counter for eliminate use of global variable counter.

Usage

1
Caption(label, sep = ":")

Arguments

label

Character. No restrictions yet but likely should be either Figure or Table.

sep

Character. The separator between 'label' and number.

Value

List. 'Num' returns current caption number. 'Show' displays the caption as (example) 'Figure 1: This is a caption.'

Examples

1
# coming soon

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.