summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex')
-rw-r--r--macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
index ed85a205e5..58948c5f79 100644
--- a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
+++ b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex
@@ -14,12 +14,12 @@
% Copyright 2011--2020 Clemens Niederberger
%
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% version 2008/05/04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
@@ -294,15 +294,15 @@
{#1}
{#2}
{#4}
- { \tl_mixed_case:n {#2} }
- { \tl_mixed_case:n {#4} }
+ { \tl_titlecase:n {#2} }
+ { \tl_titlecase:n {#4} }
}
{
\chemmacros_add_cleveref_support:nnnnn
{#1}
{#2}
{#4}
- { \tl_mixed_case:n {#2} }
+ { \tl_titlecase:n {#2} }
{#5}
}
}
@@ -314,7 +314,7 @@
{#2}
{#4}
{#3}
- { \tl_mixed_case:n {#4} }
+ { \tl_titlecase:n {#4} }
}
{ \chemmacros_add_cleveref_support:nnnnn {#1} {#2} {#4} {#3} {#5} }
}
@@ -349,7 +349,7 @@
\NewDocumentCommand \ChemFancyrefSupport {mmo}
{
\IfNoValueTF {#3}
- { \chemmacros_add_fancyref_support:nnn {#1} {#2} { \tl_mixed_case:n {#3} } }
+ { \chemmacros_add_fancyref_support:nnn {#1} {#2} { \tl_titlecase:n {#3} } }
{ \chemmacros_add_fancyref_support:nnn {#1} {#2} {#3} }
}
\@onlypreamble\ChemFancyrefSupport
@@ -484,3 +484,4 @@
2017/08/28 - add missing hyperref check
2020/01/16 - adapt to renaming of string case changing functions
2020/02/02 - lazy boolean evaluation
+2020/11/21 - exchange \tl_mixed_case:n for \tl_titlecase:n