]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vertical-line-as-a-baroque-articulation-mark.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / vertical-line-as-a-baroque-articulation-mark.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "expressive-marks, ancient-notation"
11
12   texidoc = "
13 This short vertical line placed above the note is commonly used in
14 baroque music.  Its meaning can vary, but generally indicates notes
15 that should be played with more @qq{weight}.  The following example
16 demonstrates how to achieve such a notation.
17
18 "
19   doctitle = "Vertical line as a baroque articulation mark"
20 } % begin verbatim
21
22 upline =
23 #(let ((m (make-articulation "stopped")))
24    (set! (ly:music-property m 'tweaks)
25          (acons 'font-size 3
26                 (acons 'stencil (lambda (grob)
27                                   (grob-interpret-markup
28                                    grob
29                                    (make-draw-line-markup '(0 . 1))))
30                        (ly:music-property m 'tweaks))))
31    m)
32
33
34 \relative c' {
35   a'4^\upline a( c d')_\upline
36 }