Status: Accepted
Owner: ----
Labels: Type-Documentation

New issue 3960 by [email protected]: NR 4.3.7 - explict breaks needs better example for iine/page-break-permission
http://code.google.com/p/lilypond/issues/detail?id=3960

From thread here:

http://lilypond.1069038.n5.nabble.com/Docs-example-for-line-break-permission-and-page-break-permission-td159803.html#a159851

----


Paul Morris
Reply | Threaded | More
Feb 24, 2014; 9:18pm
Docs: example for line-break-permission and page-break-permission
392 posts
        
The example given here:
http://lilypond.org/doc/v2.18/Documentation/notation/explicit-breaks

is not so good since the output is actually the same when you comment out the commands that it is intended to illustrate:

% \override NonMusicalPaperColumn.line-break-permission = ##f
% \override NonMusicalPaperColumn.page-break-permission = ##f

(It is a good demonstration of ragged-bottom and ragged-right, however.) To improve it the number of measures on some of the lines and the number of lines per page would need to be increased so that they are large enough to trigger an automatic line break or page break if these commands were not present.

Below is a suggested revision that does a better job of illustrating the effects of those two commands.

Thanks,
-Paul

%
\version "2.18.0"
\paper {
  indent = #0
  ragged-right = ##t
  ragged-bottom = ##t
}

music = \relative c'' { c8 c c c }

\score {
  \new Staff {
    \repeat unfold 2 { \music } \break
    \repeat unfold 2 { \music } \break
    \repeat unfold 4 { \music } \break
    \repeat unfold 6 { \music } \break
    \repeat unfold 8 { \music } \break
    \repeat unfold 10 { \music } \break
    \repeat unfold 12 { \music } \break
    \repeat unfold 14 { \music } \break
    \repeat unfold 12 { \music } \break
    \repeat unfold 10 { \music } \break
    \repeat unfold 8 { \music } \break
    \repeat unfold 6 { \music } \break
    \repeat unfold 4 { \music } \break
    \repeat unfold 2 { \music } \break
    \repeat unfold 2 { \music } \pageBreak
    \repeat unfold 2 { \music }
  }
  \layout {
    \context {
      \Score
      \override NonMusicalPaperColumn.line-break-permission = ##f
      \override NonMusicalPaperColumn.page-break-permission = ##f
    }
  }
}



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to