Forwarded conversation
Subject: specify number of measures per line in score
------------------------

From: *Branko* <brankom...@gmail.com>
Date: 1 April 2014 02:06
To: lilypond-user@gnu.org


I have this as a sample notation example. How would I specify to have
exactly 4 measures per line, throughout the whole piece. I searched the
whole documentation and did not find such a simple feature. Am I missing
something?

\version "2.18.2"

% comment line

\header {
    title = "Ruska narodna pesma."
    composer = "Narodna pesma"
    subtitle = "-za gitaru-"
}

melody = {
    \key c \major
    \time 3/4

    e' f e |
    e, gis b |
    d c b |
    a c e |
}

\score {
    \relative c' <<
        \new Staff \melody
    >>
    \layout {
    }
}


----------
From: *David Nalesnik* <david.nales...@gmail.com>
Date: 1 April 2014 02:09
To: Branko <brankom...@gmail.com>
Cc: lilypond-user <lilypond-user@gnu.org>


Hi Branko,


On Mon, Mar 31, 2014 at 7:06 PM, Branko <brankom...@gmail.com> wrote:

>  I have this as a sample notation example. How would I specify to have
> exactly 4 measures per line, throughout the whole piece. I searched the
> whole documentation and did not find such a simple feature. Am I missing
> something?
>
Try this snippet:

 http://lsr.di.unimi.it/LSR/Item?id=838

Hope this helps,

David


----------
From: *Branko* <brankom...@gmail.com>
Date: 1 April 2014 02:20
To: David Nalesnik <david.nales...@gmail.com>


thanks, but that gives me this error:
​
test.ly:28:36: error: GUILE signaled an error for the expression beginning
here
            \consists #
                                   (bars-per-line-engraver '(4))
Unbound variable: bars-per-line-engraver
Interpreting music.../usr/share/lilypond/2.18.2/scm/lily-library.scm:242:5:
In procedure symbol->string in expression (process-procedure book paper
...):
/usr/share/lilypond/2.18.2/scm/lily-library.scm:242:5: Wrong type argument
in position 1 (expecting symbol): #<unspecified>
​


----------
From: *Branko* <brankom...@gmail.com>
Date: 1 April 2014 02:23
To: David Nalesnik <david.nales...@gmail.com>


sorry, didn't see that function defined in the beginning. it works, thanks.

----------
From: *Branko* <brankom...@gmail.com>
Date: 1 April 2014 02:24
To: David Nalesnik <david.nales...@gmail.com>


actually it does not work ;), it compiled but no changes in rendered pdf,
still my fourth bar ends on half width the page..

----------
From: *David Nalesnik* <david.nales...@gmail.com>
Date: 1 April 2014 02:26
To: Branko <brankom...@gmail.com>



Branko,

OK! Glad to hear it.

--David

P.S.  Don't forget to "reply-all" when answering an email on the -user
list.  It defaults to reply to sender only, which is a little silly.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to