Re: chord symbol styling

2015-10-27 Thread Noeck
Hi,

> For some reason, font-size seems to have a minimum.  Value "1" seems to
> be the minimum, and anything below that (e.g., 0.1) seems to be rounded
> up to 1.  I could be wrong.

No, you can see the size as an exponent if you like. These sizes are
not: 8pt, 12pt and similar but you can also have 0 or negative numbers.
0.1 is just quite close to 1 (and closer to 0). If you like it really
small choose -4 or so.

Cheers,
Joram

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


Re: chord symbol styling

2015-10-27 Thread Bric

On 10/27/2015 12:05 AM, tisimst wrote:

\override ChordName #'font-size = #2
 \override ChordName #'font-family = #'roman
 \override ChordName #'font-series = #'bold 


wonderful! it works.   Including ChordName.color

For some reason, font-size seems to have a minimum.  Value "1" seems to 
be the minimum, and anything below that (e.g., 0.1) seems to be rounded 
up to 1.  I could be wrong.





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


Re: chord symbol styling

2015-10-27 Thread David Kastrup
Simon Albrecht  writes:

> On 27.10.2015 13:00, David Kastrup wrote:
>> 6 whole steps per octave.  So if I want to illustrate the shrinking of
>> distances higher up the fretboard, I can just add -0.5 per semitone to
>> the font-size.  Or something.
>
> :-)

Well, arguably it makes a bit more sense than Knuth's choice of a
magstep being a factor of 1.2.  Because the powers of 2^{1:12} as the
basis of half a magstep are known to be close enough for practical
purposes to a variety of small-integer-based ratios.

3:2?  Try font-size 3.5.  4:3?  Try font-size 2.5.  5:4? How about
font-size 2?

Eat your heart out, Don: there's music in _our_ choice.

-- 
David Kastrup

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


Re: chord symbol styling

2015-10-27 Thread Simon Albrecht

On 27.10.2015 13:00, David Kastrup wrote:

6 whole steps per octave.  So if I want to illustrate the shrinking of
distances higher up the fretboard, I can just add -0.5 per semitone to
the font-size.  Or something.


:-)

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


Re: chord symbol styling

2015-10-27 Thread Simon Albrecht

On 27.10.2015 11:33, Noeck wrote:

Hi,


For some reason, font-size seems to have a minimum.  Value "1" seems to
be the minimum, and anything below that (e.g., 0.1) seems to be rounded
up to 1.  I could be wrong.

No, you can see the size as an exponent if you like. These sizes are
not: 8pt, 12pt and similar but you can also have 0 or negative numbers.
0.1 is just quite close to 1 (and closer to 0). If you like it really
small choose -4 or so.


In other words: font-size isn’t given as absolute, but as relative size, 
where 0 means ‘normal size’, -6 is half the size, and 6 is twice as large.


HTH, Simon

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


Re: chord symbol styling

2015-10-27 Thread Kieren MacMillan
Hi all,

On Oct 27, 2015, at 7:09 AM, Simon Albrecht  wrote:
> In other words: font-size isn’t given as absolute, but as relative size

It can be given as absolute, if desired, via Mike S’s function.

Cheers,
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: chord symbol styling

2015-10-27 Thread David Kastrup
Simon Albrecht  writes:

> On 27.10.2015 11:33, Noeck wrote:
>> Hi,
>>
>>> For some reason, font-size seems to have a minimum.  Value "1" seems to
>>> be the minimum, and anything below that (e.g., 0.1) seems to be rounded
>>> up to 1.  I could be wrong.
>> No, you can see the size as an exponent if you like. These sizes are
>> not: 8pt, 12pt and similar but you can also have 0 or negative numbers.
>> 0.1 is just quite close to 1 (and closer to 0). If you like it really
>> small choose -4 or so.
>
> In other words: font-size isn’t given as absolute, but as relative
> size, where 0 means ‘normal size’, -6 is half the size, and 6 is twice
> as large.

6 whole steps per octave.  So if I want to illustrate the shrinking of
distances higher up the fretboard, I can just add -0.5 per semitone to
the font-size.  Or something.

-- 
David Kastrup

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


Re: chord symbol styling

2015-10-27 Thread mskala
On Tue, 27 Oct 2015, David Kastrup wrote:
> Well, arguably it makes a bit more sense than Knuth's choice of a
> magstep being a factor of 1.2.  Because the powers of 2^{1:12} as the
> basis of half a magstep are known to be close enough for practical
> purposes to a variety of small-integer-based ratios.

So, will a future version allow microtypographical 2^{1/19} magnification
steps?  :-)

-- 
Matthew Skala
msk...@ansuz.sooke.bc.ca People before principles.
http://ansuz.sooke.bc.ca/

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


Re: chord symbol styling

2015-10-26 Thread tisimst
You are close. The correct context is "ChordNames" (with an "s"). This is
what is done in the jazzchords.ily stylesheet:

\layout {
  \context {
\ChordNames
\override ChordName.font-name = #"lilyjazz-chord"
  }
}

HTH,
Abraham

On Monday, October 26, 2015, Bric [via Lilypond] <
ml-node+s1069038n182781...@n5.nabble.com> wrote:

> none of the threads discussing this lead to any solution, in my research
>
> How do you change font-family, font-style, font-size of the chord fonts?
>
> I have tried things like...
>
>  \override ChordName #'font-name = "DejaVu Serif"
>  \override ChordName #'font-size = #2
>  \override ChordName #'font-family = #'roman
>  \override ChordName #'font-series = #'bold
>
> but that changes nothing.  Maybe I don't know the correct context these
> commands shouild be in...
>
> my *.ly code "compiles" without error, but the chord symbols remain the
> same.
>
> Do I need to use the full path of the fonts?
>
> thanks
>
>
>
> ___
> lilypond-user mailing list
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/chord-symbol-styling-tp182781.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> 
> To unsubscribe from Lilypond, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/chord-symbol-styling-tp182781p182782.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