diff options
Diffstat (limited to 'tex/context/base/chem-str.mkiv')
-rw-r--r-- | tex/context/base/chem-str.mkiv | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/chem-str.mkiv b/tex/context/base/chem-str.mkiv index 6b460b513..998ff942a 100644 --- a/tex/context/base/chem-str.mkiv +++ b/tex/context/base/chem-str.mkiv @@ -82,14 +82,14 @@ \def\dodefinechemicalsymbol[#1][#2]% {\setvalue{\??cm::#1}{#2}} -\def\chemicalsymbol[#1]% +\unexpanded\def\chemicalsymbol[#1]% {\getvalue{\??cm::#1}} % size (small medium big) -\def\dosetchemicaltext - {\dosetfontattribute \??cm\c!style - \dosetcolorattribute\??cm\c!color} +\unexpanded\def\dosetchemicaltext + {\dousestyleparameter\@cmstyle + \dousecolorparameter\@cmcolor} \edef\chemicaltoplocation{t} \edef\chemicalbotlocation{b} |