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.
1 Answer
I guess, you just made a typo (capital-X). The following code works for me.
\documentclass[a6paper,landscape]{memoir}
\begin{document}
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.}
\end{document}
Compiled with pdfTeX
:
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
-
2
-
1I usually write e.g.
\LaTeX{}
to finish the command and keep the following space as-is.– vonbrandMar 22, 2020 at 2:32
\LaTeX
, with three capitals: L, T, and X. It doesn't require math.