lilypond-user
[Top][All Lists]
Advanced

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

Re: temporarily overriding paper variables


From: Werner LEMBERG
Subject: Re: temporarily overriding paper variables
Date: Wed, 29 Mar 2023 06:51:30 +0000 (UTC)

>> 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?

Alas, no.  It is probably related to the very situation I'm working
with, namely at the edge of the page.

Here is some code to play with.

```
\paper {
  left-margin = 0
  right-margin = 0
  top-margin = 0
  bottom-margin = 0

  oddHeaderMarkup = ##f
  evenHeaderMarkup = ##f
  oddFooterMarkup = ##f
  evenFooterMarkup = ##f

  top-markup-spacing.basic-distance = 0
  top-markup-spacing.minimum-distance = 0
  top-markup-spacing.padding = 0
  top-markup-spacing.stretchability = 0

  top-system-spacing.basic-distance = 0
  top-system-spacing.minimum-distance = 0
  top-system-spacing.padding = 0
  top-system-spacing.stretchability = 0

  markup-system-spacing.basic-distance = 0
  markup-system-spacing.minimum-distance = 0
  markup-system-spacing.padding = 2.5
  markup-system-spacing.stretchability = 0

  ragged-bottom = ##t
  ragged-last-bottom = ##t

  indent = 1\cm
}

\markup \with-dimensions #'(0 . 0) #'(0 . -2.5) \column {
  \vspace #0.55
  "foo"
}

{ f'4 }
```

I want the violin clef touch the top edge of the page.


    Werner

PNG image


reply via email to

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