On Wed, Apr 8, 2015 at 10:55 AM, Mats Bengtsson-4 [via Lilypond] < ml-node+s1069038n174231...@n5.nabble.com> wrote:
> I would perhaps have written > > This short vertical line placed above the note is commonly used in > baroque music. <p> > It is commonly typeset using \staccatissimo, but if you want the > original layout, the following example demonstrates how to achieve such > a notation. > > Possibly, you could also add a comment on the technical implementation: > "The code uses an arbitrarily chosen articulation (stopped) and replaces > the symbol by a markup that gives the desired layout. " > > Why not have it UN-arbitrarily replace the staccatissimo stencil instead? - Abraham > /Mats > > On 2015-04-08 11:55, Pierre Perol-Schneider wrote: > > > Ok, so how about: > > > > %{ > > This short vertical line placed above the note is commonly used in > > baroque music. > > <p>Its meaning can vary, but generally indicates notes that should > > be played "staccatissimo". > > <p>The following example demonstrates how to achieve such a notation. > > %} > > > > baroqueStaccatissimo = > > #(define-event-function (parser location) () > > #{ > > %% possible tweaks here, e.g: > > %-\tweak padding #1 > > %-\tweak avoid-slur #'around > > %-\tweak direction #DOWN > > -\tweak stencil #(lambda (grob) (grob-interpret-markup grob > > #{ > > \markup > > \override #'(thickness . 3) > > \draw-line #'(0 . 1) > > #})) > > \stopped > > #}) > > > > \relative c' { > > a'4^\baroqueStaccatissimo a( c d')_\baroqueStaccatissimo > > } > > > > Cheers, > > Pierre > > > > 2015-04-07 18:35 GMT+02:00 Mats Bengtsson <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=0> > > <mailto:[hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=1>>>: > > > > As a side-note, I normally typeset this articulation as a > > staccatissimo, when transcribing baroque music and as far as I > > know, it's common practice. This can at least be worth to mention > > in the comment of the snippet. > > > > /Mats > > > > > > On 2015-04-07 18:01, [hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=2> > > <mailto:[hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=3>> wrote: > > > > Hi Squad Members, > > > > Regarding this snippet: > > http://lsr.di.unimi.it/LSR/Item?id=620 > > I'm not sure about the 'font-size 3' effect; was it for the > > articulation > > line thickness? > > Anyway I'm thinking about putting a more user-friendly script. > > How about: > > > > upline = > > #(define-event-function (parser location) () > > #{ > > %% possible tweaks here, e.g: > > %-\tweak padding #1 > > %-\tweak avoid-slur #'around > > %-\tweak direction #DOWN > > -\tweak stencil #(lambda (grob) (grob-interpret-markup > grob > > #{ > > \markup > > \override #'(thickness . 3) > > \draw-line #'(0 . 1) > > #})) > > \stopped > > #}) > > > > \relative c' { > > a'4^\upline a( c d')_\upline > > } > > > > Cheers, > > Pierre > > > > > > -- > > ============================================= > > Mats Bengtsson > > Signal Processing > > School of Electrical Engineering > > Royal Institute of Technology (KTH) > > SE-100 44 STOCKHOLM > > Sweden > > Phone: (+46) 8 790 8463 <tel:%28%2B46%29%208%20790%208463> > > Email: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=4> > > <mailto:[hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=5>> > > WWW: http://www.ee.kth.se/~mabe < > http://www.ee.kth.se/%7Emabe> > > ============================================= > > > > > > _______________________________________________ > > bug-lilypond mailing list > > [hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=6> <mailto:[hidden > email] <http:///user/SendEmail.jtp?type=node&node=174231&i=7>> > > https://lists.gnu.org/mailman/listinfo/bug-lilypond > > > > > > -- > ============================================= > Mats Bengtsson > Signal Processing > School of Electrical Engineering > Royal Institute of Technology (KTH) > SE-100 44 STOCKHOLM > Sweden > Phone: (+46) 8 790 8463 > Email: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=174231&i=8> > WWW: http://www.ee.kth.se/~mabe > ============================================= > > > _______________________________________________ > bug-lilypond mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=174231&i=9> > https://lists.gnu.org/mailman/listinfo/bug-lilypond > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lilypond.1069038.n5.nabble.com/LSR-620-Vertical-line-as-a-baroque-articulation-mark-tp174135p174231.html > To start a new topic under Bugs, email > ml-node+s1069038n58488...@n5.nabble.com > To unsubscribe from Lilypond, click here > <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=> > . > NAML > <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lilypond.1069038.n5.nabble.com/LSR-620-Vertical-line-as-a-baroque-articulation-mark-tp174135p174233.html Sent from the Bugs mailing list archive at Nabble.com. _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond