- **summary**: NR 4.3.7 - explict breaks needs better example for 
iine/page-break-permission --> NR 4.3 - 'Explict breaks' needs better example 
for line/page-break-permission



---

** [issues:#3960] NR 4.3 - 'Explict breaks' needs better example for 
line/page-break-permission**

**Status:** Started
**Created:** Sat Jun 21, 2014 09:00 AM UTC by Anonymous
**Last Updated:** Thu Oct 29, 2015 05:17 PM UTC
**Owner:** pkx166h


*Originally created by:* *anonymous

*Originally created by:* 
[[email protected]](http://code.google.com/u/115988136766997056421/)
*Originally owned by:* 
[[email protected]](http://code.google.com/u/115988136766997056421/)

From thread here:

[http://lilypond.1069038.n5.nabble.com/Docs-example-for-line-break-permission-and-page-break-permission-td159803.html#a159851](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](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
    \}
  \}
\}       


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to