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

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company