diff options
author | Norbert Preining <norbert@preining.info> | 2020-01-17 03:01:22 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-01-17 03:01:22 +0000 |
commit | e71ffee2103e3f137bbc9ee526858bc277e95908 (patch) | |
tree | ac2a97b2b6e40f1cf6d3191f3e08adb12e3d401e /macros/latex/contrib/xsim/doc/xsim-manual.cls | |
parent | 4c0e3e7fa86ecd3794204d362c7e17b3d9433415 (diff) |
CTAN sync 202001170301
Diffstat (limited to 'macros/latex/contrib/xsim/doc/xsim-manual.cls')
-rw-r--r-- | macros/latex/contrib/xsim/doc/xsim-manual.cls | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/macros/latex/contrib/xsim/doc/xsim-manual.cls b/macros/latex/contrib/xsim/doc/xsim-manual.cls index 3667dd11c6..6e1359c0b1 100644 --- a/macros/latex/contrib/xsim/doc/xsim-manual.cls +++ b/macros/latex/contrib/xsim/doc/xsim-manual.cls @@ -8,7 +8,7 @@ % Web: https://github.com/cgnieder/xsim % E-Mail: contact@mychemistry.eu % ---------------------------------------------------------------------------- -% Copyright 2017--2019 Clemens Niederberger +% Copyright 2017--2020 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -29,12 +29,12 @@ % please ignore the contents of this file -- it is not a good example for % coding... % -\ProvidesClass{xsim-manual}[2019/11/10] +\ProvidesClass{xsim-manual}[2019/12/29] \LoadClass[load-preamble,add-index]{cnltx-doc} \RequirePackage{imakeidx} \RequirePackage[utf8]{inputenc} -\RequirePackage{xsim} +\RequirePackage{xsim,xsimverb} \RequirePackage{geometry} \geometry{ @@ -259,6 +259,17 @@ \newnote*\sincechanged[2]{\GetTranslation{cnltx-introduced}~#1 (\csuse{xsimversion#1}), changed with version~#2 (\csuse{xsimversion#2})} +\RequirePackage{xsimverb} +\ExplSyntaxOn +\tl_replace_all:Nnn \c_xsimverb_date_tl {/} {-} +\ExplSyntaxOff + +\newnote*\xsimverbversion{% + \pkg{xsimverb} version~\csname c_xsimverb_version_tl\endcsname\ + (\expandafter\expandafter\expandafter\DTMdate + \expandafter\expandafter\expandafter{\csname c_xsimverb_date_tl\endcsname})% +} + \renewcommand*\versionnoteformat{\scriptsize\sffamily\RaggedRight} \renewcommand*\cnltx@module@text[2]{% |