Re: Footnote separator line
On Wed, Oct 11, 2017 at 8:58 AM, Malte Meynwrote: > > > Am 11.10.2017 um 14:55 schrieb Malte Meyn: > >> >> >> Am 11.10.2017 um 14:42 schrieb Jan-Peter Voigt: >> >>> Hi fellows, >>> >>> I have a footnote in a score. This footnote is separated by a centered >>> horizontal line. Is there a possibility to remove it or adjust formatting? >>> >>> TIA >>> Jan-Peter >>> >> >> \paper { >>footnote-separator-markup = ##f >> } >> > > This should be documented. At the moment, it isn’t mentioned anywhere a > normal user can find it: > > $ git grep footnote-separator-markup > lily/page-layout-problem.cc: SCM markup = paper->c_variable > ("footnote-separator-markup"); > ly/paper-defaults-init.ly: footnote-separator-markup = \markup > \fill-line { \override #'(span-factor . 1/2) \draw-hline } > $ > > CC to bug list. > Greetings, Malte Meyne - Thanks for the email. This has been submitted as Issue #5218 Footnote separator line. Ralph ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Only one laissezVibrer tie in a chord - possibly?
On 10/20/2017 4:52 PM, Michael Gerdau wrote: Hi list, I have a chord with \laissezVibrer attached and I want only one of ties: %% snip - snip - snip \version "2.19.65" {\laissezVibrer } %% snip - snip - snip I want e.g. only the tie from c' (and/or only from g') but not both. I'm kind of sure this should be possible in lilypond (as more or less everything is possible ;) but I'm lacking the magic incantation. I'd be happy if someone could help me out. Thank you, Michael It would appear that you could also just do this: { } I don't use this command often, so my memory immediately went to a snippet I first encountered a while back. Sorry for any confusion. Good luck! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Only one laissezVibrer tie in a chord - possibly?
On 10/20/2017 4:52 PM, Michael Gerdau wrote: Hi list, I have a chord with \laissezVibrer attached and I want only one of ties: %% snip - snip - snip \version "2.19.65" {\laissezVibrer } %% snip - snip - snip I want e.g. only the tie from c' (and/or only from g') but not both. I'm kind of sure this should be possible in lilypond (as more or less everything is possible ;) but I'm lacking the magic incantation. I'd be happy if someone could help me out. Thank you, Michael Hi Michael, I use this snippet when I need a single lv in a chord...this what you're looking for? Just a starting point... (see attached) (taken from http://lsr.di.unimi.it/LSR/Item?id=714) %% \version "2.19.80" %% http://lsr.di.unimi.it/LSR/Item?id=714 %% see also http://lilypond.org/doc/v2.18/Documentation/notation/writing-rhythms#ties %LSR after a mail from Robin Bannister http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00344.html % laissezVibrer using feta char overlay: dir: UP or DOWN (or pad per magnitude) #(define (flvSt dir) (lambda (grob) (define dirsign (if (positive? dir) + -) ) (let* ((pos (ly:grob-property grob 'staff-position)) (height (if (odd? pos) +0.8 +0.55)) (angle +90)) (ly:stencil-combine-at-edge (ly:note-head::print grob) 0 1 (grob-interpret-markup grob (markup #:with-dimensions '(0 . 0) '(0 . 0) #:concat (#:hspace (abs dir) #:raise (dirsign height) #:rotate (dirsign angle) #:musicglyph "accidentals.rightparen" ))) 0 flvUP = \once \override NoteHead.stencil = #(flvSt UP) flvDOWN = \once \override NoteHead.stencil = #(flvSt DOWN) % or \tweak stencil ___ditto %% Remark: %% change next two definitions to the commented ones during LSR 2.20-upgrade flvUPtw = #(define-music-function (parser location mus) (ly:music?) #{ \tweak stencil #(flvSt UP) $mus #}) flvDOWNtw = #(define-music-function (parser location mus) (ly:music?) #{ \tweak stencil #(flvSt DOWN) $mus #}) %% flvUPtw = \tweak stencil #(flvSt UP) \etc %% flvDOWNtw = \tweak stencil #(flvSt DOWN) \etc \relative c' { <\flvDOWNtw a e'>4 s } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Only one laissezVibrer tie in a chord - possibly?
Hi list, I have a chord with \laissezVibrer attached and I want only one of ties: %% snip - snip - snip \version "2.19.65" {\laissezVibrer } %% snip - snip - snip I want e.g. only the tie from c' (and/or only from g') but not both. I'm kind of sure this should be possible in lilypond (as more or less everything is possible ;) but I'm lacking the magic incantation. I'd be happy if someone could help me out. Thank you, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public keyserver signature.asc Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)
On 10/19/2017 4:48 PM, SoundsFromSound wrote: Did you try my suggestion from earlier in the thread, did it help in Thunderbird? Just now; we'll see what happens. But since Thunderbird is out of the picture after the message arrives at smtp.gmail.com... dunno. We'll see. -- Karlin High Missouri, USA ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: extending event-listener.ly to include a (numerical) voice id
Maurits Lamerswrites: >> Op 20 okt. 2017, om 18:32 heeft David Kastrup het >> volgende geschreven: >> >> Maurits Lamers > >> writes: >> >>> I can retrieve the retrieve that name through (ly:context-id >>> (ly:translator-context engraver)). >>> When the voice is defined in an anonymous way context-id is an empty >>> string. >>> I have been trying to set the context-id when none is set using a >>> counter, but that fails because of an "missing typecheck for property >>> 'context-id'" error. >>> I tried to use both a normal list as well as an asoc list to keep >>> track of the different Voice contexts in order to tell them apart but >>> I haven't been able to get that to work. >>> >>> I know that when lyrics are added, it is possible to refer to those >>> anonymous voices by using "1" etc. >> >> That's nonsense. Voices in a << ... \\ ... \\ >> construct are not >> anonymous but named "1", "2", "3" by default, and you can refer to >> those. But this has nothing whatsoever to do with lyrics. > > But those values are not retrievable through (ly:context-id context), are > they? They are. LilyPond just does the equivalent of << \context Voice = "1" ... \context Voice = "2" ... \context Voice = "3" >> But this is just ad-hoc for a << \\ \\ >> construct. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: extending event-listener.ly to include a (numerical) voice id
> Op 20 okt. 2017, om 18:32 heeft David Kastruphet volgende > geschreven: > > Maurits Lamers > > writes: > >> Hi all, >> >> I am trying to extend the default event-listener.ly to also include >> information about in which voice a specific note is being played. >> When the voice is defined using >> >> \new Voice = voicename >> >> I can retrieve the retrieve that name through (ly:context-id >> (ly:translator-context engraver)). >> When the voice is defined in an anonymous way context-id is an empty string. >> I have been trying to set the context-id when none is set using a >> counter, but that fails because of an "missing typecheck for property >> 'context-id'" error. >> I tried to use both a normal list as well as an asoc list to keep >> track of the different Voice contexts in order to tell them apart but >> I haven't been able to get that to work. >> >> I know that when lyrics are added, it is possible to refer to those >> anonymous voices by using "1" etc. > > That's nonsense. Voices in a << ... \\ ... \\ >> construct are not > anonymous but named "1", "2", "3" by default, and you can refer to > those. But this has nothing whatsoever to do with lyrics. But those values are not retrievable through (ly:context-id context), are they? >> I would like to be able to mark a voice in Scheme in such a way that I >> can print to which voice a certain note belongs. Could anyone give a >> clue on how to achieve that? > > Contexts are objects with identity. You can just create something like > > (define context-id (make-object-property)) > > And then you can set! and fetch (context-id ctx). That works perfect indeed. Thanks a lot! cheers Maurits ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: extending event-listener.ly to include a (numerical) voice id
Maurits Lamerswrites: > Hi all, > > I am trying to extend the default event-listener.ly to also include > information about in which voice a specific note is being played. > When the voice is defined using > > \new Voice = voicename > > I can retrieve the retrieve that name through (ly:context-id > (ly:translator-context engraver)). > When the voice is defined in an anonymous way context-id is an empty string. > I have been trying to set the context-id when none is set using a > counter, but that fails because of an "missing typecheck for property > 'context-id'" error. > I tried to use both a normal list as well as an asoc list to keep > track of the different Voice contexts in order to tell them apart but > I haven't been able to get that to work. > > I know that when lyrics are added, it is possible to refer to those > anonymous voices by using "1" etc. That's nonsense. Voices in a << ... \\ ... \\ >> construct are not anonymous but named "1", "2", "3" by default, and you can refer to those. But this has nothing whatsoever to do with lyrics. > I would like to be able to mark a voice in Scheme in such a way that I > can print to which voice a certain note belongs. Could anyone give a > clue on how to achieve that? Contexts are objects with identity. You can just create something like (define context-id (make-object-property)) And then you can set! and fetch (context-id ctx). -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
extending event-listener.ly to include a (numerical) voice id
Hi all, I am trying to extend the default event-listener.ly to also include information about in which voice a specific note is being played. When the voice is defined using \new Voice = voicename I can retrieve the retrieve that name through (ly:context-id (ly:translator-context engraver)). When the voice is defined in an anonymous way context-id is an empty string. I have been trying to set the context-id when none is set using a counter, but that fails because of an "missing typecheck for property 'context-id'" error. I tried to use both a normal list as well as an asoc list to keep track of the different Voice contexts in order to tell them apart but I haven't been able to get that to work. I know that when lyrics are added, it is possible to refer to those anonymous voices by using "1" etc. Looking through the code which does this (lily/lyric-combine-music-iterator.cc), I gather that the lyrics adding process searches for the a voice matching a certain id. I would like to be able to mark a voice in Scheme in such a way that I can print to which voice a certain note belongs. Could anyone give a clue on how to achieve that? Thanks in advance! Maurits ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user