I Schema

I.2 Module LaTeXML-common

Pattern Inline.class
Pattern Block.class

All ‘physical’ block elements. A physical block is typically displayed as a block, but may not constitute a complete logical unit.

Expansion:

(combination  |  group  |  p  |  equation  |  equationgroup  |  quote  |  block  |  listing  |  itemize  |  enumerate  |  description  |  pagination)

Used by:
Pattern Misc.class

Additional miscellaneous elements that can appear in both inline and block contexts.

Expansion:

(combination  |  choice  |  combination  |  choice  |  combination  |  choice  |  combination  |  choice  |  combination  |  group  |  inline-itemize  |  inline-enumerate  |  inline-description  |  inline-block  |  verbatim  |  break  |  graphics  |  svg  |  rawhtml  |  rawliteral  |  inline-para  |  tabular  |  picture)

Used by:
Pattern Para.class

All logical block level elements. A logical block typically contains one or more physical block elements. For example, a common situation might be p,equation,p, where the entire sequence comprises a single sentence.

Expansion:

(combination  |  choice  |  combination  |  group  |  para  |  theorem  |  proof  |  figure  |  table  |  float  |  pagination  |  TOC)

Used by:
Pattern Meta.class
Pattern Length.type
Pattern Color.type

The type for attributes specifying a color. NOTE: To be narrowed later.

Content:

text

Expansion:

(text)

Pattern Common.attributes

Attributes shared by ALL elements.

Attributes:
Attribute class

NMTOKENS

a space separated list of tokens, as in CSS. The class can be used to add differentiate different instances of elements without introducing new element declarations. However, this generally shouldn’t be used for deep semantic distinctions. This attribute is carried over to HTML and can be used for CSS selection. [Note that the default XSLT stylesheets for html and xhtml add the latexml element names to the class of html elements for more convenience in using CSS.]

Attribute cssstyle

text

CSS styling rules. These will only be effective when the target system supports CSS.

Attribute xml:lang

text

Language attribute

Used by:

