Skip to contents

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