lilypond-user
[Top][All Lists]
Advanced

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

Re: #vspace not working after text?


From: David Kastrup
Subject: Re: #vspace not working after text?
Date: Tue, 02 Oct 2018 09:18:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Tom Campbell <address@hidden> writes:

> I want vertical space to occur after a heading. But it seems that the
> following still puts the space before it, or am I going insane?
>
> #(define-markup-command (headerThree layout props text)
> (markup?)
>   "Create a level 3 header"
>   (interpret-markup layout props
> #{
> \markup {
> \fontsize #1
> \line \bold \sans { #text }
> \vspace #4
> }
> #}))

It's not as much a matter of before or behind.  It's in the same line
(the contents of a \markup are wrapped in an implicit \line).  You may
want to wrap your combined markup in a \column or other inherently
vertical construct rather than the default horizontal \line.

-- 
David Kastrup



reply via email to

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