-Eluze schrieb: > David Kastrup wrote: > > Hannes Kuhnert <hannes.kuhn...@gmx.de> writes: > >> I’m sometimes using half length bar lines that way: > >> | pipeSymbol = { > >> | > >> | \once \override Staff.BarLine #'bar-size = #2 > >> | \once \override Staff.BarLine #'extra-offset = #'(0 . 1) > >> | \bar "|" > >> | > >> | } > >> > >> and within the voice contect: > >> | \set Timing.defaultBarType="pipeSymbol" > >> > >> Then it’s possible to manually set bar lines with “|”.
> >> How can I get custom styled automatic bar > >> lines? > > > > Just use the overrides in the above definition, but without \once ? Thanks! I tried something like that before, but made a mistake. Within the voice section | \override Staff.BarLine #'bar-size = #2 | \override Staff.BarLine #'extra-offset = #'(0 . 1) works, but inside of \layout { \context { \Staff … } } of course it has to be | \override BarLine #'bar-size = #2 | \override BarLine #'extra-offset = #'(0 . 1) But that changes the style of repeat marks and \bar "|.", too, which isn’t intended. Is it possible to change the style of the automatic bar lines only? I don’t think that my objective is too special—at least I’ve got several sources of music printed that way—so I’m wondering why I couldn’t find a solution on the LSR. > newer versions use \override Staff.BarLine #'bar-extent = #'(-1 . 1) iso > bar-size It’s annoying, that there are Linux distributions with half-yearly release cycle, that stick with old versions of LilyPond and even older ones of TeX. But I really like DPKG and APT, so I would be grateful if anyone could give me a hint on updating LilyPond on that basis. Hannes _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user