> IIRC these assignments in \paper and \layout and \header blocks are
> functionally equivalent to defining a variable in Scheme like
> 
> #(define left-margin 100)

Yes.

> The kind of \unset you’re asking for requires the previous value to
> have been saved onto some stack, which I doubt exists/is accessible
> here.

Ah, ok.  Makes sense.  I've read that some Scheme dialects provide
means to undefine variables (on the top-level, that is); Guile
apparently does not.

> Maybe you could work around by calculating left-margin and
> right-margin:
> 
> \paper {
>   left-margin = #(/ (- paper-width line-width) 2)
>   right-margin = #left-margin
> }

D'oh, thanks!


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

Reply via email to