Re: 2.13.11-1: Y-offset for RehearsalMark?

2010-01-25 Thread Dmytro O. Redchuk
У нд, 2010-01-24 у 20:16 +0200, Dmytro O. Redchuk пише:
 У нд, 2010-01-24 у 18:27 +0100, Alexander Kobel пише:
  correct me if I'm wrong, but this looks like the A is actually higher 
  than the other two, and has it's baseline exactly 1 staff-space unit 
  above the top staff-line.  So I guess the Y-offset is calculated w.r.t. 
  the center staff line in 2.13
 Yes, looks like that.
 
   (Joe: is this a bug?),
 i'd say looks like that, because internals reference says[1]:
 The vertical amount that this object is moved relative to its
 Y-parent.
 
  and you probably have to increase the values by 2.
Anyway, what is Y-parent in provided example? The Staff?

This distance should be measured from the nearest point of staff or
from some reference point (middle line?..) of a staff? (Or from the
nearest point of the nearest neighboring object?..)

I mean this can look like intended change, not a regression or bug.

Please, anyone?

My problem is i don't know answers to above questions :-)
(And do know where i could find them --- in the source --- but this is
far too difficult to me, sorry,-)

ps. Thats not a problem, i guess i can increase those values by 2, using
bash, grep, xargs, sed... But i would like to know that this is really
necessary :-)

Thanks!

-- 
  Dmytro O. Redchuk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Octave help

2010-01-25 Thread Wilbert Berendsen
Op zondag 24 januari 2010 schreef Michael:

 {
  \clef treble
  \time 4/4
  \key g \major
  \relative c
\partial 4 d8 d
d d g g g4 f8 g
a g c a b2
d'4 a8 b c4 b8 c
d'4 e'8( c) b g a4
g1 
  }
 

The \relative command expects a music expression. In this example it makes the 
expression \partial 4 relative which has no effect. Either place the music in 
brackets or put \relative outside the main brackets:

{
 \clef treble
 \time 4/4
 \key g \major
 \relative c {
   \partial 4 d8 d
   d d g g g4 f8 g
   a g c a b2
   d'4 a8 b c4 b8 c
   d'4 e'8( c) b g a4
   g1
 }  
 }
 
or

\relative c {
 \clef treble
 \time 4/4
 \partial 4 d8 d
 \key g \major
 d d g g g4 f8 g
 a g c a b2
 d'4 a8 b c4 b8 c
 d'4 e'8( c) b g a4
 g1  
 }

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Direction of beamlets

2010-01-25 Thread Carl Sorensen
On 1/24/10 3:01 AM, Sven Axelsson sven.axels...@gmail.com wrote:

 In Scottish bagpipe music it is customary to have the beamlets in a dotted/cut
 pair of notes to always point towards the dotted note.
 However, the default Lilypond setup for something like
 
 { c8. c16 c16 c8. }
 
 is to tie the beam for the short notes together. Can I change this behaviour
 easily, perhaps by tweaking the auto-beam-settings?

You might be able to get this to work by turning on beam subdivision.  See
selected snippets in the Notation Reference, Section 1.2.4.

HTH,

Carl

P.S.  The autobeam settings are different between 2.12 and 2.13.  Be sure
you read up on whatever version you're actually using.




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Problems with diminuendo placing with 2 voices

2010-01-25 Thread Phil Holmes

Hello - my first post.

I'm writing a program (or strictly, an extension to someone else's program) 
to convert Noteworthy Composer2 music to LilyPond.  Mostly, it's working 
well.  However, I've just finished what Noteworthy refers to as RestChords 
(where a rest is chorded with a note, either of equal or greater duration 
than the rest) and chords where the note values of the notes aren't equal. 
I've done this by converting the music to separate voices for the 
rests/notes or for the longer/shorter notes.


However, I can't find a way of making a diminuendo mark appear within the 
LilyPond notation.  An example of the sort of thing I'm trying to do is at 
http://www.holmessoft.co.uk/homepage/images/RestChords.gif


I've translated this to LilyPond as shown at the bottom of the page. 
However, the dim. marking (^\) is flagged as warning: unterminated 
decrescendo.  I can't find anywhere where I can place the \ and the \! to 
make the dim. show on the page and to avoid the error.  Advice gratefully 
received.


