[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Creating a stencil from a markup
From: |
Simon Albrecht |
Subject: |
Creating a stencil from a markup |
Date: |
Wed, 14 Dec 2016 21:20:50 +0100 |
Hello everybody,
I’d like to add a caesura sign on top of a barline by modifying the
barline’s stencil. Here’s my attempt:
%%%%%%%%%%%%%%%%%%
\version "2.19.49"
{
1
\once\override BarLine.stencil =
#(ly:stencil-combine-at-edge
ly:bar-line::print
1 ; y-axis
1 ; on top
(interpret-markup layout props (make-musicglyph-markup
"scripts.caesura.curved"))
2) %padding
1
}
%%%%%%%%%%%%%%%%%%
However, layout is an unbound variable here (and so is props, I assume).
How to do it correctly?
Best, Simon
- Creating a stencil from a markup,
Simon Albrecht <=
- Re: Creating a stencil from a markup, David Nalesnik, 2016/12/14
- Re: Creating a stencil from a markup, David Nalesnik, 2016/12/14
- Re: Creating a stencil from a markup, Thomas Morley, 2016/12/14
- Re: Creating a stencil from a markup, Pierre Perol-Schneider, 2016/12/15
- Re: Creating a stencil from a markup, Pierre Perol-Schneider, 2016/12/15
- Re: Creating a stencil from a markup, Simon Albrecht, 2016/12/15
- Re: Creating a stencil from a markup, Pierre Perol-Schneider, 2016/12/15
- Re: Creating a stencil from a markup, Simon Albrecht, 2016/12/15
- Re: Creating a stencil from a markup, Pierre Perol-Schneider, 2016/12/15
Re: Creating a stencil from a markup, Simon Albrecht, 2016/12/14