ERROR_attributes, MathBranch_attributes, MathFork_attributes, Math_attributes, Sectional.attributes, TOC_attributes, XMApp_attributes, XMArg_attributes, XMArray_attributes, XMCell_attributes, XMDual_attributes, XMHint_attributes, XMRef_attributes, XMRow_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, XMath_attributes, abstract_attributes, acknowledgements_attributes, acronym_attributes, anchor_attributes, arc_attributes, bezier_attributes, bib-data_attributes, bib-date_attributes, bib-edition_attributes, bib-extract_attributes, bib-identifier_attributes, bib-key_attributes, bib-language_attributes, bib-links_attributes, bib-name_attributes, bib-note_attributes, bib-organization_attributes, bib-part_attributes, bib-place_attributes, bib-publisher_attributes, bib-related_attributes, bib-review_attributes, bib-status_attributes, bib-subtitle_attributes, bib-title_attributes, bib-type_attributes, bib-url_attributes, bibentry_attributes, bibitem_attributes, biblist_attributes, bibref_attributes, bibrefphrase_attributes, block_attributes, break_attributes, caption_attributes, circle_attributes, cite_attributes, classification_attributes, clip_attributes, clippath_attributes, contact_attributes, creator_attributes, curve_attributes, date_attributes, del_attributes, description_attributes, dots_attributes, ellipse_attributes, emph_attributes, enumerate_attributes, equation_attributes, equationgroup_attributes, figure_attributes, float_attributes, g_attributes, glossarydefinition_attributes, glossaryentry_attributes, glossarylist_attributes, glossaryphrase_attributes, glossaryref_attributes, graphics_attributes, grid_attributes, indexentry_attributes, indexlist_attributes, indexmark_attributes, indexphrase_attributes, indexrefs_attributes, indexsee_attributes, inline-block_attributes, inline-description_attributes, inline-enumerate_attributes, inline-item_attributes, inline-itemize_attributes, inline-para_attributes, item_attributes, itemize_attributes, keywords_attributes, line_attributes, listing_attributes, listingline_attributes, navigation_attributes, note_attributes, p_attributes, pagination_attributes, para_attributes, parabola_attributes, path_attributes, personname_attributes, picture_attributes, polygon_attributes, proof_attributes, quote_attributes, rdf_attributes, rect_attributes, ref_attributes, resource_attributes, rule_attributes, sub_attributes, subtitle_attributes, sup_attributes, table_attributes, tabular_attributes, tag_attributes, tbody_attributes, td_attributes, text_attributes, tfoot_attributes, thead_attributes, theorem_attributes, title_attributes, toccaption_attributes, tocentry_attributes, toclist_attributes, toctitle_attributes, tr_attributes, verbatim_attributes, wedge_attributes, ERROR_attributes, MathBranch_attributes, MathFork_attributes, Math_attributes, Sectional.attributes, TOC_attributes, XMApp_attributes, XMArg_attributes, XMArray_attributes, XMCell_attributes, XMDual_attributes, XMHint_attributes, XMRef_attributes, XMRow_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, XMath_attributes, abstract_attributes, acknowledgements_attributes, acronym_attributes, anchor_attributes, arc_attributes, bezier_attributes, bib-data_attributes, bib-date_attributes, bib-edition_attributes, bib-extract_attributes, bib-identifier_attributes, bib-key_attributes, bib-language_attributes, bib-links_attributes, bib-name_attributes, bib-note_attributes, bib-organization_attributes, bib-part_attributes, bib-place_attributes, bib-publisher_attributes, bib-related_attributes, bib-review_attributes, bib-status_attributes, bib-subtitle_attributes, bib-title_attributes, bib-type_attributes, bib-url_attributes, bibentry_attributes, bibitem_attributes, biblist_attributes, bibref_attributes, bibrefphrase_attributes, block_attributes, break_attributes, caption_attributes, circle_attributes, cite_attributes, classification_attributes, clip_attributes, clippath_attributes, contact_attributes, creator_attributes, curve_attributes, date_attributes, del_attributes, description_attributes, dots_attributes, ellipse_attributes, emph_attributes, enumerate_attributes, equation_attributes, equationgroup_attributes, figure_attributes, float_attributes, g_attributes, glossarydefinition_attributes, glossaryentry_attributes, glossarylist_attributes, glossaryphrase_attributes, glossaryref_attributes, graphics_attributes, grid_attributes, indexentry_attributes, indexlist_attributes, indexmark_attributes, indexphrase_attributes, indexrefs_attributes, indexsee_attributes, inline-block_attributes, inline-description_attributes, inline-enumerate_attributes, inline-item_attributes, inline-itemize_attributes, inline-para_attributes, item_attributes, itemize_attributes, keywords_attributes, line_attributes, listing_attributes, listingline_attributes, navigation_attributes, note_attributes, p_attributes, pagination_attributes, para_attributes, parabola_attributes, path_attributes, personname_attributes, picture_attributes, polygon_attributes, proof_attributes, quote_attributes, rdf_attributes, rect_attributes, ref_attributes, resource_attributes, rule_attributes, sub_attributes, subtitle_attributes, sup_attributes, table_attributes, tabular_attributes, tag_attributes, tbody_attributes, td_attributes, text_attributes, tfoot_attributes, thead_attributes, theorem_attributes, title_attributes, toccaption_attributes, tocentry_attributes, toclist_attributes, toctitle_attributes, tr_attributes, verbatim_attributes, wedge_attributes

Pattern ID.attributes

Attributes for elements that can be cross-referenced from inside or outside the document.

Attribute xml:id

ID

the unique identifier of the element, usually generated automatically by the latexml.

Attribute fragid

text

a ”fragment identifier” derived from the xml:id relative to a page split from the complete document. This is used internally and may go away some day.

Used by:

ERROR_attributes, Labelled.attributes, Math_attributes, XMApp_attributes, XMArg_attributes, XMArray_attributes, XMCell_attributes, XMDual_attributes, XMHint_attributes, XMRef_attributes, XMRow_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, XMath_attributes, acronym_attributes, anchor_attributes, bibentry_attributes, bibitem_attributes, block_attributes, del_attributes, description_attributes, emph_attributes, enumerate_attributes, glossaryentry_attributes, glossarylist_attributes, graphics_attributes, indexentry_attributes, indexlist_attributes, inline-block_attributes, inline-description_attributes, inline-enumerate_attributes, inline-itemize_attributes, inline-para_attributes, itemize_attributes, p_attributes, para_attributes, picture_attributes, quote_attributes, sub_attributes, sup_attributes, tabular_attributes, td_attributes, text_attributes, tr_attributes, verbatim_attributes, ERROR_attributes, Labelled.attributes, Math_attributes, XMApp_attributes, XMArg_attributes, XMArray_attributes, XMCell_attributes, XMDual_attributes, XMHint_attributes, XMRef_attributes, XMRow_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, XMath_attributes, acronym_attributes, anchor_attributes, bibentry_attributes, bibitem_attributes, block_attributes, del_attributes, description_attributes, emph_attributes, enumerate_attributes, glossaryentry_attributes, glossarylist_attributes, graphics_attributes, indexentry_attributes, indexlist_attributes, inline-block_attributes, inline-description_attributes, inline-enumerate_attributes, inline-itemize_attributes, inline-para_attributes, itemize_attributes, p_attributes, para_attributes, picture_attributes, quote_attributes, sub_attributes, sup_attributes, tabular_attributes, td_attributes, text_attributes, tr_attributes, verbatim_attributes

