Lines too long in piece with two sections for different instrumentsHow can I transfer the old partcombine syntax of lilypond to a version newer than 2.1.17?Is there a lilypond 'insert whitespace to fill line"?Rendering second ending closing bar when followed by another repeat in LilypondLilyPond vertical spacing, alternate endings, and chordsTop-aligning scores inside Lilypond markup blocksExtend measure so it occupies whole lineLilypond staffs extend past end of musicIn LilyPond (piano staff) how can I type two eighth notes for different hands?Increase space between lines of a staff in LilyPondOne staff with two sections and two voices

Does the usage of mathematical symbols work differently in books than in theses?

Will this series of events work to drown the Tarrasque?

multicol package causes underfull hbox

Who is frowning in the sentence "Daisy looked at Tom frowning"?

Why is Drogon so much better in battle than Rhaegal and Viserion?

How does this piece of code determine array size without using sizeof( )?

Driving a school bus in the USA

Is my company merging branches wrong?

Why does the U.S military use mercenaries?

How to customize the pie chart background in PowerPoint?

How can I monitor the bulk API limit?

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?

Shortest amud or daf in Shas?

Is it a good idea to teach algorithm courses using pseudocode?

Are there any symmetric cryptosystems based on computational complexity assumptions?

how to create an executable file for an AppleScript?

In Dutch history two people are referred to as "William III"; are there any more cases where this happens?

How to get all possible paths in 0/1 matrix better way?

What should I wear to go and sign an employment contract?

When did Britain learn about the American Declaration of Independence?

How to draw pentagram-like shape in Latex?

Why aren't satellites disintegrated even though they orbit earth within earth's Roche Limits?

Have the writers and actors of GOT responded to its poor reception?

Can more than one instance of Bend Luck be applied to the same roll by multiple Wild Magic sorcerers?



Lines too long in piece with two sections for different instruments


How can I transfer the old partcombine syntax of lilypond to a version newer than 2.1.17?Is there a lilypond 'insert whitespace to fill line"?Rendering second ending closing bar when followed by another repeat in LilypondLilyPond vertical spacing, alternate endings, and chordsTop-aligning scores inside Lilypond markup blocksExtend measure so it occupies whole lineLilypond staffs extend past end of musicIn LilyPond (piano staff) how can I type two eighth notes for different hands?Increase space between lines of a staff in LilyPondOne staff with two sections and two voices













6















I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.



I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.



#(set-default-paper-size "letter")

version "2.18.2"
language "english"

global =
key c major
time 6/8


verseTreble = relative c'
c8 e g c g e

verseBass = relative c
c8 e g c g e

chorusSoprano = relative c'


chorusAlto = relative c'


score
<<
new PianoStaff <<
new Staff = "upper" verseTreble
new Staff = "lower" verseBass
>>
new ChoirStaff <<
new Staff <<
new Voice = "s"
chorusSoprano

>>
new Staff <<
new Voice = "a"
chorusAlto

>>
>>
>>

layout
% ragged-right = ##t
context
Staff
RemoveEmptyStaves
override VerticalAxisGroup.remove-first = ##t





Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.



enter image description here










