[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #vspace not working after text?
From: |
Thomas Morley |
Subject: |
Re: #vspace not working after text? |
Date: |
Tue, 2 Oct 2018 02:17:55 +0200 |
Hi,
Am Di., 2. Okt. 2018 um 01:59 Uhr schrieb Tom Campbell <address@hidden>:
>
> 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?
I'm not sure what you want to achieve.
Nevertheless you could visualize what you've done. I.e. add \box
>
> #(define-markup-command (headerThree layout props text)
> (markup?)
> "Create a level 3 header"
> (interpret-markup layout props
> #{
> \markup
\box
{
> \fontsize #1
> \line \bold \sans { #text }
> \vspace #4
> }
> #}))
\markup \headerThree "xy"
Note, word-space and box-pdding will now have some impact. So the
visualisation is not perfect, but probably gets you started.
Cheers,
Harm