Pattern IDREF.attributes

Attributes for elements that can cross-reference other elements.

Attribute idref

IDREF

the identifier of the referred-to element.

Used by:
Pattern Labelled.attributes

Attributes for elements that can be labelled from within LaTeX. These attributes deal with assigning a label and generating cross references. The label migrates to an xml:id and href and the element can serve as a hypertext target.

Attributes:
Attribute labels

text

Records the various labels that LaTeX uses for crossreferencing. (note that \label can associate more than one label with an object!) It consists of space separated labels for the element. The \label macro provides the label prefixed by LABEL:; Spaces in a label are replaced by underscore. Other mechanisms (like acro?) might use other prefixes (but ID: is reserved!)

Attribute inlist

text

Records which lists, such as toc=table of contents,…, this object could be listed in. Space separated set of toc, lof, lot, etc.

Used by:
Pattern Refable.attributes

Attributes for elements that can be referred to from within LaTeX. Such elements may serve as the starting point of a hypertext link. The reference can be made using label, xml:id or href; these attributes will be converted, as needed, from the former to the latter.

Attributes:
Attribute labelref

text

reference to a LaTeX labelled object; See the labels attribute of Labelled.attributes.

Attribute href

text

reference to an arbitrary url.

Used by:
Pattern Fontable.attributes

Attributes for elements that contain (indirectly) text whose font can be specified.

Attribute font

text

Indicates the font to use. It consists of a space separated sequence of values representing the family (serif, sansserif, math, typewriter, caligraphic, fraktur, script, …), series (medium, bold, …), and shape (upright, italic, slanted, smallcaps, …). Only the values differing from the current context are given. Each component is open-ended, for extensibility; it is thus unclear whether unknown values specify family, series or shape. In postprocessing, these values are carried to the class attribute, and can thus be effected by CSS.

Attribute fontsize

Indicates the text size to use, as a length, as in CSS. Normally, this should be a percentage value relative to the containing element.

Used by:
Pattern Colorable.attributes

Attributes for elements that draw something, text or otherwise, that can be colored.

Attribute color

text

the color to use (for foreground material); any CSS compatible color specification. In postprocessing, these values are carried to the class attribute, and can thus be effected by CSS.

Attribute opacity

float

the opacity of foreground material; a number between 0 and 1.

Used by:
Pattern Backgroundable.attributes

Attributes for elements that take up space and make sense to have a background color. This is independent of the colors of any things that it may draw.

Attribute backgroundcolor

text

the color to use for the background of the element; any CSS compatible color specification. In postprocessing, these values are carried to the class attribute, and can thus be effected by CSS; the background will presumably correspond to a bounding rectangle, but is determined by the CSS rendering engine.

Used by:

Math_attributes, Sectional.attributes, XMApp_attributes, XMCell_attributes, XMRow_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, block_attributes, caption_attributes, constraint_attributes, del_attributes, description_attributes, emph_attributes, enumerate_attributes, equation_attributes, equationgroup_attributes, figure_attributes, float_attributes, glossaryref_attributes, inline-block_attributes, inline-description_attributes, inline-enumerate_attributes, inline-item_attributes, inline-itemize_attributes, inline-para_attributes, item_attributes, itemize_attributes, listing_attributes, p_attributes, para_attributes, proof_attributes, quote_attributes, ref_attributes, table_attributes, tabular_attributes, tag_attributes, tbody_attributes, td_attributes, text_attributes, tfoot_attributes, thead_attributes, theorem_attributes, title_attributes, tr_attributes, verbatim_attributes, Math_attributes, Sectional.attributes, XMApp_attributes, XMCell_attributes, XMRow_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, block_attributes, caption_attributes, constraint_attributes, del_attributes, description_attributes, emph_attributes, enumerate_attributes, equation_attributes, equationgroup_attributes, figure_attributes, float_attributes, glossaryref_attributes, inline-block_attributes, inline-description_attributes, inline-enumerate_attributes, inline-item_attributes, inline-itemize_attributes, inline-para_attributes, item_attributes, itemize_attributes, listing_attributes, p_attributes, para_attributes, proof_attributes, quote_attributes, ref_attributes, table_attributes, tabular_attributes, tag_attributes, tbody_attributes, td_attributes, text_attributes, tfoot_attributes, thead_attributes, theorem_attributes, title_attributes, tr_attributes, verbatim_attributes

Pattern Positionable.attributes

Attributes shared by low-level, generic inline and block elements that can be sized or shifted.

Attribute width