share|improve this question




























    6















    I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.



    I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.



    #(set-default-paper-size "letter")

    version "2.18.2"
    language "english"

    global =
    key c major
    time 6/8


    verseTreble = relative c'
    c8 e g c g e

    verseBass = relative c
    c8 e g c g e

    chorusSoprano = relative c'


    chorusAlto = relative c'


    score
    <<
    new PianoStaff <<
    new Staff = "upper" verseTreble
    new Staff = "lower" verseBass
    >>
    new ChoirStaff <<
    new Staff <<
    new Voice = "s"
    chorusSoprano

    >>
    new Staff <<
    new Voice = "a"
    chorusAlto

    >>
    >>
    >>

    layout
    % ragged-right = ##t
    context
    Staff
    RemoveEmptyStaves
    override VerticalAxisGroup.remove-first = ##t





    Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.



    enter image description here










    share|improve this question


























      6












      6








      6








      I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.



      I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.



      #(set-default-paper-size "letter")

      version "2.18.2"
      language "english"

      global =
      key c major
      time 6/8


      verseTreble = relative c'
      c8 e g c g e

      verseBass = relative c
      c8 e g c g e

      chorusSoprano = relative c'


      chorusAlto = relative c'


      score
      <<
      new PianoStaff <<
      new Staff = "upper" verseTreble
      new Staff = "lower" verseBass
      >>
      new ChoirStaff <<
      new Staff <<
      new Voice = "s"
      chorusSoprano

      >>
      new Staff <<
      new Voice = "a"
      chorusAlto

      >>
      >>
      >>

      layout
      % ragged-right = ##t
      context
      Staff
      RemoveEmptyStaves
      override VerticalAxisGroup.remove-first = ##t





      Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.



      enter image description here










      share|improve this question
















      I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.



      I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.



      #(set-default-paper-size "letter")

      version "2.18.2"
      language "english"

      global =
      key c major
      time 6/8


      verseTreble = relative c'
      c8 e g c g e

      verseBass = relative c
      c8 e g c g e

      chorusSoprano = relative c'


      chorusAlto = relative c'


      score
      <<
      new PianoStaff <<
      new Staff = "upper" verseTreble
      new Staff = "lower" verseBass
      >>
      new ChoirStaff <<
      new Staff <<
      new Voice = "s"
      chorusSoprano

      >>
      new Staff <<
      new Voice = "a"
      chorusAlto

      >>
      >>
      >>

      layout
      % ragged-right = ##t
      context
      Staff
      RemoveEmptyStaves
      override VerticalAxisGroup.remove-first = ##t





      Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.



      enter image description here







      lilypond engraving






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 6 at 12:31









      Richard

      47k7114201




      47k7114201










      asked May 6 at 3:08









      Nate EldredgeNate Eldredge

      1334




      1334




















          1 Answer
          1






          active

          oldest

          votes


















          7














          Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2. (or r2.*8, etc.), you should instead have R2. (or R2.*8, etc.).



          Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.



          enter image description here



          I'll also take this moment to mention the unfold command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e 18 times, we can instead input repeat unfold 18 c8 e g c g e which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18 instead of having to add/delete lines as necessary.






          share|improve this answer

























          • Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

            – Nate Eldredge
            May 6 at 13:09











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "240"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmusic.stackexchange.com%2fquestions%2f84592%2flines-too-long-in-piece-with-two-sections-for-different-instruments%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          7














          Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2. (or r2.*8, etc.), you should instead have R2. (or R2.*8, etc.).



          Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.



          enter image description here



          I'll also take this moment to mention the unfold command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e 18 times, we can instead input repeat unfold 18 c8 e g c g e which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18 instead of having to add/delete lines as necessary.






          share|improve this answer

























          • Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

            – Nate Eldredge
            May 6 at 13:09















          7














          Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2. (or r2.*8, etc.), you should instead have R2. (or R2.*8, etc.).



          Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.



          enter image description here



          I'll also take this moment to mention the unfold command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e 18 times, we can instead input repeat unfold 18 c8 e g c g e which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18 instead of having to add/delete lines as necessary.






          share|improve this answer

























          • Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

            – Nate Eldredge
            May 6 at 13:09













          7












          7








          7







          Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2. (or r2.*8, etc.), you should instead have R2. (or R2.*8, etc.).



          Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.



          enter image description here



          I'll also take this moment to mention the unfold command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e 18 times, we can instead input repeat unfold 18 c8 e g c g e which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18 instead of having to add/delete lines as necessary.






          share|improve this answer















          Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2. (or r2.*8, etc.), you should instead have R2. (or R2.*8, etc.).



          Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.



          enter image description here



          I'll also take this moment to mention the unfold command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e 18 times, we can instead input repeat unfold 18 c8 e g c g e which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18 instead of having to add/delete lines as necessary.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 6 at 12:30

























          answered May 6 at 4:07









          RichardRichard

          47k7114201




          47k7114201












          • Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

            – Nate Eldredge
            May 6 at 13:09

















          • Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

            – Nate Eldredge
            May 6 at 13:09
















          Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

          – Nate Eldredge
          May 6 at 13:09





          Thanks, I did not know about R. And thanks also for the note about unfold. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.

          – Nate Eldredge
          May 6 at 13:09

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Music: Practice & Theory Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmusic.stackexchange.com%2fquestions%2f84592%2flines-too-long-in-piece-with-two-sections-for-different-instruments%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords