LyX ⇒ Makros for text
Makros for text
Of course one could use MathMacros and \textrm, but that looks like a dodgy workaround to me. Using ERT isn't very satisfying either.
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
Makros for text
Code: Select all
\newcommand{\etal}{\textit{et al.}}...Santa \etal have written an article...and Claus \etal made the pictures
Makros for text
This will gobble the space after the command name. You have to use "\etal\ " or the xspace package.ihiribar wrote:you could do something likeCode: Select all
Code, edit and compile here:\newcommand{\etal}{\textit{et al.}}...Santa \etal have written an article...and Claus \etal made the pictures