hello list,

i wanted to include in my score a reference timeline with a tick at every
beat. the code below is the best i could come up with:

\version "2.17.18"

\new Staff = "timeline" \with {
  \remove "Bar_number_engraver"
  \remove "Time_signature_engraver"
  \remove "Clef_engraver"
  \override StaffSymbol.line-count = #1 
  \override BarLine.break-visibility = ##(#t #f #f)
}

{
  \override NoteHead.transparent = ##t
  \override NoteHead.no-ledgers = ##t
  \override Stem.length = #3.25
  \override Staff.BarLine.bar-extent = #'(-0.8125 . 0.8125)
  \override Staff.BarLine.hair-thickness = #'1.3

  \repeat unfold 20 { d''4 } \break 
  }


may be it's kludgy, but i got what i wanted: i have a stem at every beat
and a barline at the end of the line (see attached preview image).

i zoomed the pdf in inkscape to check that the lines are the same length
and width and that they are perfectly centered and aligned with the
horizontal line. 

everything looks fine except for one small detail: the stem has rounded
tips, while the barline is rectangular (see the second image).

can this be changed?


best,

lj


<<attachment: timeline.png>>

<<attachment: stem_barline.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to