\clef treble
\key g\major
\time 4/4
\dimTextDim

 {
   b'2^\
 }\\
 {
   r4 \!  r4
 }




 {
b' d''4
 }\\
 {
e' g'8 a'8
 }




 {
c'' e''4
 }\\
 {
   r4
 }



\dimHairpin   |  % 1


--
Phil Holmes




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problems with diminuendo placing with 2 voices

2010-01-25 Thread James Bailey


On 24.01.2010, at 14:05, Phil Holmes wrote:


Hello - my first post.
However, I can't find a way of making a diminuendo mark appear  
within the LilyPond notation.  An example of the sort of thing I'm  
trying to do is at http://www.holmessoft.co.uk/homepage/images/ 
RestChords.gif


I've translated this to LilyPond as shown at the bottom of the  
page. However, the dim. marking (^\) is flagged as warning:  
unterminated decrescendo.  I can't find anywhere where I can place  
the \ and the \! to make the dim. show on the page and to avoid  
the error.  Advice gratefully received.




Hello

I see two problems with your diminuendo.
1 The dim. starts and ends on the same beat: essentially it's {s2\} 
\\{s4\! s}. That gets translated as, start a diminuendo on the  
first half note and end it on the first quarter note. If you want it  
to be one beat long, you only need s4\ s\!.
2 The dim. crosses voices. Remeber that the {}\\{} is just a  
short form for \new Voice = 1{\voiceOne}\\\new Voice =  
2{\voiceTwo}. So, what you have is \new Voice =1{\voiceOne s2 
\}\\\new Voice = 2 {\voiceTwo s4\! s}. I'd imagine you also get  
an error along the lines of Warning: cannot terminate (de)crescendo.


If you don't want to create a separate voice to have dynamics (which  
is often very useful), and you want the dim. to be two beats long,  
then s2\ s\! is what you want.


I've replaced all note names with spacer rests since they work just  
as well, and you can put in the notes that you want.


Hope this helps you.

James


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


left-aligned dynamics

2010-01-25 Thread James Bailey

I use the Scheme hack to get dynamics that sound properly with text:
pcantabile = #(
   make-dynamic-script (
markup #:line (
 #:dynamic p #:hspace -1 #:normal-text #:italic , cantabile
)
  )
)

Since I really don't understand any of how that works (I mean, I  
understand that it's markup written in Scheme language, I just don't  
understand the Scheme bits) can someone tell me how to modify this so  
that it's left-aligned, rather than center aligned like normal  
dynamics. I already have a shortcut defined for \once \override  
DynamicText #'direction = #-1, but it would be nice to not have to  
put that in, since every time I use one of these dynamic scripts, I  
want it left-aligned.


Any help is much appreciated.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 2.13.11-1: Y-offset for RehearsalMark?

2010-01-25 Thread Joe Neeman
On Sun, 2010-01-24 at 18:27 +0100, Alexander Kobel wrote:
 Dmytro O. Redchuk wrote:
  Hi.
  
  With this example: [...]
\override Score.RehearsalMark #'Y-offset = #3
  [...] 2.12.3 produces correct result (as expected) while 2.13.11 ---
  really unexpected. Attached, please, have i missed something?
 
 Hi, Dmytro,
 
 correct me if I'm wrong, but this looks like the A is actually higher 
 than the other two, and has it's baseline exactly 1 staff-space unit 
 above the top staff-line.  So I guess the Y-offset is calculated w.r.t. 
 the center staff line in 2.13 (Joe: is this a bug?), and you probably 
 have to increase the values by 2.
 For what you actually wanted, I recommend you use 
 'outside-staff-padding, though.

It's a change in behaviour, but I don't think it's a bug (since the
Y-parents of grobs aren't documented anywhere).

Rehearsal marks used to have System as it's Y-parent, so Y-offset was
relative to the top of the system (but not including other grobs that
were created in the Score context, like BarNumber and MetronomeMark). In
other words, the reference point would change if, for example, there
were very high notes on a particular system. Now (for vertical layout
reasons) we move the Rehearsal marks into the top staff, so their Y
refpoint is the center line.

But anyway, I think 'outside-staff-padding is the right thing to do,
since its behaviour is actually documented and so it's much less likely
to change in future releases.

Cheers,
Joe




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Temporary polyphonic passages in TabStaff

2010-01-25 Thread Oscar van Eijk
Hi All,

I'm currently engraving a piece for several instruments, one of them an
acoustic guitar.
I'ld like to be able to print both the full score, and the instruments
separately, in which case I wanna print guitar tabs as well.

