lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \unset in paper block


From: Werner LEMBERG
Subject: Re: \unset in paper block
Date: Mon, 05 Aug 2019 14:58:12 +0200 (CEST)

> I wonder whether it is possible to use \unset in the paper block.
> The use-case is lyluatex, which sets `left-margin'; I want to unset
> this value so that lilypond only takes the line width into account
> to automatically center it.
> 
> In other words, I would like to have
> 
>    % from lyluatex
>    \paper {
>      left-margin = 100\pt
>      line-width = 200\pt
>    }
> 
>    ...
> 
>    % user code
>    \paper {
>      \unset left-margin
>    }

To ask differently: In file `paper.scm' I can see

    (module-remove! m 'line-width)

to remove `line-width'; I now wonder what value for `m' I have to
use...


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]