lilypond-user
[Top][All Lists]
Advanced

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

Re: Place text next to rehearsal mark, or with left edge over barline if


From: Jacques Menu Muzhic
Subject: Re: Place text next to rehearsal mark, or with left edge over barline if there is none
Date: Sun, 9 Jul 2017 18:30:42 +0200

And this one for the second issue:


\version "2.19.44"


\paper {
  % First page spacing after header
  markup-system-spacing.padding = #6

  % Subsequent page spacing after header
  top-system-spacing.minimum-distance = #18

  % Spacing in between systems
  system-system-spacing.minimum-distance = #12
}

\header {
  title = \markup { \fontsize #-0.5 \bold "Something"}
  poet = "Another thing"
}

\relative c' {
  \clef treble
  \key e \minor
  \time 3/4
  \tempo 4 = 200
  \set Score.markFormatter = #format-mark-box-alphabet

  % Introduction
  \mark #9
  \once \override TextScript.outside-staff-priority = #2000
  \once \override TextScript.extra-offset = #'(-4 . 3)
  r8^\markup { IABACA } b' d g b d |
  c8 b a g a g |
  c8 b a g a g |
  c8 b a g a g |
  c8 b a g a g |
}


JM


> Le 9 juil. 2017 à 18:29, Jacques Menu Muzhic <address@hidden> a écrit :
> 
> Hello caagr98,
> 
> The second score in the example below can help you solve the first issue.
> 
> JM.
> 
> 
> 
> 
> \version "2.17.19"
> 
> {
>  \markLengthOn
>  \mark\default
>  \tempo "This is a really long tempo mark"
>  c''4 d'' e'' f''
>  \mark\default \tempo 4=60
>  g'' 1
> }
> 
> 
> 
> \score {
>  <<
>    \new MarkLine {
>      \mark \default
>      \tempo \markup "This is a really long long tempo mark"
>      s1
>      \mark \default
>      \tempo 4=60
>      s1
>    }
>    \new Staff {
>      c''4 d'' e'' f''
>      g'' 1
>    }
>>> 
>  \layout {
>    \context {
>      \name "MarkLine"
>      \type "Engraver_group"
>      \consists Axis_group_engraver
>      \consists Output_property_engraver
>      \consists Mark_engraver
>      \consists Metronome_mark_engraver
>      \consists Text_spanner_engraver
>      \consists Time_signature_engraver
>      \override TimeSignature #'stencil = #point-stencil
>      \override MetronomeMark #'Y-offset = #0
>      \override RehearsalMark #'Y-offset = #0
>      \override RehearsalMark #'extra-spacing-width = #'(0 . 0.5)
>      \override MetronomeMark #'extra-spacing-width = #'(0 . 1.5)
>      \override VerticalAxisGroup #'staff-staff-spacing = #'((padding . 1))
>    }
>    \context {
>      \Score
>      \remove Metronome_mark_engraver
>      \remove Mark_engraver
>      \accepts MarkLine
>    }
>  }
> }
> 
> 
> 
>> Le 9 juil. 2017 à 18:24, address@hidden a écrit :
>> 
>> As you can see on the screenshot, both texts are misaligned. The first one, 
>> a \tempo, is placed *under* the rehearsal mark instead of next to it. The 
>> second one, the name of a song, is too far too the right, since it's 
>> attached to the note instead of the barline (it's a <>^"").
>> 
>> How can I move the texts to be next to the rehearsal mark (without manual 
>> adjustments)?
>> 
>> And is there a version of <>^"" that is attached to a moment instead of a 
>> note, to be more semantically correct? I think \mark is supposed to do that, 
>> but it only supports one mark at a time.
>> <2017-07-09_18-13-35.png>_______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 




reply via email to

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