[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing layout temporarily
From: |
Jacques Menu |
Subject: |
Changing layout temporarily |
Date: |
Wed, 25 Mar 2020 10:08:26 +0100 |
Hello folks,
MusicXML allows for margins and other layout elements to be placed in so-called
‘print' element, inside measures, to change the settings for a given system:
When used in the layout element, the system-layout element
defines a default appearance for all systems in the score.
When used in the print element, the system layout element
affects the appearance of the current system only. All
other systems use the default values provided in the
defaults element. If any child elements are missing from
the system-layout element in a print element, the values
from the defaults element are used there as well.
<!ELEMENT system-layout
(system-margins?, system-distance?,
top-system-distance?, system-dividers?)>
<!ELEMENT system-margins (left-margin, right-margin)>
<!ELEMENT system-distance %layout-tenths;>
<!ELEMENT top-system-distance %layout-tenths;>
For example:
<measure number="13" width="325">
<print>
<page-layout>
<page-height>3560</page-height>
<page-width>2797</page-width>
<page-margins>
<left-margin>177</left-margin>
<right-margin>79</right-margin>
<top-margin>64</top-margin>
<bottom-margin>45</bottom-margin>
</page-margins>
</page-layout>
<system-layout>
<system-margins>
<left-margin>150</left-margin>
<right-margin>0</right-margin>
</system-margins>
<top-system-distance>191</top-system-distance>
</system-layout>
</print>
… … … …
http://lsr.di.unimi.it/LSR/Item?id=1098 shows how to modify the indentation,
both left and right, with /pseudoIndents.
Is there a way in LilyPond to change \paper variables such as paper-height and
paper-width temporarily to obtain such effects?
Thanks for your help!
JM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changing layout temporarily,
Jacques Menu <=