TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just realized there's a LaTeX package for printing the text of "lorem ipsum".

Surely then, there's also a macro / package for writing "LaTeX" (with the proper super-/subscript) in a document.

But I found googling for this a bit hard. ("LaTeX macro"? Probably not.)

Can any of you groks help me out here?

share|improve this question
It's simply \LaTeX. You don't need a package for this. See How to write (La)TeX (with braces) or any other TeX-related logo – Martin Scharrer Jul 22 '11 at 8:54
I'd add here that some people (including me) feel that using a logo in running text is not a great idea. Thus I favour just 'LaTeX' (Really, even this is a bit questionable, and 'Latex' would be been the best choice. However, that is a battle long-lost.) – Joseph Wright Jul 22 '11 at 9:25
up vote 9 down vote accepted

The command \LaTeX should produce what you want. You'd probably want to add a \<space> after it if used inside a sentence.

share|improve this answer
/facepalm... somewhat obvious, is it? I actually tried \latex but didn't think to use the upper-/lowercase (since I was under the impression that LaTeX commands are always lowercase)... Thanks! – DevSolar Jul 22 '11 at 8:58

This is covered in many tutorials like lshort. But here's a more complete list:

  • \LaTeX typesets the LaTeX logo
  • \LaTeXe typesets the LaTeX2e logo
  • \TeX typesets the original TeX logo. You can often use it to obtain other TeX-based logos.
  • \AmSTeX, \BibTeX, \SliTeX and \PlainTeX typeset what their names say. These are defined in the doc package.
  • \XeTeX, \XeLaTeX, \LuaTeX and \LuaLaTeX can be obtained with the metalogo package
  • e-TeX and some other logos are available in package hologo
  • Finally, you can get the METAFONT logo with the package mflogo

The metalogo package also allows you to customize the appearance of \TeX, \LaTeX, \LaTeXe, \XeTeX, \XeLaTeX, \LuaTeX and \LuaLaTeX logos, which is useful if you use a font other than Computer Modern.

See also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=logos.

share|improve this answer
Herbert has enumerated the complete list of logos here – xport Jul 22 '11 at 9:20

Actually, the gmutils package contains some improvements: not only logos typeset using that package work better with non-CM fonts, but it also defines a \DeclareLogo command, which takes care of logos in PDF bookmarks.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.