Newer
Older
XML / quick-reference.markdown

XML authoring framework quick reference

Conventions

  • All items, elements, and attributes are listed in alphabetical order. When there are multiple elements for the same item, there is no preference for any particular element over another, as long as the resulting markup is well-formed.
  • Typical EBNF-style notation applies: [ ] indicates optional, | indicates alternation, { } indicates repetition, etc.
  • bold indicates a default value.

Basic formatting

Page elements (basic-page-elements.xml)

Item Element(s) Attributes Notes
horizontal rule horizontal-rule
hr
hrule
horizontal skip horizontal-skip `size=fill *`* no effect in HTML
hskip
forced line break br
line-break
newline
no page break mbox
no-break
page break new-page [caption-text=<string>] continues over…
newpage [print-caption=no` yes]`
page-break
pagebreak
paragraph P `[align=center left right]`
p [border=no` yes]`
para `[indent=no **yes**]`
paragraph
vertical skip vertical-skip `[size=fill large medium small **]` inserts a paragraph skip
vskip

Text formatting and layout (basic-text-formatting.xml)

Item Element(s) Attributes Notes
bold face bold
center center
centering
centre
centring
emphasis em
emph
foreign word foreign
italics italic
strikethrough line-through
linethrough
strike-through
strikethrough
strong emphasis strong
term term
underline u
underline

Font size and style (fonts.xml)

Item Element(s) Attributes Notes
monospaced type monospace
tt
typewriter
sans-serif type sans
sans-serif
sf
ss
font family font [fontspec-options=<string>] XeLaTeX: fontspec package options
typeface [html=<name>] HTML: CSS font name(s)
[latex=<name>] LaTeX: LaTeX font name
[xelatex=<name>] XeLaTeX: fontspec font name
“tiny” font size tiny HTML: <smaller> × 4
LaTeX: \tiny
“script” font size scriptsize HTML: <smaller> × 3
LaTeX: \scriptsize
“footnote” font size footnotesize HTML: <smaller> × 2
LaTeX: \footnotesize
“small” font size small HTML: <smaller>
LaTeX: \small
“large” font size large HTML: <larger>
LaTeX: \large
“Large” font size Large HTML: <larger> × 2
LaTeX: \Large
“LARGE” font size LARGE HTML: <larger> × 3
LaTeX: \LARGE
“huge” font size huge HTML: <larger> × 4
LaTeX: \huge
“Huge” font size Huge HTML: <larger> × 5
LaTeX: \Huge
superscript superscript
subscript subscript

Inline code and code blocks (code-formatting.xml)

Item Element(s) Attributes Notes
code (block) code-block `[allow-breaks=no **yes**]` code-block requires <![CDATA[ … ]]>
[language=<name>] LaTeX: listings language name
code (inline) code [language=<name>] LaTeX: listings language name
verbatim (block) verbatim
verbatim-block
verbatim (inline) inline-verbatim
verb

Bibliographies (bibliography.xml)

Item Element(s) Attributes Notes
bibliography bibliography [name=<section title>] References
bibliography entry item label=<string> within <bibliography>
citation cite
cited item item label=<string> within <cite>

Miscellaneous

Document build date (build-date.xml)

Item Element(s) Attributes Notes
displayed build date build-date [format=<XML date picture>] YYYY-MM-DD hh:mm:ss
`[style=footer **inline**]`

Conditional processing (conditional-processing.xml)

Item Element(s) Attributes Notes
process when format process-when `format=latex html`

modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/cross-references.xml: modules/emoticons.xml: modules/emoticons.xml: modules/floaters.xml: modules/floaters.xml: modules/floaters.xml: modules/floaters.xml: modules/floaters.xml: modules/footnotes.xml: modules/footnotes.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/global-elements.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/greek-characters.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/hyperlinks.xml: modules/images.xml: modules/images.xml: modules/images.xml: modules/inclusions.xml: modules/inclusions.xml: modules/latex.xml: modules/latex.xml: modules/latex.xml: modules/latex.xml: modules/latex.xml: modules/latex.xml: modules/latex.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/lists.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/mathematical-symbols.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/maths.xml: modules/menus.xml: modules/menus.xml: modules/menus.xml: modules/meta-elements.xml: modules/meta-elements.xml: modules/meta-elements.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml:
modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml:
modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/miscellaneous-symbols.xml: modules/multi-column.xml: modules/multi-column.xml: modules/native-code.xml: modules/native-code.xml: modules/number-formatting.xml: modules/obsolete.xml: modules/obsolete.xml: modules/obsolete.xml: modules/obsolete.xml: modules/obsolete.xml: modules/obsolete.xml: modules/otago-specific.xml: modules/otago-specific.xml: modules/otago-specific.xml: modules/paper-calendar-dates.xml: modules/paper-calendar-dates.xml: modules/paper-calendar-dates.xml: modules/paper-calendar-dates.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/paper-calendar.xml: modules/q-and-a.xml: modules/q-and-a.xml: modules/q-and-a.xml: modules/q-and-a.xml: modules/quotations.xml: modules/quotations.xml: modules/quotations.xml: modules/quotations.xml: modules/quotations.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/relational-algebra.xml: modules/sectioning.xml: modules/sectioning.xml: modules/sectioning.xml: modules/special-characters.xml: modules/special-characters.xml: modules/special-characters.xml: modules/special-characters.xml: modules/special-characters.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/tabular.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: modules/titling.xml: