lilypond-user
[Top][All Lists]
Advanced

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

Re: "Slash" in figured bass


From: Jean Abou Samra
Subject: Re: "Slash" in figured bass
Date: Thu, 17 Aug 2023 13:05:52 +0200
User-agent: Evolution 3.48.4 (3.48.4-1.fc38)

Le jeudi 17 août 2023 à 12:28 +0200, Lukas-Fabian Moser a écrit :
> (The even friendlier syntax variant </> would require changing the 
> lexer/parser, I think.)

Why don't you just do

  <"/">

?



Obviously, you can customize it with


\version "2.25.7"

slashMarkup =
\markup
\beam #0.5 #2.0 #0.3

\layout {
  \override Score.BassFigure.stencil =
  #(grob-transformer
    'stencil
    (lambda (grob orig)
      (if (equal? "/" (ly:grob-property grob 'text))
          (grob-interpret-markup grob slashMarkup)
          orig)))
}

<<
   \new FiguredBass \figuremode {
     <"/"> <6> <"/"> <6>
   }
   \new Staff \with { \clef bass } {
     f4 e d c
   }
 >>
 

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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