[Top][All Lists]

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

Re: Italic numbers for fingerings (feature request)

From: Noeck
Subject: Re: Italic numbers for fingerings (feature request)
Date: Fri, 17 Feb 2017 11:56:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Hi Simon,

you can use all the font mechanisms if you don't specify the font via

If you use font-name, all the font-shape and font-series things don't
work anymore (which is kind of understandable from the internals but
certainly not expected by most users). But If you add a font in the
paper block, you can use it via font-family and then you have access to
the whole family including -series and -shape:

\version "2.19.50"
\paper {
  #(add-pango-fonts fonts 'ubuntu "Ubuntu"
     (/ (* staff-height pt) 2.5))
% now 'ubuntu is a font-family you can use

  1-\tweak font-encoding #'latin1 \tweak font-family #'ubuntu
  \tweak font-size 6 \tweak font-shape #'italic -3


PS: Cudos to Abraham who showed me this!

reply via email to

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