[luatex] LuaTeX and LuaLaTeX logos
Diederick C. Niehorster
dcnieho at gmail.com
Fri Apr 9 04:52:08 CEST 2010
Forwarded to Andrew Moschou who maintains the metalogo package.
Best,
Dee
On Fri, Apr 9, 2010 at 10:30 AM, Heiko Oberdiek
<heiko.oberdiek at googlemail.com> wrote:
> On Wed, Mar 10, 2010 at 10:54:58AM +0100, Heiko Oberdiek wrote:
>
>> A variant that tries the implicite kernings in the order of
>> `aT', `oT', `To'. Also the code is compatible to plain-TeX:
>
> Hans mailed me that positive kernings might happen.
> Then I think, the model doesn't fit and the fixed
> macro does not apply a kerning correction:
>
> \def\LuaTeX{%
> \begingroup
> Lua%
> \setbox0\hbox{aT}%
> \setbox2\hbox{a\kern0ptT}%
> \dimen0=\wd0 %
> \advance\dimen0 by -\wd2 %
> \ifdim\dimen0=0pt %
> \setbox0\hbox{oT}%
> \setbox2\hbox{o\kern0ptT}%
> \dimen0=\wd0 %
> \advance\dimen0 by -\wd2 %
> \ifdim\dimen0=0pt %
> \setbox0\hbox{To}%
> \setbox2\hbox{T\kern0pto}%
> \dimen0=\wd0 %
> \advance\dimen0 by -\wd2 %
> \fi
> \ifdim\dimen0<0pt %
> \kern\dimen0 %
> \fi
> \fi
> \TeX
> \endgroup
> }
>
> Yours sincerely
> Heiko Oberdiek
>
More information about the luatex
mailing list