<layout>

<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. [10.7.2. Writing, Decoration, and Other Notations]
Modulemsdescription
Attributes
columns(columns) specifies the number of columns per page
Status Optional
Datatype 1–2 occurrences of teidata.count separated by whitespace
Note

If a single number is given, all pages referenced have this number of columns. If two numbers are given, the number of columns per page varies between the values supplied. Where columns is omitted the number is assumed to be 1.

Columns may be independent of page orientation or reading direction, and a single textual stream may have one or more columns.

streams(textual streams) indicates the number of streams per page, each of which contains an independent textual stream
Status Optional
Datatype 1–2 occurrences of teidata.count separated by whitespace
Note

If a single number is given, all pages referenced have this number of textual streams. If two numbers are given, the number of textual streams per page varies between the values supplied. Where streams is omitted the number is assumed to be 1 and unless specified elsewhere the script orientation of the source is identical to that used in the TEI document.

ruledLines(ruled lines) specifies the number of ruled lines per column
Status Optional
Datatype 1–2 occurrences of teidata.count separated by whitespace
Note

If a single number is given, all columns have this number of ruled lines. If two numbers are given, the number of ruled lines per column varies between the values supplied.

writtenLines(written lines) specifies the number of written lines per column
Status Optional
Datatype 1–2 occurrences of teidata.count separated by whitespace
Note

If a single number is given, all columns have this number of written lines. If two numbers are given, the number of written lines per column varies between the values supplied.

Contained by
msdescription: layoutDesc
May contain
Example
<layout columns="1ruledLines="25 32">Most pages have between 25 and 32 long lines ruled in lead.</layout>
Example
<layout columns="2ruledLines="42">
 <p>2 columns of 42 lines ruled in ink, with central rule
   between the columns.</p>
</layout>
Example
<layout columns="1 2writtenLines="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>
Example
<layout streams="3columns="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>
Schema Declaration
element layout
{
   tei_att.global.attributes,
   attribute columns { list { teidata.count, teidata.count? } }?,
   attribute streams { list { teidata.count, teidata.count? } }?,
   attribute ruledLines { list { teidata.count, teidata.count? } }?,
   attribute writtenLines { list { teidata.count, teidata.count? } }?,
   tei_macro.specialPara
}