[XeTeX] E not lowered in \TeX in .995
Jon Breitenbucher
kahless at mac.com
Thu Aug 24 17:54:22 CEST 2006
Here it is with old at top and new at bottom.
%\newcommand*\TeXlogospacing[5]{%
% \DeclareRobustCommand\TeX{%
% \leavevmode
% \smash{%
% T\kern#1
% \lower#3\hbox{E}\kern#2 X}%
% \spacefactor1000\relax}
% \DeclareRobustCommand{\LaTeX}{%
% \leavevmode
% \smash{
% L\kern#4%
% {\sbox\z@ T%
% \vbox to\ht\z@{\hbox{\check at mathfonts
% \fontsize\sf at size\z@
% \math at fontsfalse\selectfont
% A}%
% \vss}%
% }%
% \kern#5%
% \TeX}}
% \DeclareRobustCommand\XeTeX{%
% \leavevmode
% \smash{%
% X\lower #3
% \hbox{\kern #2
% \ifnum\XeTeXcharglyph"018E > 0
% \char"018E\relax
% \else\ifdim\fontdimen1\font=0pt
% \reflectbox{E}%
% \else % rotation is about the origin, so we need to adjust
positioning
% \XeTeXuseglyphmetrics=1%
% \setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0%
% \raise\dimen0\hbox{\rotatebox{180}{\box0}}%
% \fi\fi
% }\kern#1\TeX}}}
%\TeXlogospacing{-0.15em}{-0.14em}{0.56ex}{-0.35em}{-0.15em}
\newlength\xxt at kern@Te
\newlength\xxt at kern@eX
\newlength\xxt at lower@e
\newlength\xxt at kern@La
\newlength\xxt at kern@aT
\newlength\xxt at kern@eL
\newcommand*\TeX at logo@spacing[6]{%
\setlength\xxt at kern@Te{#1}%
\setlength\xxt at kern@eX{#2}%
\setlength\xxt at lower@e{#3}%
\setlength\xxt at kern@La{#4}%
\setlength\xxt at kern@aT{#5}%
\setlength\xxt at kern@eL{#6}%
}
\DeclareRobustCommand\TeX{%
\leavevmode
\smash{%
T\kern\xxt at kern@Te
\lower\xxt at lower@e\hbox{E}\kern\xxt at kern@eX X}%
\spacefactor1000\relax}
\DeclareRobustCommand{\LaTeX}{%
\leavevmode
\smash{%
L\kern\xxt at kern@La
{\sbox\z@ T%
\vbox to\ht\z@{\hbox{\check at mathfonts
\fontsize\sf at size\z@
\math at fontsfalse\selectfont
A}%
\vss}%
}%
\kern\xxt at kern@aT
\TeX}}
\DeclareRobustCommand\XeTeX{%
\leavevmode
\smash{%
X\lower\xxt at lower@e
\hbox{\kern\xxt at kern@eX
\ifnum\XeTeXfonttype\font>0
\ifnum\XeTeXcharglyph"018E>0
\char"018E\relax
\else
\ifdim\fontdimen1\font=0pt
\reflectbox{E}%
\else
\XeTeXuseglyphmetrics=1%
\setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0%
\raise\dimen0\hbox{\rotatebox{180}{\box0}}%
\fi
\fi
\else
\setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0%
\raise\dimen0\hbox{\rotatebox{180}{\box0}}%
\fi
}\kern\xxt at kern@Te\TeX}}%
\DeclareRobustCommand\XeLaTeX{%
\leavevmode
\smash{%
X\lower\xxt at lower@e
\hbox{\kern\xxt at kern@eX
\ifnum\XeTeXfonttype\font>0\relax
\ifnum\XeTeXcharglyph"018E>0\relax
\char"018E\relax
\else
\ifdim\fontdimen1\font=0pt\relax
\reflectbox{E}%
\else
\XeTeXuseglyphmetrics=1\relax
\setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0\relax
\raise\dimen0\hbox{\rotatebox{180}{\box0}}%
\fi
\fi
\else
\setbox0=\hbox{E}\dimen0=\ht0\advance\dimen0by\dp0\relax
\raise\dimen0\hbox{\rotatebox{180}{\box0}}%
\fi}\kern\xxt at kern@eL\LaTeX}}
\TeX at logo@spacing{-0.15em}{-0.15em}{.5ex}{-0.36em}{-0.15em}{-0.1em}
On Aug 24, 2006, at 11:48 AM, Herbert Schulz wrote:
>
> On Aug 24, 2006, at 10:27 AM, Jon Breitenbucher wrote:
>
>> I remove the older personal version before I run the file. Plus I
>> copied the code from v.1 to v.2 and commented out v.2's code and ran
>> the job. Worked like a champ. Uncomment v.2 code and comment v.1 code
>> and no good.
>
> Howdy,
>
> Would you post the old & new code so we can see it?
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
_______________________________________
When confronted with actual numbers, a mathematician is at a loss.
(Steffen Hokland)
Jon Breitenbucher, Ph. D.
Adjunct Professor and Instructional Technology Specialist
The College of Wooster
Department of Mathematics and Computer Science
308 E. University
Wooster, Ohio 44691
work: (330)263-2207
e-mail: jbreitenbuch at wooster.edu
web: http://jbreitenbuch.wooster.edu/~jonb/
blog: http://jbreitenbuch.blogs.wooster.edu/
cal: http://jon.breitenbucher.net/ical/
More information about the XeTeX
mailing list