gloss: Reference gloss

View source: R/markdown.R

glossR Documentation

Reference gloss

Description

Latex output uses \@ref(label) to reference examples, whereas HTML output is based on pandoc examples, i.e. (@label). `r gloss(label)`, written inline in the text, will return the appropriate reference based on the selected output.

Usage

gloss(label)

Arguments

label

Label for reference

Value

Character string with label reference


glossr documentation built on May 29, 2024, 11:53 a.m.