Code: Select all
\renewcommand{\Latex}{\LaTex \xspace}
Code: Select all
\renewcommand{\Latex}{\LaTex \xspace}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\documentclass{article}
\usepackage{xspace}
\newcommand{\Latex}{\LaTeX\xspace}
\begin{document}
\Latex and some text.
Some text and \Latex.
\end{document}
This is specifically what I really wanted:meho_r wrote:There is no predefined command \Latex, but \LaTeX. So, maybe what you want is to create a new command. E.g.:Code: Select all
\documentclass{article} \usepackage{xspace} \newcommand{\Latex}{\LaTeX\xspace} \begin{document} \Latex and some text. Some text and \Latex. \end{document}
Code: Select all
\newcommand{\LaTeX}{\LaTeX \xspace}
Can we overcome this? You're sure there isn't a redefine command I can use?Frits wrote:As it seems, LaTeX doesn't allow you to change the \LaTeX command.
Code: Select all
Blank space after \LaTeX\ wanted.
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\let\oldLaTeX\LaTeX
\renewcommand*{\LaTeX}{\oldLaTeX\space}
\begin{document}
Blank space after \LaTeX wanted.
\end{document}
It appears to work, but just one question:localghost wrote: \let\oldLaTeX\LaTeX
\renewcommand*{\LaTeX}{\oldLaTeX\space}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p