|
From: Jouni K. S. <jk...@ik...> - 2009-05-12 10:52:31
|
Sebastian Busch <web...@th...> writes:
> I would have liked to get an aligned legend, like
>
> d = 9m
> d = 10m
>
> In order to achieve that, i was trying to print a white (=invisible) "1"
> whenever the number was smaller than 10 as spaceholder (I do not want to
> use a monospaced font).
Does the \phantom trick work? I.e., r'd = \phantom{1}9m' or something
like that?
> Obviously, this doesn't work any more as soon as you reach 20...
Even if your font is not monospaced, it might have "tabular figures":
http://www.fonts.com/aboutfonts/articles/fyti/propvstabfigures.htm
I think at least Computer Modern Roman (the default font in TeX) does
have tabular figures.
--
Jouni K. Seppänen
http://www.iki.fi/jks
|