lilypond-user
[Top][All Lists]
Advanced

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

Re: Set vs. Override - I'm confused


From: Mats Bengtsson
Subject: Re: Set vs. Override - I'm confused
Date: Fri, 28 Apr 2006 23:15:06 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)

Quoting Michael Brennan <address@hidden>:


My simple understanding of it is that:
\set sets a property for the whole context, and the objects contained in that context while
\override is for a particular graphical object.

Just a little explanation like that, that separates them would be good to have in the docs,
or better yet, Eric's more thorough explanation below.

I'm afraid a simplified explanation like that might give the impression that
the same properties can be set both for the context and for a particular graphical object, which of course is completely wrong.
Also, \override by default sets a property for a particular type
of object within the current context, so the concept of contexts
is important also for \override.


What is a \tweak? I can't recall reading about it in the manual. You say that you can modify the fontsize of a single notehead with \tweak. Would that give any difference than using a
\once \override NoteHead #'font-size = size

See the NEWS in the documentation for version 2.8. The information from the NEWS file is in the process of being incorporated into the manual.

  /Mats





reply via email to

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