lilypond-user
[Top][All Lists]
Advanced

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

Re: \context Bottom


From: David Kastrup
Subject: Re: \context Bottom
Date: Wed, 17 Aug 2016 12:49:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> What exactly is \context Bottom?
>
> I  got it in a function originating from a suggestion by David Kastrup:
>
> \version "2.19.45"
>
> % Thanks to David Kastrup for the inspiration!
> after =
> #(define-music-function (t e m) (ly:duration? ly:music? ly:music?)
>    #{
>      \context Bottom <<
>        #m
>        { \skip $t <> -\tweak extra-spacing-width #empty-interval $e }
>      >>
>    #})
>
> { \after 4 \< \after 2 \> \after 2. \! c'1 }
>
> but I can't find any documentation for a "Bottom" context.
> I have an idea what it is, but would like to have a real explanation.

<http://lilypond.org/doc/v2.19/Documentation/notation/context-layout-order#index-contexts_002c-implicit>

The idea of \context Bottom here is to avoid creating separate contexts
for both expressions inside of the << >> which could lead to two Voice
contexts or even two Staff contexts.

-- 
David Kastrup



reply via email to

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