[latex3-commits] [git/LaTeX3-latex3-latex2e] gh415: Use \text_lowercase:n instead of \MakeLowercase in ltnews (943f04d7)
PhelypeOleinik
phelype.oleinik at latex-project.org
Thu Mar 4 15:43:55 CET 2021
Repository : https://github.com/latex3/latex2e
On branch : gh415
Link : https://github.com/latex3/latex2e/commit/943f04d798892b2809219f0984f7b5b0f7a4811a
>---------------------------------------------------------------
commit 943f04d798892b2809219f0984f7b5b0f7a4811a
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Thu Mar 4 11:43:55 2021 -0300
Use \text_lowercase:n instead of \MakeLowercase in ltnews
>---------------------------------------------------------------
943f04d798892b2809219f0984f7b5b0f7a4811a
base/doc/ltnews.tex | 5 +++++
base/doc/ltnews12.tex | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/base/doc/ltnews.tex b/base/doc/ltnews.tex
index 87982065..fa44de67 100644
--- a/base/doc/ltnews.tex
+++ b/base/doc/ltnews.tex
@@ -177,6 +177,11 @@
\egroup
}
+\ExplSyntaxOn
+\newcommand \acro [1]
+ { \textsc { \text_lowercase:n {#1} } }
+\ExplSyntaxOff
+
\makeatother
diff --git a/base/doc/ltnews12.tex b/base/doc/ltnews12.tex
index 8815c232..7e3a73f5 100644
--- a/base/doc/ltnews12.tex
+++ b/base/doc/ltnews12.tex
@@ -40,8 +40,7 @@
\publicationyear{1999}
\publicationissue{12}
-% Should go to .cls:
-\newcommand{\acro}[1]{\textsc{\MakeLowercase{#1}}}
+\providecommand{\acro}[1]{\textsc{\MakeLowercase{#1}}}
\begin{document}
More information about the latex3-commits
mailing list.