[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Title Position Off
From: |
Aaron Hill |
Subject: |
Re: Title Position Off |
Date: |
Mon, 21 Jan 2019 17:13:06 -0800 |
User-agent: |
Roundcube Webmail/1.3.8 |
On 2019-01-21 4:35 pm, Aaron Hill wrote:
%%%%
\version "2.19.82"
#(define-markup-command (faux-raise layout props amount arg) (number?
markup?)
(let* ((sten (interpret-markup layout props arg))
(xex (ly:stencil-extent sten X))
(yex (ly:stencil-extent sten Y)))
(interpret-markup layout props
(markup #:with-dimensions xex yex (#:raise amount arg)))))
\markup { Some \faux-raise #1 "\faux-raised" "text" }
\markup { Some \raise #1 "\raised" "text" }
\markup { Some \raise #1 "\raised" "text" }
\markup { Some \faux-raise #1 "\faux-raised" "text" }
%%%%
I forgot \with-dimensions-from was a thing:
%%%%
#(define-markup-command (faux-raise layout props amount arg) (number?
markup?)
(interpret-markup layout props
(markup #:with-dimensions-from arg (#:raise amount arg))))
%%%%
-- Aaron Hill
- Title Position Off, Reggie, 2019/01/21
- Re: Title Position Off, Kieren MacMillan, 2019/01/21
- Re: Title Position Off, Reggie, 2019/01/21
- Re: Title Position Off, Karlin High, 2019/01/21
- Re: Title Position Off, Reggie, 2019/01/21
- Re: Title Position Off, Karlin High, 2019/01/21
- Re: Title Position Off, Aaron Hill, 2019/01/21
- Re: Title Position Off,
Aaron Hill <=
- Re: Title Position Off, Lukas-Fabian Moser, 2019/01/22
- Re: Title Position Off, Reggie, 2019/01/21
- Re: Title Position Off, Kieren MacMillan, 2019/01/21
- Re: Title Position Off, Kieren MacMillan, 2019/01/21
- Re: Title Position Off, Reggie, 2019/01/21
- Re: Title Position Off, Kieren MacMillan, 2019/01/21
- Re: Title Position Off, Aaron Hill, 2019/01/21
Re: Title Position Off, Reggie, 2019/01/21