lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Taille des hampes


From: Vincent Gay
Subject: Re: Taille des hampes
Date: Fri, 8 Apr 2022 22:47:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

C'est plus joli comme ça !

La solution est de ne pas passer par layout-set-staff-size mais par fontsize et \override StaffSymbol.staff-space.
De plus il ne faut pas utiliser \stopStaff sinon override StaffSymbol.staff-space ne fonctionne. Je l'ai remplacé par \override Staff.StaffSymbol.line-count = #0 et \override Score.BarLine.break-visibility = ##(#f #f #f)



\version "2.22.2"

swingMark = \markup  {
  \score {
    \new Staff \with {
      instrumentName = \markup \fontsize #2  Swing
      fontSize = #-1
      \override StaffSymbol.staff-space = #(magstep -2)
    }
    \relative c'' {
      a8[ 8]
      \once \override TextScript #'extra-offset = #'( -0.7 . -1.8 )
      s2^\markup " = " \tuplet 3/2 { 4 8 } }
    \layout {
      line-width = #23
      indent = #1
      \omit Staff.Clef
      \omit Staff.TimeSignature
      \omit Staff.KeySignature
      \override Staff.StaffSymbol.line-count = #0
      \override Score.BarLine.break-visibility = ##(#f #f #f)
    }
  }
}

\header {
  meter = \swingMark
}

\repeat unfold 4 { c''1 }
-- 
Vincent Gay
Envoyé depuis mon saxo-phone :)
https://myrealbook.vintherine.org/ - http://photos.vintherine.org/

reply via email to

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