diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-code-interfaces.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-code-interfaces.dtx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-code-interfaces.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-code-interfaces.dtx index 58979626f38..57bae3bb4d7 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-code-interfaces.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-code-interfaces.dtx @@ -221,6 +221,28 @@ } % \end{macrocode} % +% \begin{macro}{\oldstylenums} +% This is performed only after the preamble to overwrite any redefinition by \pkg{textcomp}: +% \begin{macrocode} +\AtBeginDocument + { + \RenewDocumentCommand \oldstylenums {m} + { + \@@_main_oldstylenums:n {#1} + } + } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\liningnums} +% \begin{macrocode} +\NewDocumentCommand \liningnums {m} + { + \@@_main_liningnums:n {#1} + } +% \end{macrocode} +% \end{macro} +% % \iffalse % \begin{macrocode} %</fontspec> |