gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: thickness of the Staff's lines


From: Mats Bengtsson
Subject: Re: thickness of the Staff's lines
Date: Fri, 27 Jul 2001 15:32:42 +0200

>               hello,
>       Maybe it's a strange question but I would like to know if it's
> possible to change the thickness of the Staff's lines. Not the Staff
> itself but the 5 line.
>       I want to trie this thing because I found the score I wrote (Mozart
> wrote it, in fact, but not with lily...) is too "dark". Maybe  I could
> tried to reduce the head size too... But I only find the "paper size"
> in the doc.
>       PS : IN the input/test/bagpipe.ly what did I have to put in  "Stem
> \override #'flag-style =#"" " If I want to remove the slash on the
> grace note. (I remember that I can have the different value with the
> internal documentation but I can't remember were is this strange
> annimal :o)

I hope you know how to search the answer to this kind of 
questions in the on-line part of the manual "lilypond-internals".

However, for this particular question, the answer is different
in 1.5.x than in earlier versions. 

For versions up to 1.4.x, you could say (from the Reference Manual)
\property Grace.Stem \override #'flag-style = #'()
to make the change for a particular set of grace notes or
\paper{
  ...
  \translator{
    \GraceContext
    Stem \override #'flag-style = #'()
  }
}
to change all grace notes in the score.

In version 1.5.x, the commands \startGraceMusic and \stopGraceMusic
(defined in grace-init.ly) are used, which means you should redefine
\startGraceMusic at the top of your file:

startGraceMusic={
  \startGraceMusic
  \property Voice.Stem \revert #'flag-style
}

I see it as a disadvantage that the new grace note mechanism 
introduces yet another paradigm for property settings. We 
already have too many different versions to handle:
grob properties vs translator properties and local vs global settings.

To change the flag style for a single grace note, use
\property Voice.Stem \override #'flag-style = #'()


    /Mats



reply via email to

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