How do I type XeTeX logo with rotated E in XeTeX itself as can be seen here ?
Asked
Active
Viewed 2,369 times
2 Answers
29
The package to use is metalogo (which xltxtra loads and uses for the logo).
Don't load xltxtra which does also other things, mostly unwanted.
Besides, metalogo can be used with any engine.
You can also employ hologo, but metalogo provides functions that help to adapt the (La)TeX related logos to different fonts.
Consult the documentation of both packages for more details. In the example, I use both, but metalogo is normally to be preferred.
\documentclass{article}
\usepackage{hologo}
\usepackage{metalogo}
\begin{document}
\texttt{hologo}: \hologo{XeTeX}
\texttt{metalogo}: \XeTeX
\end{document}
egreg
- 1,121,712
4
Load the package xltxtra by issuing the command
\usepackage{xltxtra}
in the preamble. Then the controls sequence
\XeLaTeX
yields the XeLaTeX logo with a mirror reflected E.
Sebastiano
- 54,118
Narayanaswami
- 174

metalogopackage that is loaded byxltxtra) the macro is defined as\Xe \kern \xl@kern@XeLaTeX@eL \LaTeX. In turn,\xl@kern@XeLaTeX@eLis defined as-.125em. So,\Xe, then a small negative horizontal space, then\LaTeX. The\Xemacro is defined as an X followed by an Unicode Ǝ (if available) or a regular E in a\reflectbox(if Ǝ is not available). – Marijn Aug 09 '20 at 20:21xltxtracan only be used with XeLaTeX. It will error when used with pdf(La)TeX and refuse to do anything with Lua(La)TeX.xltxtradoesn't define the logos itself, it just loadsmetalogo.metalogocan be used with pdfLaTeX, LuaLaTeX and XeLaTeX if it is just loaded on its own. So there is really no need and no good reason to loadxltxtrainstead ofmetalogoif you just want the logo. ... – moewe Aug 10 '20 at 06:43xltxtra, see https://tex.stackexchange.com/questions/2984/frequently-loaded-packages-differences-between-pdflatex-and-xelatex/3000#comment4339_3000. – moewe Aug 10 '20 at 06:44X\kern-.125em\raisebox{-0.5ex}{\reflectbox{E}}\kern-.125em\LaTeX. The boxes need thegraphicxpackage to be loaded. – Marijn Aug 10 '20 at 06:58