<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]
Module msdescription — Manuscript Description
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
dictionaries: lang oRef pRef
gaiji: g
header: biblFull idno
iso-fs: fLib fs fvLib
textstructure: floatingText
verse: caesura rhyme
character data
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
<rng:element name="layout">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="columns">
   <rng:list>
    <rng:ref name="teidata.count"/>
    <rng:optional>
     <rng:ref name="teidata.count"/>
    </rng:optional>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="streams">
   <rng:list>
    <rng:ref name="teidata.count"/>
    <rng:optional>
     <rng:ref name="teidata.count"/>
    </rng:optional>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="ruledLines">
   <rng:list>
    <rng:ref name="teidata.count"/>
    <rng:optional>
     <rng:ref name="teidata.count"/>
    </rng:optional>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="writtenLines">
   <rng:list>
    <rng:ref name="teidata.count"/>
    <rng:optional>
     <rng:ref name="teidata.count"/>
    </rng:optional>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.specialPara"/>
</rng:element>
element layout
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.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? } }?,
   macro.specialPara
}