lilypond-user
[Top][All Lists]
Advanced

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

Re: Bar Line Thickness


From: David Kastrup
Subject: Re: Bar Line Thickness
Date: Sat, 25 Jan 2014 20:13:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> Hi David
>
> 2014-01-25 David O'Donnell <address@hidden>:
>> Is there a way to adjust the bar lines to be as thick or thin as one wants?
>
> [...]
>
>> \layout {
>>     \context {
>>       \Score
>>       % **** Turns off bar numbering
>>       \remove "Bar_number_engraver"
>>     }
>> \context {
>> \Staff
>>   \override StaffSymbol #'staff-space = #1.11
>
> Delete "Staff." in the next lines and it will work. Use
> 'hair-thickness and/or 'thick-thickness as properties.
>
>>   \override Staff.StaffSymbol #'thickness = #0.6
>> \override Staff.BarLine #'thickness = #2
>> %\override Staff.BarLine #'hair-thickness = #0.5
>>
>>   }
>
> Btw, don't use a new \context { \Staff ... } it's superfluous and may
> or may not interfere with the previous.

It will _not_ interfere.  The main reason to avoid multiple instances
here is performance: every occurence of \context { \Staff ... } copies
the currently active Staff context definition, adds material to it, then
takes the result, looks up its \name in the definition, gets the
respective context definition in the output definition (\layout) and
replaces it with the modified copy.  Not doing this over and over is a
bit of courtesy towards LilyPond, even though there are probably other
things slowing it down even more.

-- 
David Kastrup



reply via email to

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