Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
How to write (La)TeX (with braces) [or any other TeX-related logo]

I came across the tug tutorial, and writing down the very first basic example of printing simple document.

My LaTeX file is:

mt4k@laptop:$ cat myfile.tex 
This is my \emph{first} document prepared in \Latex.

I am getting the following message for \Latex:

mtk4@laptop:$ latex myfile.tex 
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang,     noh
yphenation, loaded.
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo)) (./myfile.aux)
! Undefined control sequence.
l.3 \emph{first} document prepared in \Latex

In the output pdf, the Latex word has been omitted. Can anyone tell me how to print words in that fashion? (In a way similar as the word 'LATEX' is printed in the pdf in the link above)

Please let me know if you need more info. Also I have searched the SO and this site, and couldn't find any similar question, If I have missed out, please point me to it.

share|improve this question

marked as duplicate by Martin Scharrer May 20 '12 at 13:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

It's \LaTeX not \Latex. Macro names are case-sensitive. –  Martin Scharrer May 20 '12 at 13:27
Cool. Silly mistake :) Thanks. –  mtk May 20 '12 at 13:29
Welcome to! I closed this question as duplicate to another question which lists this and other logo macros. –  Martin Scharrer May 20 '12 at 13:30
ok. np, Got all the answers from original question. –  mtk May 20 '12 at 13:33

1 Answer 1

up vote 2 down vote accepted

You should use \LaTeX and not \Latex.

This is my \emph{first} document prepared in \LaTeX.
share|improve this answer
Thanks. Correct, got the mistake. –  mtk May 20 '12 at 13:41

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