I want to create a footnote, that say 'latex code has been taken from this source'. But I want standard latex symbol instead of a text 'latex'. How can I do it? I have tried $\LaTex$ and \LaTex , but those show undefined control sequence.

  • The "LaTeX" logo is obtained with \LaTeX, with three capitals: L, T, and X. It doesn't require math. – barbara beeton Jun 12 '20 at 0:01

I guess, you just made a typo (capital-X). The following code works for me.


I love \LaTeX.\footnote{\LaTeX\ code has been taken from this source.}
I also love \TeX.\footnote{\LaTeX{} code has been taken from this source.}

Compiled with pdfTeX:

d here

To clarify: I posted an answer which completely satisfied the needs for the questioner. An edit was meant to improve the post but I forgot to compile it, hence I missed a bad spacing. Thank you, David Carlisle for pointing this out and correcting my error. The addition of \ or {} gives the same results.

  • 1
    Perfect thank you! :) – Mannie Mar 21 '20 at 19:17
  • 2
    A space after LaTeX would be nice:-) – David Carlisle Mar 21 '20 at 20:09
  • 1
    I usually write e.g. \LaTeX{} to finish the command and keep the following space as-is. – vonbrand Mar 22 '20 at 2:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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