Le samedi 11 février 2023 à 22:14 +0100, Valentin Petzel a écrit :

> 2) Instead of using such a parallel global thing with \hide BarLine we can  
> achieve the same effect by doing
> 
> \version "2.24.0"
> 
> \layout {  
>   \override Staff.BarLine.stencil =  
>   #(grob-transformer 'stencil  
>                      (lambda (grob orig)  
>                        (let ((type (ly:grob-property grob 'glyph)))  
>                          (if (equal? type "|")  
>                              empty-stencil  
>                              orig))))  


I just remembered that LilyPond 2.24 has a dedicated bar type
for that.

```
\layout {
  \context {
    \Score
    measureBarType = "-span|"
  }
}
```

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to