lazy.ref: Reference Tables, Figures, Sections, and Pages

Description Usage Arguments Author(s) Examples

View source: R/lazy.ref.R

Description

Provides the code to label and reference objects that have a label statement with them

Usage

1
2
3
lazy.label(label)

lazy.ref(label, text, page = FALSE, link = TRUE)

Arguments

label

A character(1) giving the name of the to be created or referenced

text

For HTML, the text to be hyperlinked for the reference. If missing, this is set to "(link)"

page

Indicates if the page number on which the label lies should be returned or the object number. This only applies to LaTeX files

link

for LaTeX files, should the reference link to the object

Author(s)

Benjamin Nutter

Examples

1
2
3
lazy.label("Label1")
lazy.ref("Label1")
lazy.ref("Label1", page=TRUE)

nutterb/lazyWeave documentation built on May 24, 2019, 10:52 a.m.