[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: temporarily overriding paper variables
From: |
Aaron Hill |
Subject: |
Re: temporarily overriding paper variables |
Date: |
Tue, 28 Mar 2023 13:16:39 -0700 |
On 2023-03-28 8:26 am, Werner LEMBERG wrote:
It would be cool if this worked some day. However, the next best
thing would probably be to allow negative widths and heights for
`\markup` boxes (if set with `\with-dimensions` and friends).
Was messing about a bit. Does this work on your side?
%%%%
\version "2.22.0"
\paper {
score-markup-spacing =
#'((basic-distance . 0) (minimum-distance . 0)
(padding . 4) (stretchability . 0))
markup-system-spacing =
#'((basic-distance . 0) (minimum-distance . 0)
(padding . 4) (stretchability . 0))
}
\score { { b'4 } \layout { indent = 0 } }
\markup
\with-color #green \filled-box #'(0 . 10) #'(0 . 5) #0
\score { { b'4 } \layout { indent = 0 } }
\markup
\with-dimensions #'(0 . 0) #'(-1 . -4)
\general-align #Y #UP
\with-color #red \filled-box #'(0 . 10) #'(0 . 5) #0
\score { { b'4 } \layout { indent = 0 } }
%%%%
-- Aaron Hill
top-level-markup-spacing.png
Description: PNG image
- temporarily overriding paper variables, Werner LEMBERG, 2023/03/28
- Re: temporarily overriding paper variables, Jean Abou Samra, 2023/03/28
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/28
- Re: temporarily overriding paper variables, David Kastrup, 2023/03/28
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/28
- Re: temporarily overriding paper variables, Aaron Hill, 2023/03/28
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/28
- Re: temporarily overriding paper variables, David Kastrup, 2023/03/28
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/28
- Re: temporarily overriding paper variables, David Kastrup, 2023/03/28
- Re: temporarily overriding paper variables,
Aaron Hill <=
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/29
- Re: temporarily overriding paper variables, Aaron Hill, 2023/03/29
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/29
- Re: temporarily overriding paper variables, Aaron Hill, 2023/03/29
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/29
- Re: temporarily overriding paper variables, Jean Abou Samra, 2023/03/29
- Re: temporarily overriding paper variables, David Kastrup, 2023/03/29
- Re: temporarily overriding paper variables, Werner LEMBERG, 2023/03/29