Skip to content

<layout>

layout

describes how text is laid out on the page or surface of the object, including information about any ruling, pricking, or other evidence of page-preparation techniques.

Module msdescriptionmsph2

Attributes

@columnsspecifies the number of columns per page.
Status
Datatype
1–2 occurrences of teidata.count separated by whitespace
@streamsindicates the number of streams per page, each of which contains an independent textual stream.
Status
Datatype
1–2 occurrences of teidata.count separated by whitespace
@ruledLinesspecifies the number of ruled lines per column.
Status
Datatype
1–2 occurrences of teidata.count separated by whitespace
@writtenLinesspecifies the number of written lines per column.
Status
Datatype
1–2 occurrences of teidata.count separated by whitespace

Classes and content

May contain

dictionaries

gaiji

textstructure

Character data

  • character data
Contained by

msdescription

Examples

<layout columns="1" ruledLines="25 32">
Most pages have between 25 and 32 long lines ruled in lead.</layout>
<layout columns="2" ruledLines="42">
  <p>2 columns of 42 lines ruled in ink, with central rule
between the columns.</p>
</layout>
<layout columns="1 2" writtenLines="40 50">
  <p>Some pages have 2 columns, with central rule
between the columns; each column with between 40 and 50 lines of writing.</p>
</layout>
<layout streams="3" columns="3"/>
<!-- Further down in document body -->
<div type="page">
  <ab>
    <pb/>
一二三<cb type="top-stream"/>
一二三<cb type="mid-stream"/>
一二三<cb type="bottom-stream"/>
    <!-- cb here for demo purposes -->
  </ab>
</div>

Content model

<content>
    <macroRef key="macro.specialPara"/>
  </content>