mei:rend

(render) – A formatting element indicating special visual rendering, e.g.,
bold or italicized, of a text word or phrase.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
altrend restriction of list of xs:NMTOKEN optional
Used to extend the values of the rend attribute.
color mei:mei_data.COLOR optional
Used to indicate visual appearance. Do not confuse this with the musical
term 'color' as used in pre-CMN notation.
fontfam mei:mei_data.FONTFAMILY optional
Contains the name of a font-family.
fontname mei:mei_data.FONTNAME optional
Holds the name of a font.
fontsize mei:mei_data.FONTSIZE optional
Indicates the size of a font expressed in printers' points, i.e., 1/72nd
of an inch, relative terms, e.g., "small", "larger", etc., or percentage values relative
to "normal" size, e.g., "125%".
fontstyle mei:mei_data.FONTSTYLE optional
Records the style of a font, i.e, italic, oblique, or
normal.
fontweight mei:mei_data.FONTWEIGHT optional
Used to indicate bold type.
halign mei:mei_data.HORIZONTALALIGNMENT optional
Records horizontal alignment.
label xs:string optional
Provides a name or label for an element. The value may be any
string.
n optional
Provides a number-like designation for an element.
rend restriction of list of mei:mei_data.TEXTRENDITION optional
Captures the appearance of the element's contents using MEI-defined
descriptors.
rotation mei:mei_data.DEGREES optional
A positive value for rotation rotates the text in a counter-clockwise
fashion, while negative values produce clockwise rotation.
translit xs:NMTOKEN optional
Specifies the transliteration technique used.
valign restriction of xs:token optional
Specifies the vertical position of the element content relative to the
surrounding text.
xml:base mei:mei_data.URI optional
Provides a base URI reference with which applications can resolve relative
URI references into absolute URI references.
xml:id xs:ID optional
Regularizes the naming of an element and thus facilitates building links
between it and other resources. Each id attribute within a document must have a unique
value.
xml:lang xs:language optional
Identifies the language of the element's content. The values for this
attribute are language 'tags' as defined in BCP 47. All language tags that make use of
private use sub-tags must be documented in a corresponding language element in the MEI
header whose id attribute is the same as the language tag's value.
xml:space restriction of xs:token optional
Allows one to signal to an application whether an element's white space is
"significant". The behavior of xml:space cascades to all descendant elements, but it can
be turned off locally by setting the xml:space attribute to the value
"default".

Used By

Source

<xs:element name="rend">
  <xs:annotation>
    <xs:documentation>(render) – A formatting element indicating special visual rendering, e.g., bold or italicized, of a text word or phrase.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="mei:mei_model.textphraseLike"/>
      <xs:element ref="mei:mei_model.editLike"/>
      <xs:element ref="mei:mei_model.transcriptionLike"/>
    </xs:choice>
    <xs:attributeGroup ref="mei:mei_att.color.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.common.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.horizontalalign.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.lang.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.typography.attributes"/>
    <xs:attributeGroup ref="mei:mei_att.whitespace.attributes"/>
    <xs:attribute name="altrend">
      <xs:annotation>
        <xs:documentation>Used to extend the values of the rend attribute.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:NMTOKEN"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="rend">
      <xs:annotation>
        <xs:documentation>Captures the appearance of the element's contents using MEI-defined descriptors.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="mei:mei_data.TEXTRENDITION"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="rotation" type="mei:mei_data.DEGREES">
      <xs:annotation>
        <xs:documentation>A positive value for rotation rotates the text in a counter-clockwise fashion, while negative values produce clockwise rotation.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="valign">
      <xs:annotation>
        <xs:documentation>Specifies the vertical position of the element content relative to the surrounding text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="top">
            <xs:annotation>
              <xs:documentation>Aligns the top of the content with the top of the surrounding text.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="middle">
            <xs:annotation>
              <xs:documentation>Aligns the middle of the content with the middle of the surrounding text.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="bottom">
            <xs:annotation>
              <xs:documentation>Aligns the bottom of the content with the bottom of the surrounding text.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="baseline">
            <xs:annotation>
              <xs:documentation>Aligns the baseline of the content with the baseline of the surrounding text.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample