[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: within \markup, how to \translate by width of another markup?
From: |
David Kastrup |
Subject: |
Re: within \markup, how to \translate by width of another markup? |
Date: |
Mon, 16 May 2022 21:15:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Werner LEMBERG <wl@gnu.org> writes:
>> Again, I have no idea what you are trying to achieve here and how
>> kerning has anything to do with it.
>
> OK. Next try.
>
> Here are the assumptions.
>
> * Numbers 0, 1, 2, ..., 9 all have a width of 100 units.
>
> * Number 10, however, has a kerning of -50 units between digits 0
> and 1, making a total width of 150 (instead of 200).
>
> * I want to stack the numbers 8, 9, 10 vertically so that the digits
> 8, 9, and 0 are properly aligned.
>
> * Single-digit numbers are left-aligned.
Why? They have equal width. Do you rather mean that the reference
point is supposed to be on the left edge? That is not a matter of
alignment. What is the alignment supposed to be if there are _only_
two-digit numbers?
> ```
> y ^
> |
> |
> |
> |
> +--------------------+
> | |
> | 10 |
> | |
> +--------------------+
> | |
> | 9 |
> | |
> +-------------+
> | |
> | 8 |
> | |
> ---------x-------------+--------------> x
> | | |
> -50 0 100
> ```
>
> As far as I can see, I have to right-align number 10, then shifting it
> to the right by the width of a single digit.
>
>
> Werner
--
David Kastrup
- within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, David Kastrup, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, David Kastrup, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, David Kastrup, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, David Kastrup, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?,
David Kastrup <=
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, David Kastrup, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/17
- Re: within \markup, how to \translate by width of another markup?, Jean Abou Samra, 2022/05/17
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/17
- Re: within \markup, how to \translate by width of another markup?, Jean Abou Samra, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Werner LEMBERG, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, Jean Abou Samra, 2022/05/16
- Re: within \markup, how to \translate by width of another markup?, David Kastrup, 2022/05/16