From: David Kastrup Date: Fri, 9 Aug 2013 16:55:12 +0000 (+0200) Subject: Make regtest for shorthands (Issue 3487) X-Git-Tag: release/2.17.25-1~13^2~6^2 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=65e12a858de67b4d061c9fb595b81024fe22c6cf;p=lilypond.git Make regtest for shorthands (Issue 3487) --- diff --git a/input/regression/shorthands.ly b/input/regression/shorthands.ly new file mode 100644 index 0000000000..e1a7af5934 --- /dev/null +++ b/input/regression/shorthands.ly @@ -0,0 +1,28 @@ +\version "2.17.25" + +\header { + +texidoc = "A number of shorthands like @code{(}, @code{)}, @code{|}, +@code{[}, @code{]}, @code{~}, @code{\\(}, @code{\\)} and others can be +redefined like normal commands. @file{ly/declarations-init.ly} serves +as a regtest for a number of them. This test just demonstrates +replacing @code{(} and @code{)} with melismata commands which are +@emph{not} articulations." + +} + +\layout { ragged-right = ##t } + +"\\{" = ( +"\\}" = ) +"(" = \melisma +")" = \melismaEnd + +\new Staff << + \relative c' { + c8 \{ d e f \} % slurred + g ( a b c ) % no slur, but with melisma + c,1 \bar "|." + } + \addlyrics { Li -- ly -- pond. } +>>