Atlas · inline · Plate 16 of 16
inline
TextElements
Diagram view views/TextElements.lml composing
25 LML includes
and 24 associations.
Model definitions
BasicElement¶
classmodels/inline/BasicElement.lml
Container of inline content in BasicDocument.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+contribMetadata |
ContributionElementMetadata | 0..* | Metadata of the contributor responsible for the action. |
+attributes |
Attribute | 0..* | Entries from the generic attribute register: an open key-value set that markup languages bind their own attribute types into. |
TextElement¶
classmodels/inline/text/TextElement.lml
Any inline element containing text and associated formatting information. Includes inline elements that are identifiers or references to identifiers.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+content |
TextElementType | 1 | Content of the Text Element. May recursively contain other Text Elements. |
TextElementType¶
classmodels/inline/text/TextElementType.lml
Content of the Text Element.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+content |
LocalizedString | 0..* | Textual content of the Text Element. |
+elements |
TextElement | 0..* | May recursively contain other Text Elements. |
PureTextElement¶
classmodels/inline/text/PureTextElement.lml
Inline element containing text and associated formatting information, but which does not contain any associated identifiers or references to identifiers. Restricted to contain only other such inline elements with no identifiers or references to identifiers.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+content |
PureTextElementType | 1 | Content of the Text Element. May recursively contain other Pure Text Elements. |
PureTextElementType¶
classmodels/inline/text/PureTextElementType.lml
Content of the Pure Text Element.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+content |
LocalizedString | 0..* | Textual content of the Pure Text Element. |
+elements |
PureTextElement | 0..* | May recursively contain other Pure Text Elements. |
MonospaceElement¶
classmodels/inline/text/MonospaceElement.lml
Monospace text. Corresponds to HTML `tt`, `code`.
KeywordElement¶
classmodels/inline/text/KeywordElement.lml
Keyword text.
EmphasisElement¶
classmodels/inline/text/EmphasisElement.lml
Emphasised text. Corresponds to HTML `em`, `i`.
SubscriptElement¶
classmodels/inline/text/SubscriptElement.lml
Subscript text. Corresponds to HTML `sub`.
StrongElement¶
classmodels/inline/text/StrongElement.lml
Strong text. Corresponds to HTML `strong`, `b`.
StemElement¶
classmodels/inline/text/StemElement.lml
Mathematically formatted text.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+stemType |
StemType | 1 | The notation used to mathematically format the text. |
+stemValue |
StemValue | 1 | The content of the mathematically formatted text. |
SuperscriptElement¶
classmodels/inline/text/SuperscriptElement.lml
Superscript text. Corresponds to HTML `sup`.
StrikeElement¶
classmodels/inline/text/StrikeElement.lml
Strikethrough text. Corresponds to HTML 4 `s`.
SmallCapsElement¶
classmodels/inline/text/SmallCapsElement.lml
Small caps text.
UnderlineElement¶
classmodels/inline/text/UnderlineElement.lml
Underlined text. Corresponds to HTML 4 `u`.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+style |
String
|
0..1 | CSS style to apply to underline (intended for text-decoration-style attribute keyword values: solid double dotted dashed wavy) |
StemValue¶
classmodels/inline/text/StemValue.lml
The content of mathematically formatted text.
RubyElement¶
classmodels/inline/text/RubyElement.lml
Text with Ruby annotations in East Asian languages. Corresponds to HTML `ruby`.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+pronunciation |
RubyPronunciation | 0..1 | Ruby annotation giving pronunciation. Mutually exclusive with annotation. |
+annotation |
RubyAnnotation | 0..1 | Ruby annotation giving other (semantic) information. Mutually exclusive with pronunciation. |
+text |
String
|
0..1 | Ruby annotated text which contains no further annotations. Mutually exclusive with ruby. |
+ruby |
RubyElement | 0..1 | Ruby annotated text which itself contains other Ruby annotations. Mutually exclusive with text. |
RubyPronunciation¶
classmodels/inline/text/RubyPronunciation.lml
Ruby annotation giving pronunciation of text.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+value |
String
|
1 | Ruby annotation value. |
+script |
String
|
0..1 | Indication of script of annotation. |
+lang |
String
|
0..1 | Indication of language of annotation. |
RubyAnnotation¶
classmodels/inline/text/RubyAnnotation.lml
Ruby annotation giving information other than pronunciation of text.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+value |
String
|
1 | Ruby annotation value. |
+script |
String
|
0..1 | Indication of script of annotation. |
+lang |
String
|
0..1 | Indication of language of annotation. |
MathML¶
classmodels/inline/text/MathML.lml
Mathematical text formatted in MathML.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+value |
String
|
1 | MathML content. |
AsciiML¶
classmodels/inline/text/AsciiML.lml
Mathematical text formatted in AsciiMath.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+value |
String
|
1 | AsciiMath content. |
LaTeX¶
classmodels/inline/text/LaTeX.lml
Mathematical text formatted in LaTeX.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+value |
String
|
1 | LaTeX content. |
StemType¶
enummodels/inline/text/StemType.lml
definitiondefinitiondefinitiondefinition
IdElement¶
classmodels/inline/id/IdElement.lml
`BasicElement` with an identifier, to be used in crossreferencing by Reference Elements. The `IdElement` itself acts as a reference point, such as in a `SourcecodeBlock` for callout references (the `IdElement` is the location), and for delimiting `ReviewComment` start/end places.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+id |
String
|
1 | Identifier of BasicElement. |
ReferenceElement¶
classmodels/inline/reference/ReferenceElement.lml
Inline element, which references an identifier of a document, a block in a document, or an element in a document.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+type |
ReferenceFormat | 1 | The type of Reference Element, prescribing how it is to be rendered. |
+text |
BasicElement | 0..1 | The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `<xx>my link text</xx>`) |
+alt |
String
|
0..1 | Alternate text, used for accessibility. |