|
From: | Lukas-Fabian Moser |
Subject: | Re: slurs and ties to end of bar |
Date: | Thu, 18 Jul 2019 12:47:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Hi Werner,
What I imagine is a possibility to specify `front matter' and `back matter' that gets processed but not displayed, for example \relative c' { \frontmatter { f4( } g a b c \backmatter { d) } } which should be handled as \relative c' { \partial 4 f4( \break g a b c \break d) } with the first and third line thrown away. Something like that would be extremely helpful for chords with many ties, like in piano music.
A truly ugly hack: \version "2.19.81" frontmatter = #(define-music-function (mus) (ly:music?) #{ \omit Score.Clef \omit Score.TimeSignature \stopStaff \hideNotes #mus \bar "|" \set Timing.measurePosition = #(ly:make-moment 0) \unHideNotes \startStaff #} ) backmatter = #(define-music-function (mus) (ly:music?) #{ \stopStaff \hideNotes #mus #} ) \relative c' { \frontmatter { <f a>4~( } <f a> g a b c~ \backmatter { c) } }One of the many drawbacks being that the hidden music takes up space. (Which, funnily enough, is in fact no problem in _my_ workflow, since I always use Frescobaldi's auto-trim feature for copying the music examples into my LibreOffice documents.)
Best Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |