lilypond-user
[Top][All Lists]
Advanced

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

RE: Ineffective \override


From: Fairchild
Subject: RE: Ineffective \override
Date: Tue, 17 May 2005 11:09:36 -0500

Good stuff!  Ought to be referenced in the manual.  Or maybe appended
thereto.

                               - Bruce

-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden 
Sent: Tuesday, May 17, 2005 10:55 AM
To: Fairchild
Cc: address@hidden
Subject: Re: Ineffective \override


Sure! In the latest 2.5.xx versions, you can do
  \displayMusic{\hideNotes},
However, it's easier to read the files where the macros are defined,
directly. See /usr/share/lilypond/2.4.x/ly/property-init.ly
or wherever the files are installed on your machine.

    /Mats

Fairchild wrote:
> Is there a way to look inside macros?
> 
>                               - Bruce
> 
> -----Original Message-----
> From: Mats Bengtsson [mailto:address@hidden
> Sent: Tuesday, May 17, 2005 10:36 AM
> To: Fairchild
> Cc: address@hidden
> Subject: Re: Ineffective \override
> 
> 
> Don't forget that you can use the predefined macro \hideNotes to 
> obtain many of these settings, see the section on "Hidden Notes".
> 
>     /Mats
> 
> Fairchild wrote:
> 
>>Mats -
>>
>>I had scoured the documentation prior to posting, but missed the
>>thread Werner initiated.
>>
>>For posterity, here is a list of things that work in v 2.4.3:
>>
>>   \override NoteHead           #'transparent = ##t
>>   \override Stem               #'transparent = ##t
>>   \override Dots               #'transparent = ##t
>>   \override Beam               #'transparent = ##t
>>   \override Rest               #'transparent = ##t
>>   \override Accidental         #'transparent = ##t
>>   \override Slur               #'transparent = ##t
>>   \override PhrasingSlur       #'transparent = ##t
>>   \override Hairpin            #'transparent = ##t
>>   \override TextScript         #'transparent = ##t
>>   \override Script             #'transparent = ##t
>>   \override DynamicText        #'transparent = ##t
>>   \override Staff.BarLine      #'transparent = ##t
>>   \override NoteHead           #'no-ledgers  = ##t
>>
>>The last two may not be buggy, but I agree with Werner that they are
>>fishy, and with your characterization as tricky.  Certainly they are 
>>inconsistent from a user view.  I endorse Werner's plea for 
>>documentation.
>>
>>Thanks for the help.
>>
>>                                                 - Bruce
>>
>>-----Original Message-----
>>From: Mats Bengtsson [mailto:address@hidden
>>Sent: Tuesday, May 17, 2005 8:38 AM
>>To: Fairchild
>>Cc: address@hidden
>>Subject: Re: Ineffective \override
>>
>>
>>
>>
>>Fairchild wrote:
>>
>>
>>>Mats -
>>>
>>>Thanks for the response.  Maybe my fog is beginning to lift.
>>>
>>>The first link you gave says the syntax is:
>>>\override <context>.<layout object> #'<layout property> [ = #<value>]
>>>
>>>Experimenting demonstrates <context>. isn't always required, though 
>>>it is required for Staff.BarLine - why is still hidden in the fog.
>>
>>
>>I really recommend you to read the full chapter on "Changing
>>defaults". The answer to this specific question is in the section 
>>"Layout tunings within contexts" with reference to "Changing context 
>>properties on the fly".
>>
>>
>>
>>>Staff.LedgerLineSpanner doesn't seem to work, though 
>>>http://www.lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond-
>>>i
>>>nterna
>>>ls/Ledger_005fline_005fengraver.html#Ledger_005fline_005fengraver implies
>>
>>it
>>
>>
>>>ought to.
>>
>>
>>This is indeed a tricky special case. See
>>http://lists.gnu.org/archive/html/bug-lilypond/2005-04/msg00133.html
>>and the other emails of that thread to learn more.
>>
>>    /Mats
>>
>>
>>
>>>                                     - Bruce
>>>
>>>-----Original Message-----
>>>From: Mats Bengtsson [mailto:address@hidden
>>>Sent: Monday, May 16, 2005 2:55 AM
>>>To: Fairchild
>>>Cc: address@hidden
>>>Subject: Re: Ineffective \override
>>>
>>>
>>>Hints:
>>>- Which of the steps outlined in
>>>
>>>http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Cons
>>>t
>>>ructin
>>>g-a-tweak.html#Constructing-a-tweak
>>>  did you follow?
>>>
>>>- Take a look at the last example of 
>>>http://lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/Comm
>>>o
>>>n-twea
>>>ks.html#Common-tweaks
>>>
>>>   /Mats
>>>
>>>
>>>Fairchild wrote:
>>>
>>>
>>>
>>>>Ver 2.4.3, Cygwin, XP question: Which of the following \override 
>>>>have
>>>>no effect?
>>>>
>>>> \override NoteHead           #'transparent = ##t
>>>> \override Stem               #'transparent = ##t
>>>> \override Dots               #'transparent = ##t
>>>> \override Beam               #'transparent = ##t
>>>> \override Rest               #'transparent = ##t
>>>> \override Accidental         #'transparent = ##t
>>>> \override Slur               #'transparent = ##t
>>>> \override PhrasingSlur       #'transparent = ##t
>>>> \override Hairpin            #'transparent = ##t
>>>> \override TextScript         #'transparent = ##t
>>>> \override Script             #'transparent = ##t
>>>> \override DynamicText        #'transparent = ##t
>>>> \override BarLine            #'transparent = ##t
>>>> \override LedgerLineSpanner  #'transparent = ##t
>>>>
>>>>Answer: The last two, BarLine and LedgerLineSpanner.
>>>>
>>>>BarLine works if changed to Staff.BarLine
>>>>
>>>>Why?  Don't know.  Bugs?
>>>>
>>>>                                   - Bruce
>>>>_______________________________________________
>>>>bug-lilypond mailing list
>>>>address@hidden
>>>>http://lists.gnu.org/mailman/listinfo/bug-lilypond
>>>
>>>
> 

-- 
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
         Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================







reply via email to

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