[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to refer to partial first bar using edition-engraver
From: |
Jan-Peter Voigt |
Subject: |
Re: how to refer to partial first bar using edition-engraver |
Date: |
Mon, 23 Jul 2018 16:27:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello Mason,
once again I have to dive deep into this. It is an issue I thought it
was solved, but obviously it isn't. The right way to address a time in a
partial bar would be
\editionMod all 1 #(ly:make-moment -1/8) score.Score \mark "mark3"
but this doesn't work here (anymore) ... I hope to find the solution soon!
Cheers,
Jan-Peter
Am 23.07.2018 um 00:09 schrieb Mason Hock:
> I have a score beginning with an 8th note pickup and want to place a \mark
> above the first note using edition-engraver. Edition-engraver appears to
> consider the first complete bar to be bar "1" and the timing mark "2 0/4"
> places tweaks at the beginning of the second complete bar. Therefore, my
> instinct was to use "0 7/8" for the bar/beat timing, but nothing appeared
> whether I used \mark or \markup. Next I tried "0 0/4" and got the same
> result. Interestingly, "1 0/4" places a \markup above the first complete bar,
> which is what I expected, but it places \mark in two locations, over the
> first note and over the clef. Placing a \mark over the first complete bar
> directly in the music, as opposed to using edition-engraver, places it as
> expected.
>
> What is the correct way to place an editionMod in a partial bar? Here is a
> minimal example of the resutls described above:
>
> ----------------------------------------------------------
> \version "2.21.0"
>
> \include "oll-core/package.ily"
> \loadPackage edition-engraver
>
> \editionMod all 2 0/4 score.staff.Voice ->
> \editionMod all 2 0/4 score.staff.Voice \f
> \editionMod all 0 0/4 score.Score ^\markup { "markup1" }
> \editionMod all 0 0/4 score.Score \mark "mark1"
> \editionMod all 0 7/8 score.Score ^\markup { "markup2" }
> \editionMod all 0 7/8 score.Score \mark "mark2"
> \editionMod all 1 0/4 score.Score ^\markup { "markup3" }
> \editionMod all 1 0/4 score.Score \mark "mark3"
>
> \consistToContexts #edition-engraver Score.Staff.Voice
> \addEdition all
>
> \score {
> <<
> \new Staff \with { \editionID staff }
> \relative c' {
> \partial 8 d8 |
> d4\mark "mark4" d d d |
> d d d d
> }
> >>
> \layout {
> indent = 18\mm
> \context {
> \Score
> \editionID score
> }
> }
> }
> ----------------------------------------------------------
>
> Thanks,
>
> Mason
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>