Take the 2-minute tour ×
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.

A colleague sent to me a manuscript written in Ubuntu. I am using Mac OS X Snow Leopard and I only have trouble when I compile the document due to the latex command \email. It seems it is not recognised. What package should I install or what else should I do?

share|improve this question
4  
You need to provide the right details to get help (and to write a good question). Could you please provide a minimal working example and the error you get when you compile the document. –  N.N. Jun 15 '11 at 12:11
    
Try putting \show\email\def\email#1{\relax} before the first occurrence of \email and see if you can now compile, and tell us what Latex tells you about the contents of \email. This isn't a solution but a diagnostic, since it throws away information. –  Charles Stewart Jun 15 '11 at 12:13
    
moderncv defines \email at least the newer versions of it do... –  Seamus Jul 22 '11 at 10:46

3 Answers 3

up vote 6 down vote accepted

I know that \email is defined in lettre.cls the french version of letter.cls but this macro is perhaps defined in another class or package

share|improve this answer

The AMS document classes (amsart and amsbook) define the \email command.

share|improve this answer

Extrapolating from your last question, the llncs class has a email macro. In the preamble, use it like this:

\documentclass{llncs}
...
\author{First Author}
\institute{
  Example Institute,
  Example Road 12,
  \email{author@example.com}
}
\begin{document}...

Actually, all the macro does is to set the email address in a typewriter font.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. –  Corentin Dec 20 '12 at 22:45
    
@Corentin ??? Read the title of this question, and my answer again. The llncs class provides an \email macro, I mean, it does! –  mafp Dec 20 '12 at 22:57
    
Sorry for the unfriendly, automatic message from the review tools... What I meant to say was that your answer looked more like a comment in the present form. Perhaps supplementing it with a MWE would turn it into a valuable answer (but this also applies to the original question which is a bit vague in my humble opinion) –  Corentin Dec 20 '12 at 23:03

Your Answer

 
discard

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.