diff options
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]{% |