lilypond-user
[Top][All Lists]
Advanced

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

Re: \woodwind-diagram shift problem


From: Pierre Perol-Schneider
Subject: Re: \woodwind-diagram shift problem
Date: Sun, 3 Nov 2019 12:09:28 +0100

Hi Jacques,
I think is due to the narrow chords and the markups layer/extents conflicts. So, not surprising.
As a workaround:

\version "2.19.82"

#(set-global-staff-size 20)

\header {
  %  title = "Saxophone fingerings"
  title = "Doigtés du saxophone"
  instrument = ""
}

\layout {
  indent = 0\cm
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
}

\paper {
  paper-width = 29.7\cm
  paper-height = 21.0\cm
  ragged-last-bottom = ##f
}

% uncomment to print all key possibilities to the log
%#(print-keys-verbose 'soprano-saxophone (current-error-port))
%#(print-keys-verbose 'saxophone (current-error-port))

{
  \clef "treble"

  \omit Staff.TimeSignature

  \hide TupletBracket
  \hide TupletNumber

  \tuplet 3/2
  {
    <fis' ges'>2-1^\markup {
      \raise #2.0
      \center-column {
        \woodwind-diagram
        #'soprano-saxophone
        #'(
            (cc . (one two three five))
            (lh . ())
            (rh . ())
            )
      }
    }

    <fis' ges'>-2^\markup {
      \raise #2.0
      \center-column {
        \woodwind-diagram
        #'soprano-saxophone
        #'(
            (cc . (one two three six))
            (lh . ())
            (rh . ())
            )
      }
    }

    <fis' ges'>-3^\markup {
      \raise #2.0
      \center-column {
        \woodwind-diagram
        #'soprano-saxophone
        #'(
            (cc . (one two three four))
            (lh . ())
            (rh . (high-fis))
            )
      }
    }
  }

  \tuplet 3/2
  {
    <fis'' ges''>2-1
    -\tweak X-offset #-2
    ^\markup\center-align  {
      \raise #2.0
      \center-column {
        \woodwind-diagram
        #'soprano-saxophone
        #'(
            (cc . (one two three five))
            (lh . (T))
            (rh . ())
            )
      }
    }

    <fis'' ges''>-2
    -\tweak X-offset #-1
    ^\markup\center-align  {
      \raise #2.0
      \center-column {
        \woodwind-diagram
        #'soprano-saxophone
        #'(
            (cc . (one two three six))
            (lh . (T))
            (rh . ())
            )
      }
    }

    <fis'' ges''>-3
    ^\markup\center-align {
      \raise #2.0
      \center-column {
        \woodwind-diagram
        #'soprano-saxophone
        #'(
            (cc . (one two three four))
            (lh . ())
            (rh . (high-fis))
            )
      }
    }
  }

}

HTH, cheers,
Pierre

Le dim. 3 nov. 2019 à 11:39, Jacques Menu <address@hidden> a écrit :
Hello folks,

In the attached sample, the diagrams in the second measure are shifted right, and the second one is much above the others.

Any hint is welcome!

JM






reply via email to

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