Re: movement in markups like TeX's `em` and `ex` units

2023-04-09 Thread Werner LEMBERG
> Consider the following snippet: > > ``` > Emaj = \markup { E \raise #1 maj } > > \markup \Emaj > > \markup \fontsize #10 \Emaj > ``` > > As can be seen, `\raise #1` is not the right value in the second > case. [...] This is now https://gitlab.com/lilypond/lilypond/-/issues/6576

Re: movement in markups like TeX's `em` and `ex` units

2023-04-07 Thread Robin Bannister
Werner LEMBERG wrote: ``` Emaj = \markup { E \raise #1 maj } \markup \Emaj \markup \fontsize #10 \Emaj ``` As can be seen, `\raise #1` is not the right value in the second case. We have \translate-scaled #'(0 . 1) for doing that. A simple-minded mouthful. Cheers, Robin

movement in markups like TeX's `em` and `ex` units

2023-04-07 Thread Werner LEMBERG
Consider the following snippet: ``` Emaj = \markup { E \raise #1 maj } \markup \Emaj \markup \fontsize #10 \Emaj ``` As can be seen, `\raise #1` is not the right value in the second case. What I would like to have instead is an equivalent to TeX's relative units `em` and `ex`, being multiples