At some locations I add a second voice, as in the snippet I includes
with this mail, but that doesn't work for tabs; the new voice is twice
interpreted as a normal voice and an extra normal (G clef) staff is
added.
In the documentation and snippets I found several examples, but they all
expect the complete piece to be in more voices, and that's not the case
here. Am I missing something?

My code is below.
Thanks in advance,
Oscar

\version 2.12.2

guitar = \relative c' {
a,4 a16 e' bes' cis g'( e)~ e4. 


  {
\voiceOne 
\hideNotes bes'4\( \unHideNotes a8( g) a g \set TabStaff.minimumFret
= #2 f e~
e2 \grace { e16 } e2\turn\) \set TabStaff.minimumFret = #0
\hideNotes bes'4\( \unHideNotes a8( g) a g \set TabStaff.minimumFret
= #2 f e~
e2 \hideNotes e2 \)\unHideNotes
  }
  \new Voice {
\voiceTwo a,, f' bes d bes'2\arpeggio a a a  a f' bes d bes'2
\arpeggio a a 
  }
 \oneVoice

a e' a cis e16
a e' a cis e
a e' a cis e
a e' a cis e
a e' a cis e2.\fermata
}

\score {
  
\new StaffGroup 
\context Staff=Accoustic guitar 
  \set Staff.instrumentName=Accoustic guitar
  \clef G_8
  \guitar

\context TabStaff=Accoustic guitartabs 
  \set TabStaff.instrumentName=Guitartabs
  \set StaffGroup.instrumentName=Accoustic guitar
  \guitar

  

\layout{}

}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread Reinhold Kainhofer
Am Montag, 25. Januar 2010 20:18:10 schrieb James Bailey:
 I use the Scheme hack to get dynamics that sound properly with text:
[...]
 Since I really don't understand any of how that works (I mean, I
 understand that it's markup written in Scheme language, I just don't
 understand the Scheme bits) can someone tell me how to modify this so
 that it's left-aligned, rather than center aligned like normal
 dynamics. I already have a shortcut defined for \once \override
 DynamicText #'direction = #-1, but it would be nice to not have to
 put that in, since every time I use one of these dynamic scripts, I
 want it left-aligned.

See
http://lsr.dsi.unimi.it/LSR/Item?id=393
for some hints.

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread James Bailey


On 25.01.2010, at 21:49, Reinhold Kainhofer wrote:


Am Montag, 25. Januar 2010 20:18:10 schrieb James Bailey:

I use the Scheme hack to get dynamics that sound properly with text:

[...]

Since I really don't understand any of how that works (I mean, I
understand that it's markup written in Scheme language, I just don't
understand the Scheme bits) can someone tell me how to modify this so
that it's left-aligned, rather than center aligned like normal
dynamics. I already have a shortcut defined for \once \override
DynamicText #'direction = #-1, but it would be nice to not have to
put that in, since every time I use one of these dynamic scripts, I
want it left-aligned.


See
http://lsr.dsi.unimi.it/LSR/Item?id=393
for some hints.

Cheers,
Reinhold


Thanks for the link. I realize now that I asked a poor question.  
(Mostly because I didn't understand it myself. What I really want to  
do is set the X-offset to LEFT inside the Scheme defintion. Is that  
possible? If not, I'm okay with it, I've lived with it this long, I  
just thought I'd ask.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread James Bailey


On 25.01.2010, at 21:49, Reinhold Kainhofer wrote:


Am Montag, 25. Januar 2010 20:18:10 schrieb James Bailey:

I use the Scheme hack to get dynamics that sound properly with text:

[...]

Since I really don't understand any of how that works (I mean, I
understand that it's markup written in Scheme language, I just don't
understand the Scheme bits) can someone tell me how to modify this so
that it's left-aligned, rather than center aligned like normal
dynamics. I already have a shortcut defined for \once \override
DynamicText #'direction = #-1, but it would be nice to not have to
put that in, since every time I use one of these dynamic scripts, I
want it left-aligned.


See
http://lsr.dsi.unimi.it/LSR/Item?id=393
for some hints.

Cheers,
Reinhold


