lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Want "Fine" to be right adjacent to the 3rd beat bar line (2/2), not


From: Valentin Petzel
Subject: Re: Want "Fine" to be right adjacent to the 3rd beat bar line (2/2), not to the left
Date: Wed, 02 Feb 2022 01:27:06 +0100

Hi Ken,

Currently you are applying this tweak to the note c2. You should instead put 
the tweak command in front of the mark command to apply it to the 
RehearsalMark.

Also note that \mark is *not* and after-event, but a full music event standing 
by its own like \tempo, \time or \key. So differently to the note^”text” 
version (which produces a TextScript attached to the note) the \mark is not in 
fact attached to any note.

Cheers,
Valentin

Am Mittwoch, 2. Februar 2022, 01:19:14 CET schrieb Kenneth Wolcott:
> Hi Valentin;
> 
>   Thank you for your valiant attempt to understand past my ambiguity.
> 
>   I will attach the pdf from which I am using as an example and the
> current resultant pdf from my attempts to implement your suggestion.
> 
>   The first one is from Michael Kravchuk and contains lyrics.
> 
>   My attempt does not (yet) have lyrics.
> 
>   Please see that the "Fine" in my attempt is now too far to the right.
> 
>   Earlier it was too far to the left.
> 
>   The following is the code snippet that I am using:
> 
>   \tweak self-alignment-X #RIGHT
> %  \tweak break-visibility #begin-of-line-invisible
>   c'2.^1\mark \markup { \fontsize #4 \italic "Fine" }
> 
>   I tried the visibility line initially. With or without this line,
> the "Fine" is now too far to the right.
> 
> Thanks so much for your help,
> Ken
> 
> On Tue, Feb 1, 2022 at 12:32 AM Valentin Petzel <valentin@petzel.at> wrote:
> > Hi Ken,
> > 
> > Your screenshots are of limited use, as they fail to explain which one is
> > the behaviour you want. Thus I’ve created an example for you
> > demonstrating both.
> > 
> > \paper {
> > 
> >   ragged-right = ##f
> > 
> > }
> > 
> > {
> > 
> >   \time 3/4
> >   s2.*2 2.^\markup\italic"Fine"
> > 
> > }
> > 
> > {
> > 
> >   \time 3/4
> >   s2.*2 2.
> >   \tweak self-alignment-X #RIGHT
> >   \tweak break-visibility #begin-of-line-invisible
> >   \mark\markup\smaller\smaller\italic"Fine"
> > 
> > }
> > 
> > Cheers,
> > Valentin
> > 
> > Am Dienstag, 1. Februar 2022, 04:09:49 CET schrieb Kenneth Wolcott:
> > > HI;
> > > 
> > >   I want the "Fine" to be right adjacent to the 3rd beat bar line
> > > 
> > > (2/2), not aligned to the left (previous) bar line.
> > > 
> > >   Please see the attached screenshots.
> > > 
> > > Thanks,
> > > Ken Wolcott

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]