Re: Clef modifier vertical position

2017-01-11 Thread Kieren MacMillan
Hi Andrew,

> In particular it addresses the issue I have where I simultaneously have a 
> clef "treble^8" in the other staff, and this does not alter the position of 
> the modifier for that clef, which I was having problems with until 
> enlightened by you.
> 
> I never knew you apply layout modifications to things like \clef "F_8". 
> Should that be in documentation somewhere, or the LSR?

I don’t believe that's what’s actually happening… His code, I think, simply 
modifies Clef grobs in all Staff contexts. If you want to modify just one, you 
can use

\new Staff \with { \override ClefModifier… }

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Clef modifier vertical position

2017-01-10 Thread Noeck
Hi Andrew,

Am 11.01.2017 um 04:29 schrieb Andrew Bernard:
> I never knew you apply layout modifications to things like \clef "F_8".

I was also excited. But in my test, it does not:

\version "2.19.50"

\layout {
  \context {
\Staff
\clef "F_8"
\override ClefModifier.staff-padding = #'()
\override ClefModifier.padding = #1.0
  }
}

<<
  \new Staff { \clef "treble_8" c }
  \new Staff { c }
>>

It just sets the "F_8" as default clef for all staves and it overrides
the position for all ClefModifiers. It just happens that the treble_8 is
not affected by the staff-padding. I commented in the padding, too, and
you see that both are affected.

Best,
Joram

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


Re: Clef modifier vertical position

2017-01-10 Thread Andrew Bernard
Hi Pierre,

This is so completely brilliant. Thanks!

In particular it addresses the issue I have where I simultaneously have a
clef "treble^8" in the other staff, and this does not alter the position of
the modifier for that clef, which I was having problems with until
enlightened by you.

I never knew you apply layout modifications to things like \clef "F_8".
Should that be in documentation somewhere, or the LSR?

Andrew


On 10 January 2017 at 17:17, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> +1, I'd use extra-offset too.
>
> You could also do:
>
> \version "2.18.2"
> \layout {
>   \context {
> \Staff
> \clef "F_8"
> \override ClefModifier.staff-padding = #'()
> %\override ClefModifier.padding = #.6
>   }
> } { c }
>
> Cheers,
> Pierre
>
>
> 2017-01-10 6:28 GMT+01:00 Urs Liska :
>
>>
>>
>> Am 10. Januar 2017 04:26:01 MEZ schrieb Andrew Bernard <
>> andrew.bern...@gmail.com>:
>> >I am using clefs of type "bass_8". We would like to have the 8 directly
>> >under the clef glyph rather than under the staff. Using the
>> >clef-alignments
>> >property of ClefModifier, there does not seem to be the ability to move
>> >the
>> >numeral up or down, only sideways, Any suggestions anybody?
>>
>> Isn't this a case for extra-offset?
>>
>> Urs
>> >
>> >Andrew
>>
>> --
>> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
>> gesendet.
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Clef modifier vertical position

2017-01-09 Thread Pierre Perol-Schneider
+1, I'd use extra-offset too.

You could also do:

\version "2.18.2"
\layout {
  \context {
\Staff
\clef "F_8"
\override ClefModifier.staff-padding = #'()
%\override ClefModifier.padding = #.6
  }
} { c }

Cheers,
Pierre


2017-01-10 6:28 GMT+01:00 Urs Liska :

>
>
> Am 10. Januar 2017 04:26:01 MEZ schrieb Andrew Bernard <
> andrew.bern...@gmail.com>:
> >I am using clefs of type "bass_8". We would like to have the 8 directly
> >under the clef glyph rather than under the staff. Using the
> >clef-alignments
> >property of ClefModifier, there does not seem to be the ability to move
> >the
> >numeral up or down, only sideways, Any suggestions anybody?
>
> Isn't this a case for extra-offset?
>
> Urs
> >
> >Andrew
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Clef modifier vertical position

2017-01-09 Thread Urs Liska


Am 10. Januar 2017 04:26:01 MEZ schrieb Andrew Bernard 
:
>I am using clefs of type "bass_8". We would like to have the 8 directly
>under the clef glyph rather than under the staff. Using the
>clef-alignments
>property of ClefModifier, there does not seem to be the ability to move
>the
>numeral up or down, only sideways, Any suggestions anybody?

Isn't this a case for extra-offset?

Urs
>
>Andrew

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: Clef modifier vertical position

2017-01-09 Thread tisimst
On Mon, Jan 9, 2017 at 8:27 PM Andrew Bernard [via Lilypond] <
ml-node+s1069038n199048...@n5.nabble.com> wrote:

>
>
>
>
> I am using clefs of type "bass_8". We would like to have the 8 directly
> under the clef glyph rather than under the staff. Using the clef-alignments
> property of ClefModifier, there does not seem to be the ability to move the
> numeral up or down, only sideways, Any suggestions anybody?
>
> Andrew
>
I know it's not ideal, but extra-offset has worked for me.

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Clef-modifier-vertical-position-tp199048p199049.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Clef modifier vertical position

2017-01-09 Thread Andrew Bernard
I am using clefs of type "bass_8". We would like to have the 8 directly
under the clef glyph rather than under the staff. Using the clef-alignments
property of ClefModifier, there does not seem to be the ability to move the
numeral up or down, only sideways, Any suggestions anybody?

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