the desired width of the box

Attribute height

the desired height of the box

Attribute depth

the desired depth of the box

Attribute xoffset

horizontal shift the position of the box.

Attribute yoffset

vertical shift the position of the box.

Attribute align

= (left  |  center  |  right  |  justified)

alignment of material within the box.

Attribute vattach

= (top  |  middle  |  bottom  |  baseline)

specifies which line of the box is aligned to the baseline of the containing object. The default is baseline.

Attribute float

= (right  |  left  |  text)

the horizontal floating placement parameter that determines where the object is displayed.

Attribute framed

= (rectangle  |  underline  |  text)

the kind of frame or outline for the box.

Attribute framecolor

text

the color of the frame or outlie for the box.

Used by:
Pattern Transformable.attributes

Attributes shared by (hopefully few) elements that can be transformed. Such elements should also have Positionable.attributes. Transformation order of an individual element is assumed to be translate, scale, rotate; wrap elements to achieve different orders. Attributes innerwidth, innerheight and innerdepth describe the size of the contents of the element before transformation; The result size would be encoded in Positional.attributes.

Attribute xtranslate

horizontal shift the position of the inner element.

Attribute ytranslate

vertical shift the position of the inner element.

Attribute xscale

text

horizontal scaling of the inner element.

Attribute yscale

text

vertical scalign of the inner element.

Attribute angle

text

the rotation angle, counter-clockwise, in degrees.

Attribute innerwidth

the expected width of the contents of the inner element

Attribute innerheight

the expected height of the contents of the inner element

Attribute innerdepth

the expected depth of the contents of the inner element

Used by:
Pattern Imageable.attributes

Attributes for elements that may be converted to image form during postprocessing, such as math, graphics, pictures, etc. Note that these attributes are generally not filled in until postprocessing, but that they could be init

Attribute imagesrc

anyURI

the file, possibly generated from other data.

Attribute imagewidth

nonNegativeInteger

the width in pixels of imagesrc.

Attribute imageheight

nonNegativeInteger

the height in pixels of imagesrc. Note that, unlike TeX, this is the total height, including the depth (if any).

Attribute imagedepth

integer

the depth in pixels of imagesrc, being the location of the baseline of the content shown in the image. When displayed inilne, an image with a positive depth should be shifted down relative to the baseline of neighboring material.

Attribute description

text

a description of the image

Used by:
Pattern RDF.attributes

Attributes for RDFa (Resource Description Framework), following RDFa Core 1.1 http://www.w3.org/TR/rdfa-syntax/. The following descriptions give a short overview of the usage of the attributes, but see the specification for the complete details, which are sometimes complex.

Attribute vocab

text

indicates the default vocabulary (generally should be managed by LaTeXML and only appear on root node)

Attribute prefix

text

specifies a mapping between CURIE prefixes and IRI (URI). (generally should be managed by LaTeXML and only appear on root node)

Attribute about

text

indicates the subject for predicates appearing on the same or descendant nodes.

Attribute aboutlabelref

text

gives the label for the document element that serves as the subject; it will be converted to aboutidref and about during post-processing.

Attribute aboutidref

text

gives the id for the document element that serves as the subject; it will be converted to about during post-processing.

Attribute resource

text

indicates the subject for predicates appearing on descendant nodes, and also indicates the object for predicates when property appears on the same node, or when rel or rev appears on an ancestor.

Attribute resourcelabelref

text

gives the label for the document element that serves as the resource object; it will be converted to resourceidref and resource during post-processing.

Attribute resourceidref

text

gives the id for the document element that serves as the resource object; it will be converted to resource during post-processing.

Attribute property

text

indicates the predicate and asserts that the subject is related by that predicate to the object. The subject is determined by one of about on same node, resource or typeof on an ancestor node, or by the document root. The object is determined by one of resource, href, content or typeof on the same node, or by the text content of the node.

Attribute rel

text

indicates the predicate exactly as property except that it can assert multiple RDF triples where the objects are the nearest descendent resources.

Attribute rev

text

indicates the predicate exactly as rel except that it indicates the reverse relationship (with subject and object swapped).

Attribute typeof

text

indicates the type of the resource and thus implicitly asserts a relation that the object has the given type. Additionally, if no resource was given on the same node, indicates an anonymous subject and or object exactly as resource

Attribute datatype

text

indicates the datatype of the target resource;

Attribute content

text

indicates the content of the property to be used as the object, to be used instead of the content of the element itself;

Used by:
Pattern Data.attributes

Attributes for raw data storage

Attribute data

text

the data itself

Attribute datamimetype

text

the MIME type of the data

Attribute dataencoding

text

the encoding of the data (either empty, base64, or )

Used by: