lilypond-user
[Top][All Lists]
Advanced

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

Re: accidental query


From: Gregory Evans
Subject: Re: accidental query
Date: Tue, 14 Feb 2023 12:07:30 -0600

Hi Karim,
I have done things like this in the past:

\version "2.23.81"
\language "english"

seven-eighths-sharp-markup = \markup
    \combine
    \musicglyph #"accidentals.sharp.slashslash.stemstemstem"
    \path #0.15
      #'(
          (moveto 1.25 1.15)
          (lineto 1.25 2.0)
          (moveto 0.95 1.2)
          (lineto 1.25 2.0)
          (lineto 1.55 1.2)
          )

\score {
    \new Score <<
        \new Staff {
            c'4
            cs'4
            \tweak Accidental.stencil #ly:text-interface::print
            \tweak Accidental.text \seven-eighths-sharp-markup
            cs'!4
        }
    >>
}

Screen Shot 2023-02-14 at 12.04.00 PM.png

You may want to adjust the appearance of the arrow yourself. And because this arrow does not match what is in the font, I have a little library of such markups here for example: https://github.com/GregoryREvans/abjad-ext-microtones/blob/master/abjadext/microtones/lilypond/general-edo-accidental-markups.ily

regards,
gregory evans

p.s. the limitation of this method is that the accidental must already be visible for the tweak to appear, so either it needs to be set to "dodecaphonic" or use the "!" like in my example.

On Tue, Feb 14, 2023 at 11:48 AM Karim Haddad <karim.haddad@ircam.fr> wrote:
Thank you Hans for the tip.

My quest is to try to find a way to use this symbol by default, ie without adding extra SMufl fonts, or if there is a way to do it with lilypond default fonts + maybe a markup tweak.

Best
K

On Tue, Feb 14, 2023 at 05:57:23PM +0100, Hans Åberg wrote:
>
> > On 14 Feb 2023, at 15:27, Karim Haddad <karim.haddad@ircam.fr> wrote:
> >
> > Maybe this was already submitted. I am looking for this particular symbol to use as alteration for 1/8th tones. (cf. screenshot attached)
> > However it seems missing in the Emmentaler font.
>
> It is appears on the SMuFL page Extended Stein-Zimmermann accidentals at
> https://www.w3.org/2021/03/smufl14/tables/extended-stein-zimmermann-accidentals.html
>
> It can be typeset using say the Bravura font.
>

--
Karim Haddad

Music Representations Team, IRCAM
Research and development manager.
email   : karim.haddad@ircam.fr
webpage : http://karim.haddad.free.fr



--
gregory rowland evans

reply via email to

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