[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to write anti-accent (breve)
From: |
Manuela Gößnitzer |
Subject: |
Re: How to write anti-accent (breve) |
Date: |
Thu, 15 Jun 2017 19:12:47 +0200 |
In the German Lilypond forum (now available in the archive) someone figured out a solution, here a comparison of both solutions
\version "2.19.56"
soft =
-\tweak stencil
#(lambda (grob)
(grob-interpret-markup grob
(if (eq? UP (ly:grob-property grob 'direction))
#{
\markup
\with-dimensions #'(-0.55 . 0.55) #'(-0.55 . 0)
\postscript
#"0.25 setlinewidth -0.55 0 moveto 0 0 0.55 180 0 arc stroke"
#}
#{
\markup
\with-dimensions #'(-0.55 . 0.55) #'(0 . 0.55)
\postscript
#"0.25 setlinewidth 0.55 0 moveto 0 0 0.55 0 180 arc stroke"
#})))
-\accent
unaccent =
-\tweak stencil #ly:text-interface::print
-\tweak text \markup
\translate #'(0.6 . 0)
\stencil
#(make-path-stencil
'(M -0.435 0.435
C -0.435 0.185 -0.250 0 0 0
C 0.250 0 0.435 0.185 0.435 0.435)
0.13 1 1 #f)
-\accent
\relative c'' { c_\soft c^\soft c_\unaccent c^\unaccent }
Re: How to write anti-accent (breve), Simon Albrecht, 2017/06/15