How could I write my name, for example, to look like the \LaTeX logo?

How could I write my name, for example, in a \LaTeX style? It is just interesting, as in Google all other things pop up when I try to search for an answer!

• Are you asking about handwritten fonts? If so, see tug.dk/FontCatalogue/calligraphicalfonts.html for various LaTeX options, – Steven B. Segletes May 13 '15 at 18:52
• ...poor question, regardless. – Werner May 13 '15 at 19:25
• @Werner It could stand for improvement. Related: tex.stackexchange.com/q/17886/17423 – Sean Allred May 13 '15 at 19:28
• I'm bewildered really, in what way is the question at all unclear? the OP wants to be able to type a name with offset letters like the latex logo, as it says in the question title. I voted to re-open. – David Carlisle May 13 '15 at 20:16
• Thank you very much for the efforts! your editing, comments and critics were all very appreciated! – pigeon May 13 '15 at 21:06

this requires xelatex

\documentclass{article}
\XeTeXinterchartokenstate = 1
\XeTeXcharclassL=4
\XeTeXcharclassA=4
\XeTeXcharclassT=4
\XeTeXcharclassE=4
\XeTeXcharclassX=4
\XeTeXinterchartoks 255 4{\z}
\def\z#1{{\XeTeXinterchartokenstate = 0\lowercase{\,#1}}}

\lccodeL=D
\lccodeT=V
\lccodeE=I
\lccodeX=D

\begin{document}

\LaTeX

\end{document}

• XD nice. If I'm not mistaken, this maps the LaTeX glyphs onto the letters in your name :) Cheeky. – Sean Allred May 13 '15 at 19:32
• that's a rather scrawny "a". would look better as a small cap (or a "smaller" cap) since the slope of "A" nicely mirrors the slope of the "V". maybe if you ask nicely, i'll concoct a prettier version for you. – barbara beeton May 13 '15 at 20:32
• @barbarabeeton It has to fit into the offsets designed for the original \LaTeX, I don't think Jonathan quite had this in mind when designing xetex char classes. – David Carlisle May 13 '15 at 20:33
• if you want to laugh, you can look up what we've done to get a sloped xetex for tugboat. now that's a real kludge! – barbara beeton May 13 '15 at 20:35

You can write your name creatively as I do mine:

\documentclass{article}
\usepackage{amsmath,amssymb}
\newsavebox{\mynamebox}

\savebox{\mynamebox}{%%
$\Lambda\mspace{-13mu}-\mspace{-5mu}%% \cdot\mspace{-0.25mu}%% \xi\mspace{-1mu}^{\parallel}\mspace{-3mu}%% \epsilon^{\mspace{-2mu}\dagger\mspace{-5mu}\dagger}$}%%

\begin{document}

\usebox\mynamebox

\end{document}


• Ooohh... Pretty :) – Sean Allred May 13 '15 at 19:45

Based on my SX logo, which uses the \S sectioning glyph as my initials.

\documentclass{article}
\usepackage{graphicx}
\usepackage{stackengine}
\begin{document}
\Huge\scalebox{3.8}{\S}\kern-.5ex\bfseries\LARGE\setstackgap{L}{1.35\baselineskip}%
\Centerstack[l]{te\kern2pt\tclap[5pt]{v}\kern2pt{}en egl\tclap[12pt]{t}e\bclap[10pt]{s}}
\end{document}


Here is my SX logo

\documentclass{article}
\usepackage{graphicx}
\usepackage{stackengine}
\begin{document}
\Huge
\def\rl{\rule{2.05ex}{0ex}}
\fboxrule=2pt
\fbox{\rl\stackinset{c}{}{b}{3.65ex}{\LARGE\bfseries B}{\scalebox{4}{\S}}\rl}
\end{document}


which is my stackexchange icon, and initials: SBS, obtained by overlaying a "B" atop the LaTeX section symbol \S (Computer Modern).

• Another example: \input opmac \ooalign{\S\cr \thefontscale[180]\hfil \raise2.4ex\hbox{B}\hfil\cr} \bye. – wipet May 13 '15 at 20:14
• @wipet What?? No \pdfliteral?! – Steven B. Segletes May 13 '15 at 20:15
• \pdfliteral seems to be more complicated: \ooalign{\S\cr \hfil \raise.43ex \hbox to0pt{\pdfliteral{q .2 0 0 .2 0 0 cm}\hss\bf B\hss\pdfliteral{Q}}\hfil\cr} – wipet May 13 '15 at 20:40
• @wipet I tip my hat to you! – Steven B. Segletes May 13 '15 at 23:46

Best way to find out how the \TeX logo works is to look at \meaning\TeX. Since \LaTeX is protected, you need to use \expandafter\meaning\csname LaTeX \endcsname. texdef is a tool you can use on the command line to quickly look these things up: texdef -t latex TeX LaTeX [... more macros ...].

Among other font-selection commands, the logos use \kern and \raisebox to fine-tune the horizontal/vertical position of each character. For (a bad) example:

AL\kern-3pt\relax\raisebox{1.5pt}{L}\kern-3pt\relax
\raisebox{3pt}{R}\kern-7.33pt\relax
\raisebox{-5pt}{E}\kern-1pt\relax D

• \meaning\TeX yes \meaning\LaTeX no – touhami May 13 '15 at 19:14
• @touhami See edit – Sean Allred May 13 '15 at 19:17
• Did you mean to forget your F? – A.Ellett May 13 '15 at 20:11
• OMG.... I've been reading your name wrong for too too long. How embarassing. – A.Ellett May 13 '15 at 20:13
• if you examine the tex and latex logos carefully, you will observe that they won't spread adjacent lines apart, since they don't greatly exceed the depth of the usual descender in the current font. and neither of them rises higher than the cap height. for the (quite highly tuned for computer modern) definition of \LaTeX et al., look into ltugboat.cls. for a somewhat "simpler" (to comprehend) definition, see the plain tex tugboat.cmn (on ctan and in tex live). – barbara beeton May 13 '15 at 20:28

It requires a bit / lot of manual adjusting, but I am using this one since, well, forever:

\def\RGtti{R\kern-0.3em\raise-0.6ex\hbox{G}\kern-0.1em\hbox{tti}}


\def\RGttiC{\hbox{\strut R\kern-0.3em\raise-0.6ex\hbox{G}\kern-0.15em%
`