lilypond-user
[Top][All Lists]
Advanced

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

Stem length at a fixed height


From: Pierre Perol-Schneider
Subject: Stem length at a fixed height
Date: Thu, 5 Mar 2015 18:46:37 +0100

Hi,

In a tablature, full notation, I need to get the stem length at the same level as the predefined beam position.
Today I use a workaround that gives a bunch of warnings:

\version "2.18.2"

myMusic = \transpose c c, {
  \key ees\major
  \tag myStaff { ees8 ees16 f f f aes8~ aes4 aes8 g16 f }
  % => here's a workaround, using brackets, but gives warnings:
  \tag myTab { ees8 ees16 f f[ f aes8~ aes4 aes8 g16 f] }
}

\score {
  \new StaffGroup <<
    \new Staff \keepWithTag myStaff \myMusic
    \new TabStaff \keepWithTag myTab \myMusic
  >>
  \layout {
    \context {
      \Staff
      \clef "F_8"
      \numericTimeSignature
    }
    \context {
      \TabStaff
      stringTunings = #bass-tuning
      \clef "moderntab"
      \tabFullNotation
      \stemDown
      \override Beam.positions = #'(-3.5 . -3.5)
      \omit TimeSignature
      \omit TextScript
    }
  }
}


Has anyone a brilliant idea to fix that ?

TIA,
Pierre

reply via email to

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