Thanks for the link. I realize now that I asked a poor question.  
(Mostly because I didn't understand it myself. What I really want to  
do is set the X-offset to LEFT inside the Scheme defintion. Is that  
possible? If not, I'm okay with it, I've lived with it this long, I  
just thought I'd ask.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread Kieren MacMillan
Hi James,

 What I really want to do is set the X-offset to LEFT inside the Scheme 
 defintion.
 Is that possible? If not, I'm okay with it, I've lived with it this long, I 
 just thought I'd ask.

IIRC, we discussed this when that snippet was being developed — and the answer 
ended up being No.  =(
However, you can always write a music function which would do the alignment for 
you.

Cheers,
Kieren.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread Reinhold Kainhofer
Am Dienstag, 26. Januar 2010 00:53:16 schrieben Sie:
 Hi James,
 
  What I really want to do is set the X-offset to LEFT inside the Scheme
  defintion. Is that possible? If not, I'm okay with it, I've lived with it
  this long, I just thought I'd ask.
 
 IIRC, we discussed this when that snippet was being developed — and the
  answer ended up being No.  =( However, you can always write a music
  function which would do the alignment for you.

IIRC, the snippet had some deeper requirements, namely that pp and sempre 
pp should be lined up exactly, where the pp is center-aligned. That's much 
harder than simply setting the dynamic text to left/right aligned.

Simply changing the DynamicText to left-aligned might be possible including 
the equivalent of a \tweak in the scheme code. But then, it might be the case 
that the make-dynamic-script command does not return the dynamic text object, 
and then this approach is not possible, either (like you cannot change e.g. 
the color of a stem using a \tweak, since the note like c4 does not return 
the stem object).

Cheers,
Reinhld
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread Kieren MacMillan
Hi Reinhold,

 IIRC, the snippet had some deeper requirements, namely that pp and sempre 
 pp should be lined up exactly, where the pp is center-aligned. That's much 
 harder than simply setting the dynamic text to left/right aligned.

Why can't the process be:

  1. Vertically combine the NoteColumn and dynamic text (centered).
  2. Add the text, baseline-aligned with the dynamic.

That would solve the problem, yes?

Cheers,
Kieren.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread Reinhold Kainhofer
Am Dienstag, 26. Januar 2010 01:09:18 schrieben Sie:
 Hi Reinhold,
 
  IIRC, the snippet had some deeper requirements, namely that pp and
  sempre pp should be lined up exactly, where the pp is center-aligned.
  That's much harder than simply setting the dynamic text to left/right
  aligned.
 
 Why can't the process be:
 
   1. Vertically combine the NoteColumn and dynamic text (centered).
   2. Add the text, baseline-aligned with the dynamic.

Basically, I think so, but to be honest, I have no idea how that could be 
achieved automatically (nor how it could be implemented)...

 That would solve the problem, yes?

You are more than welcome to provide a proper solution instead of the nasty 
hacks that I collected for that snippet...

Cheers,
Reinhold
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread David Nalesnik
Hello,

Fiddling around with the snippet Centering markup on noteheads
automatically, http://lsr.dsi.unimi.it/LSR/Item?id=637 I came up with
something which might be useful (or duplicate a far easier solution!). I
realize that it doesn't address the problem of center-aligning only the
dynamic (the function seems to align the left edge of the dynamic with the
note -- hence my guess at an offset of 0.6).  Of course, this offset would
have to be adjusted for pp ppp, etc.  At least this will give similar
results for p, dolce p, espressivo and so on.

\version 2.12.3

pcantabile = #(
  make-dynamic-script (
   markup #:line (
#:dynamic p #:hspace -1 #:normal-text   #:italic , cantabile
   )
 )
)

dynamicTextLeftAlign = \once \override DynamicText #'X-offset =
#(lambda (grob)
(-
  (+
(ly:self-alignment-interface::x-aligned-on-self grob)
(interval-center
(ly:grob-robust-relative-extent grob grob X)))
 0.6))

{
  \dynamicTextLeftAlign
  a'\pcantabile b' c' d'
}


 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Diagonal slashes in drum notation

