Skip to main content

Timeline for Lilypond bar line before clef

Current License: CC BY-SA 4.0

13 events
when toggle format what by license comment
Nov 1, 2022 at 9:32 comment added Guest Perfect, thank you for the additional edit to show how to edit the stencil! I tried this before using simple commands but had no luck. Your code works as expected! Now, I can see what you meant with "slight protrusion of the bar line" (with SumatraPDF, with Adobe Reader it's fine), but that's ok so far :)
Nov 1, 2022 at 9:24 history edited Lazy CC BY-SA 4.0
added 1206 characters in body
Nov 1, 2022 at 9:16 comment added Lazy @Guest The reason for this is that while the grob property rounded exists by default the stencil for SystemStartBar does not make any use of this property. Instead you’ll need to change the stencil for the SystemStartBar althogether, as I’ll demonstrate in an edit.
Nov 1, 2022 at 8:47 comment added Guest Thank you for the information. When explicitly say \override Score.SystemStartBar.rounded = ##f lilypond ignores this. But it detects rounded as a valid field and also checks the data type. When I rename it to roundedd or so, it will yield an error. Also, if I set an other data type. So, when I explicitly disable rounded corners, it should not draw it rounded, I think. But it does, unfortunately. Can be seen also when \override Score.SystemStartBar.color = #green (assuming layer of the staff lines at lowest with \override Staff.StaffSymbol.layer = #-1).
Nov 1, 2022 at 8:12 comment added Lazy @Guest The amazin Jean has shed light on this issue on the mailing list. Basically the slight shortening of the bar line if no color is specified is done as else rounding errors can lead to a slight protrusion of the bar line beyond the staff especially on display.
Oct 31, 2022 at 16:20 comment added Guest Thank you for the help, I will consider this!
Oct 31, 2022 at 16:16 comment added Lazy @Guest Hm, the regular BarLine is indeed not rounded, but usually it is shortened by half a line thickness to each side, so the end of the Staff line will produce such a rounded effect. For some reason I do not know coloring the BarLine makes it longer so that this does not apply anymore. If you want to have the look of a BarLine you should also consider increasing \override Score.SystemStartBar.thickness = #1.9.
Oct 31, 2022 at 16:00 comment added Guest Thanks that works! Unfortunately Lilypond draws the starting bar different (rounded corners and all others without rounded corners; can be seen when colored), but I try to solve this or ask this in a new question.
Oct 31, 2022 at 15:55 history edited Lazy CC BY-SA 4.0
edited body
Oct 31, 2022 at 15:55 comment added Lazy @Guest Sorry, should of course have been #-inf.0. No idea how this got through ...
Oct 31, 2022 at 15:43 comment added Guest Thank you very much, works good after changing #-Inf.0 to #0. Otherwise I get a warning and no effect.
Oct 31, 2022 at 15:42 vote accept Guest
Oct 31, 2022 at 15:23 history answered Lazy CC BY-SA 4.0