Re: \compressEmptyMeasures wrong position
William Rehwinkel via bug-lilypond <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
Sehr Geehrter Dietmar,
Leider hat layout-set-staff-size altbekannte Probleme. Vielleicht können
Sie vorerst das Folgende benützen... / Unfortunately
layout-set-staff-size seems to have some problems for a while. Perhaps
you can use the following workaround for now...
-William
\version "2.25.18"
#(use-modules (lily accreg)) % Akkordeon Register
staffSize = #(define-music-function (new-size) (number?)
#{
\set fontSize = #new-size
\override StaffSymbol.staff-space = #(magstep new-size)
\override StaffSymbol.thickness = #(magstep new-size)
#})
Noten = {
\relative c' {
\discant "111"
c2 d
R1*2
\discant "20"
e2 f
}
\bar "|."
}
\book {
\score {
\Noten
\layout {
%#(layout-set-staff-size 30)
\compressEmptyMeasures
\context {
\Staff
\staffSize #4
}
}
}
}
On 7/23/24 12:11, [email protected] wrote:
> Abhängig von layout-set-staff-size gibt es Fehler in der Darstellung.
>
>
>
> \version "2.24.4"
>
>
>
> #(use-modules (lily accreg)) % Akkordeon Register
>
>
>
> Noten = {
>
> \relative c' {
>
> \discant "111"
>
> c2 d
>
> R1*2
>
> \discant "20"
>
> e2 f
>
> }
>
> \bar "|."
>
> }
>
> \book {
>
> \header {
>
> title = "Mehrtaktpause und Register richtig"
>
> }
>
> \score {
>
> \layout {
>
> #(layout-set-staff-size 20)
>
> \compressEmptyMeasures
>
> }
>
> \Noten
>
> }
>
> }
>
> \book {
>
> \header {
>
> title = "Mehrtaktpause und Register falsch"
>
> }
>
> \score {
>
> \layout {
>
> #(layout-set-staff-size 30)
>
> \compressEmptyMeasures
>
> }
>
> \Noten
>
> }
>
> }
>
>
>
> Im Anhang sind die beiden PDF-Dateien, richtig und falsch.
>
> In meiner Datei trat der Fehler allerdings schon bei #(layout-set-staff-size
> 20) auf.
>
> Hier habe ich es mit 30 versucht, bei 22 ist es jedoch schon zu erkennen.
>
>
>
> Viele Grüße
>
> Dietmar Viertel
>
--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
[email protected] - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt
OpenPGP_signature.asc
(application/pgp-signature, 236 B)
-----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQSfSRZf60f2Pqe+dK9V/o+Z3XE9IAUCZp/gJwUDAAAAAAAKCRBV/o+Z3XE9IIDY AQDUy92RGYr7SEenQ9zvU0IaRwGRpMnn408/QhEFA48sUwEAtdz+Pdeb2jLHDLK8lraNekU+lqoL XNozdwyweZJmGQQ= =Y4dg -----END PGP SIGNATURE-----