]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vertical-line-as-a-baroque-articulation-mark.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[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.16.0"
8
9 \header {
10   lsrtags = "ancient-notation, expressive-marks"
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
23 upline =
24 #(let ((m (make-articulation "stopped")))
25    (set! (ly:music-property m 'tweaks)
26          (acons 'font-size 3
27                 (acons 'stencil (lambda (grob)
28                                   (grob-interpret-markup
29                                    grob
30                                    (make-draw-line-markup '(0 . 1))))
31                        (ly:music-property m 'tweaks))))
32    m)
33
34
35 \relative c' {
36   a'4^\upline a( c d')_\upline
37 }