\LaTeX LaTeX logo in LaTeX
| Command | \LaTeX |
|---|---|
| Mode | text |
| Package | none, part of LaTeX |
| Kind | Text symbols and special characters |
\LaTeX typesets the symbol “LaTeX logo”. It is a text symbol.
Example
\documentclass{article}
\begin{document}
Written in \LaTeX.
\end{document}Compiled with pdfLaTeX from TeX Live 2023.
How to use it
\LaTeX is a command for normal text. The command is part of LaTeX; you need no package.
A command name swallows the space after it. Write \LaTeX{} or \LaTeX\ when a word follows.
About text symbols and special characters
Ten characters have a job in LaTeX source and do not print when typed alone: # $ % & _ { } ~ ^ \. Seven of them print with a backslash in front; tilde, caret and backslash need a longer command. Most other characters, such as €, § or ß, can be typed directly in a UTF-8 file.