Content alignment
Where alignment communicates information or forms an important part of the work, some poems, songs, and quotes need a more complex XML structure to capture alignment.
| PMI | Page make-up instruction. |
Content alignment set in the manuscript (through use of alignment options in Word) should be maintained in the XML. A page-makeup instruction (or <PMI>) will indicate in a frontlist manuscript if complex alignment is important and must be replicated.
If content cannot be captured using the typical capture methods then alignment can be set by using alignment attribute on displayText, lineGroup and line.
alignment on displayText and lineGroup will align the block of content.
alignment on p and line will align the line within the block of content.
Values for alignment can be: left, right, centre, or justified.
Poetry with unusual alignment
XML
<miscMatter class="other" id="actrade-9780198183433-miscMatter-31">
<titleGroup id="actrade-9780198183433-titleGroup-48"><title>
<p><?Page pageId="278"?>
<milestone num="278" unit="page" id="actrade-9780198183433-milestone-1229"/>The Law of Freedom</p>
<p>IN A</p>
<p>PLATFORM:<milestone unit="fragment-marker" id="actrade-9780198183433-milestone-1230">
<sup>1</sup>
</milestone>
</p></title>
</titleGroup>
<textMatter><div1 id="actrade-9780198183433-div1-18">
<p>
<displayText class="other" id="actrade-9780198183433-displayText-27">
<lineGroup id="actrade-9780198183433-lineGroup-54">
<line alignment="centre">Or, True</line>
<line alignment="centre">Magistracy Restored.</line>
<line alignment="centre">Humbly presented to <i>Oliver Cromwel</i>,<milestone unit="fragment-marker" id="actrade-9780198183433-milestone-1231">
<sup>2</sup>
</milestone> General of the</line>
<line alignment="centre">Common-wealths Army in England, Scotland, and</line>
<line alignment="centre">Ireland.<milestone unit="fragment-marker" id="actrade-9780198183433-milestone-1232">
<sup>3</sup>
</milestone> And to all
English-men my brethren whether in</line>
<line alignment="centre">Church-fellowship,<milestone unit="fragment-marker" id="actrade-9780198183433-milestone-1233">
<sup>4</sup>
</milestone> or not in
Church-fellowship, both</line>
<line alignment="centre">sorts walking as they conceive according to the Order of
the</line>
<line alignment="centre">Gospel: and from them to all the Nations in the
World.</line>
</lineGroup>
<lineGroup id="actrade-9780198183433-lineGroup-55" alignment="centre">
<line>Wherein is Declared, What is Kingly Government, and</line>
<line>what is Commonwealths Government.</line>
<line alignment="centre">By <i>Jerrard Winstanley</i>.</line>
</lineGroup>
<lineGroup id="actrade-9780198183433-lineGroup-56" alignment="centre">
<line>
<i>In thee, O England, is the Law arising up to shine</i>,</line>
<line>
<i>&#xa0;&#xa0;&#xa0;If thou receive and practise it, the crown
wil be thine</i>.</line>
<line>
<i>If thou reject, and stil remain a froward Son to be</i>,</line>
<line>
<i>&#xa0;&#xa0;&#xa0;Another Land will receive it, and take the
crown from thee</i>.</line>
</lineGroup>
</displayText>
</p></div1>
</textMatter>
</miscMatter>