I could use a \LaTeX and \XeTeX with package xltxtra, but I could not found a way to write LuaTeX or LuaLaTeX.
Is there a way to do so?
I could use a \LaTeX and \XeTeX with package xltxtra, but I could not found a way to write LuaTeX or LuaLaTeX.
Is there a way to do so?
If you want to have the exact same logo as the one in the LuaTeX manual, you can copy the definition from the ConTeXt core file cont-log.mkiv.
It is only marginally different from Lua\TeX.
\documentclass{article}
\let\unexpanded\protected
\let\dontleavehmode\leavevmode
\newdimen\zeropoint \zeropoint=0pt
% from cont-log.mkiv
\unexpanded\def\LuaTeX
{\dontleavehmode
\begingroup
Lua%
% hope for kerning, try aT
\setbox0\hbox{aT}%
\setbox2\hbox{a\kern\zeropoint T}%
\ifdim\wd0=\wd2 % kerns can go two ways
% no aT kerning, try oT as a is not symmetrical
\setbox0\hbox{oT}%
\setbox2\hbox{o\kern\zeropoint T}%
\ifdim\wd0=\wd2 % kerns can go two ways
% no aT and oT kerning, try To
\setbox0\hbox{To}%
\setbox2\hbox{T\kern\zeropoint o}%
% maybe we need to compensate for the angle (sl/it/bs/bi)
\fi
\ifdim\wd0=\wd2\else
\kern\dimexpr\wd0-\wd2\relax
\fi
\fi
\TeX
\endgroup}
\begin{document}
\LuaTeX
Lua\TeX
\end{document}
hologopackage. – TeXnician Dec 09 '17 at 13:17Lua\TeXandLua\LaTeX. – egreg Dec 09 '17 at 14:25newcommand*{\LuaLaTex}{Lua\LaTeX}– Peter Wilson Dec 10 '17 at 18:56hologo(as mentioned above) has logos for LuaTeX/LuaLaTeX (\hologo{LuaTeX}\hologo{LuaLaTeX}), they just weren't explicitly mentioned in https://tex.stackexchange.com/a/67990/. Further, the accepted answer to that question isn't up to datedtk-logosprovides\luatex/\LuaTeXand\lualatex/\LualaTeX, though the packages usehologoin the definition. – Torbjørn T. Dec 10 '17 at 23:33