lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: occasional ragged-right lines in the interior of mostly non-ragged-r


From: Carl Sorensen
Subject: Re: occasional ragged-right lines in the interior of mostly non-ragged-right score
Date: Wed, 30 Jun 2021 23:33:35 +0000
User-agent: Microsoft-MacOutlook/10.10.1b.201012

 

 

From: lilypond-user <lilypond-user-bounces+carl.d.sorensen=gmail.com@gnu.org> on behalf of Robert Gaebler <Bob.Gaebler@outlook.com>
Date: Wednesday, June 30, 2021 at 4:35 PM
To: "lilypond-user@gnu.org" <lilypond-user@gnu.org>
Subject: occasional ragged-right lines in the interior of mostly non-ragged-right score

 

I am working on a couple of pieces  where I am using a non-ragged right edge for the systems.  However I would like to end each of the three or four themes in a piece with a ragged right edge on the last system of a theme.

I understand to set ragged-right = ##f to get an even (all aligned) right hand edge, and set ragged-right=##t to get a ragged right edge.  However this setting affects the entire score.  I would like to make occasional exceptions here and there in the score. 

Any suggestions?

 

You can put each theme in a separate score:

 

%%%%%%%%%%%%%%%%%%%%

 

   \version “2.20”

    \layout{

      ragged-last = ##t

    }

  \markup {Theme 1}

  \score {

    \repeat unfold 37 {c'4 c'4 c'4 c'4}

  }

  \markup{Theme 2}

   \score {

    \repeat unfold 37 {c'4 c'4 c'4 c'4}

  }

 

%%%%%%%%%%%%%%%%%%%%%%

 

You can also use titles or markups to label the themes.  Look at https://lilypond.org/doc/v2.22/Documentation/notation/multiple-scores-in-a-book

 

HTH,

 

Carl

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]