lilypond-user
[Top][All Lists]
Advanced

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

Re: Introduction Bracket glyphs


From: Pierre Perol-Schneider
Subject: Re: Introduction Bracket glyphs
Date: Sun, 19 Jun 2016 13:16:31 +0200

2016-06-19 11:58 GMT+02:00 Malte Meyn <address@hidden>:
 
If so the complicated tempo should be omitted and instead of
        -\tweak color #white
one should write
        -\tweak dash-period 0
for a cleaner solution.

OK

2016-06-19 12:16 GMT+02:00 Thomas Morley <address@hidden>:
...
In general, in the LSR-snippet the brackets are defined using \path,
Pierre combines \draw-line.
...

Indeed:

%%%%
\version "2.18.2"

%% Bracket defs:
LBracket =
  \markup
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \path #0.15
    #'((moveto  -1  0)
       (rlineto -1  0)
       (rlineto  0 -1.5))
 
RBracket =
  \markup
  \scale #'(-1 . 1)
  \LBracket

startBracket =
  -\tweak dash-period 0
  -\tweak bound-details
            #`((left
                (text . ,LBracket)
                (Y . 1.5))
               (right
                (text . ,RBracket)
                (Y . 1.5))) 
   \startTextSpan

stopBracket = \stopTextSpan

%%%%

Cheers,
Pierre

reply via email to

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