Re: vertical distance variables

2017-04-05 Thread tisimst
On Wed, Apr 5, 2017 at 8:09 AM, Urs Liska [via Lilypond] <
ml-node+s1069038n201962...@n5.nabble.com> wrote:
>
>
> The attached diagram might be helpful for understanding vertical spacing
> variables.
>
>
> Yes, very helpful.
> But I don't see how I can then create a fixed distance for the first
> system - as I don't know how high the title markup is.
>

The only way I'm aware of (for this very first system position) is with an
explicit vertical position statement, found here:

http://lilypond.org/doc/v2.19/Documentation/notation/explicit-staff-and-system-positioning


The down-side is that it makes the system behave more like when you use
'extra-offset, so it affects that system ONLY and none others.

The alternative would be to re-write the title markup, prefaced using
something like \with-dimensions to artificially fix its vertical size so
the first system *thinks* it's supposed to start at a specific spot.

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/vertical-distance-variables-tp201957p201963.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vertical distance variables

2017-04-05 Thread Urs Liska


Am 05.04.2017 um 16:04 schrieb tisimst:
> Hi, Urs!
>
> On Wed, Apr 5, 2017 at 7:02 AM, Urs Liska [via Lilypond] <[hidden
> email] > wrote:
>
> Hi,
>
> naively I expected this to have the title (one line) start 16 mm into
> the page and the first system at 26mm.
>
>   top-margin = 16\mm
>   top-markup-spacing =
>   #'((basic-distance . 0)
>  (stretchability . 0))
>   top-system-spacing =
>   #`((basic-distance . ,#{ 10 \mm #})
>  (stretchability . 0))
>
> But while the title thing seems reasonably accurate the top of the
> first
> system sits at 28.3 mm.
>
> Am I missing something? 
>
>
> Because you know there is the title markup first, try setting
> markup-system-spacing instead of top-system-spacing.
> top-system-spacing is only effective if there isn't a markup between
> the first system and the top-margin. Likewise, top-markup-spacing is
> only effective when there isn't a system between the first markup and
> the top-margin (such as when you end one piece and have a score title
> between it and the next one).

Ah, thanks, that makes these sentences from the NR clearer.

>
> The attached diagram might be helpful for understanding vertical
> spacing variables.

Yes, very helpful.
But I don't see how I can then create a fixed distance for the first
system - as I don't know how high the title markup is.

?

Urs
>
> HTH,
> Abraham 
>
> *vertical-spacing-paper-variables.pdf* (88K) Download Attachment
> <http://lilypond.1069038.n5.nabble.com/attachment/201961/0/vertical-spacing-paper-variables.pdf>
>
> ----
> View this message in context: Re: vertical distance variables
> <http://lilypond.1069038.n5.nabble.com/vertical-distance-variables-tp201957p201961.html>
> Sent from the User mailing list archive
> <http://lilypond.1069038.n5.nabble.com/User-f3.html> at Nabble.com.
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

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


Re: vertical distance variables

2017-04-05 Thread tisimst
Hi, Urs!

On Wed, Apr 5, 2017 at 7:02 AM, Urs Liska [via Lilypond] <
ml-node+s1069038n201957...@n5.nabble.com> wrote:

> Hi,
>
> naively I expected this to have the title (one line) start 16 mm into
> the page and the first system at 26mm.
>
>   top-margin = 16\mm
>   top-markup-spacing =
>   #'((basic-distance . 0)
>  (stretchability . 0))
>   top-system-spacing =
>   #`((basic-distance . ,#{ 10 \mm #})
>  (stretchability . 0))
>
> But while the title thing seems reasonably accurate the top of the first
> system sits at 28.3 mm.
>
> Am I missing something?
>

Because you know there is the title markup first, try setting
markup-system-spacing instead of top-system-spacing. top-system-spacing is
only effective if there isn't a markup between the first system and the
top-margin. Likewise, top-markup-spacing is only effective when there isn't
a system between the first markup and the top-margin (such as when you end
one piece and have a score title between it and the next one).

The attached diagram might be helpful for understanding vertical spacing
variables.

HTH,
Abraham


vertical-spacing-paper-variables.pdf (88K) 
<http://lilypond.1069038.n5.nabble.com/attachment/201961/0/vertical-spacing-paper-variables.pdf>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/vertical-distance-variables-tp201957p201961.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vertical distance variables

2017-04-05 Thread Urs Liska


Am 05.04.2017 um 15:07 schrieb Andrew Bernard:
> Hi Urs,
>
> Is the spacing alist really capable of taking millimetre values and
> interpreting them as such? I am surprised.

It seems. But originally I had calculated the value from the calculated
staff distance and got to the same result.
Urs

>
> Andrew
>
>
> On 5 April 2017 at 23:01, Urs Liska  > wrote:
>
>
> naively I expected this to have the title (one line) start 16 mm into
> the page and the first system at 26mm.
>
>   top-margin = 16\mm
>   top-markup-spacing =
>   #'((basic-distance . 0)
>  (stretchability . 0))
>   top-system-spacing =
>   #`((basic-distance . ,#{ 10 \mm #})
>  (stretchability . 0))
>
> But while the title thing seems reasonably accurate the top of the
> first
> system sits at 28.3 mm.
>

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

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


Re: vertical distance variables

2017-04-05 Thread Andrew Bernard
Hi Urs,

Is the spacing alist really capable of taking millimetre values and
interpreting them as such? I am surprised.

Andrew


On 5 April 2017 at 23:01, Urs Liska  wrote:

>
> naively I expected this to have the title (one line) start 16 mm into
> the page and the first system at 26mm.
>
>   top-margin = 16\mm
>   top-markup-spacing =
>   #'((basic-distance . 0)
>  (stretchability . 0))
>   top-system-spacing =
>   #`((basic-distance . ,#{ 10 \mm #})
>  (stretchability . 0))
>
> But while the title thing seems reasonably accurate the top of the first
> system sits at 28.3 mm.
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


vertical distance variables

2017-04-05 Thread Urs Liska
Hi,

naively I expected this to have the title (one line) start 16 mm into
the page and the first system at 26mm.

  top-margin = 16\mm
  top-markup-spacing =
  #'((basic-distance . 0)
 (stretchability . 0))
  top-system-spacing =
  #`((basic-distance . ,#{ 10 \mm #})
 (stretchability . 0))

But while the title thing seems reasonably accurate the top of the first
system sits at 28.3 mm.

Am I missing something?
Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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