<xref>

The <xref> tag facilitates internal cross-referencing within a PreTeXt document based upon @xml:id attributes. It can be a self-closing tag or paired with a closing </xref> when more complicated attributes are desired.

Syntax

Attributes

Attributes for <xref>
AttributeRequired?Values
detail = "…"optionalstring​
first = "…"optionalstring​
last = "…"optionalstring​
provisional = "…"optionalstring​
ref = "…"optionalstring​
text = "…"optional"local"​"global"​"hybrid"​"type-local"​"type-global"​"type-hybrid"​"phrase-global"​"phrase-hybrid"​"type-local-title"​"type-global-title"​"title"​"custom"​

Children

The following may appear as children: <abbr> <acro> <alert> <articletitle> <attr> <c> <delete> <em> <email> <fillin> <foreign> <init> <insert> <m> <pf> <prefigure> <pubtitle> <quantity> <stale> <tag> <tage> <taxon> <term> Text

Parents

This element may appear as an immediate child of the following elements: <alert> <angles> <articletitle> <attribution> <author> <biblio> <caption> <cell> <dblbrackets> <delete> <em> <entity> <event> <feedback> <fn> <foreign> <insert> <intertext> <li> <line> <md> <mrow> <origins> <p> <prompt> <pubtitle> <q> <shortlicense> <sq> <stale> <subtitle> <support> <term> <title> <tn>

Examples