2010-01-25 Thread Brett McCoy
I am doing some drum notation, starting out with a 2-bar groove, and
then for the following measures I want to just have 4 diagonal slashes
to indicate drummer basic time (rather than the % sign to indicate a
repeated measure). Basically, I want to do something similar to the
isolated % repeat
(http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats#Isolated-percent-repeats)
but for quarter note diagonal slashes. Not sure how to go about this.

-- Brett

In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world.
   -- Jelaleddin Rumi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Diagonal slashes in drum notation

2010-01-25 Thread Brett McCoy
On Mon, Jan 25, 2010 at 10:19 PM, Brett McCoy idragos...@gmail.com wrote:
 I am doing some drum notation, starting out with a 2-bar groove, and
 then for the following measures I want to just have 4 diagonal slashes
 to indicate drummer basic time (rather than the % sign to indicate a
 repeated measure). Basically, I want to do something similar to the
 isolated % repeat
 (http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Repeats#Isolated-percent-repeats)
 but for quarter note diagonal slashes. Not sure how to go about this.

Never mind, I found my answer:

http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Rhythms#Rhythmic-slashes

-- Brett

In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world.
   -- Jelaleddin Rumi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: left-aligned dynamics

2010-01-25 Thread James Bailey


On 26.01.2010, at 02:01, David Nalesnik wrote:


Hello,

Fiddling around with the snippet Centering markup on noteheads  
automatically, http://lsr.dsi.unimi.it/LSR/Item?id=637 I came up  
with something which might be useful (or duplicate a far easier  
solution!). I realize that it doesn't address the problem of center- 
aligning only the dynamic (the function seems to align the left  
edge of the dynamic with the note -- hence my guess at an offset of  
0.6).  Of course, this offset would have to be adjusted for pp  
ppp, etc.  At least this will give similar results for p, dolce  
p, espressivo and so on.


\version 2.12.3

pcantabile = #(
  make-dynamic-script (
   markup #:line (
#:dynamic p #:hspace -1 #:normal-text   #:italic ,  
cantabile

   )
 )
)

dynamicTextLeftAlign = \once \override DynamicText #'X-offset =
#(lambda (grob)
(-
  (+
(ly:self-alignment-interface::x-aligned-on-self grob)
(interval-center
(ly:grob-robust-relative-extent grob grob X)))
 0.6))

{
  \dynamicTextLeftAlign
  a'\pcantabile b' c' d'
}


Given that the values would probably have to be changed in different  
context, hard-coding a number to this is really not a very good  
solution. Also, since the alignment is easily achieved with \once  
\override DynamicText #'X-offset = -1. It's far easier to just use  
that, and always get the alignment I want. However, you did give me a  
brilliant idea. Chain the two together. instead of having a variable  
assigned to the dynamic + text and a variable to the shift, I can  
just have a variable assigned to do both at the same time, i.e.,  
pcantabile = \once \override … #( make-dynamic-script…___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-Measure Rests: Adding to what gets printed?

2010-01-25 Thread rasAK

Alexander,

I've modified the BarNumberStaff code as you suggested.  I also changed one
line in your \layout block.  I commented out the Mark_engraver as I was
getting double boxed rehearsal letters:

%\consists Mark_engraver

The only remaining issue is the positioning of the text that results from
your function.  It is currently being placed above the number (which is
above the MMR).  I tried to adjust some of the Y-offset and Y-extent
numbers, but could only get the text to move up.  I would like for it to
print below the MMR (but keeping the number of measures in the MMR above the
MMR).  Something like the following:

 6
 |-|
 ( 121 - 126 )

Thoughts?

Thanks,

Randy
 


Alexander Kobel wrote:
 
 rasAK wrote:
 In my orchestral parts, I would like Multi-Measure Rests to have both:
 (1) an integer representing the number of measures in the current MMR,
 centered above (default behavior)
 (2) a second text indicating which measures are included in the given
 MMR,
 in parentheses and centered BELOW the MMR.
 
 (1) happens automatically.  (2) is what I don't know how to do.
 
 Hi, Randy,
 
 http://lsr.dsi.unimi.it/LSR/Item?id=651 includes what you're after, just 
 that it writes a bar number on every single measure by default.  But in 
 principle you can copy most of the overrides concerning 
 MultiMeasureRestNumbers from BarNumberStaff into a second voice (for 
 (2)), which shares but the MMRs with your given voices (which do (1)).
 
 To add the parentheses, replace lines 99 to 102 by:
 (if (= start-measure end-measure)
  (string-append ( (number-string start-measure) ))  ;; or only 
  in this line if you don't want single bars numbered at all
  (string-append
   ( (number-string start-measure)  –  (number-string 
 end-measure) )
 
 If you just want to plug in a BarNumberStaff as shown in the LSR 
 snippet, you just have to write  in line 100, as stated above, and 
 you're basically done, since single measures won't have a visible 
 BarNumber text in this case.
 
 As an additional wrinkle, if Rehearsal Letter A happened to fall at mm.
 9,
 Example 1b should output 2 MMRs ( |--4--| and |--6--|) with ( 4 - 7 )
 and
 ( 8 - 13 ) below.
 
 Sorry, no idea on this one.
 
 
 Cheers,
 Alexander
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

-- 
View this message in context: 
http://old.nabble.com/Multi-Measure-Rests%3A-Adding-to-what-gets-printed--tp27288983p27318719.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user