summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/modiagram
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/modiagram')
-rw-r--r--Master/texmf-dist/tex/latex/modiagram/modiagram.sty25
1 files changed, 6 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/modiagram/modiagram.sty b/Master/texmf-dist/tex/latex/modiagram/modiagram.sty
index 93ed4f1f471..508c9410a44 100644
--- a/Master/texmf-dist/tex/latex/modiagram/modiagram.sty
+++ b/Master/texmf-dist/tex/latex/modiagram/modiagram.sty
@@ -11,7 +11,7 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-% Copyright 2011--2014 Clemens Niederberger
+% Copyright 2011--2015 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,24 +32,10 @@
\usetikzlibrary{calc,arrows}
\ProvidesExplPackage
{modiagram}
- {2014/06/28}
- {0.2e}
+ {2015/07/19}
+ {0.2f}
{easy creation of molecular orbital diagrams}
-% --------------------------------------------------------------------------
-% check expl3 version:
-\@ifpackagelater { expl3 } { 2013/12/14 }
- { }
- {
- \PackageError { modiagram } { Support~package~expl3~too~old }
- {
- You~need~to~update~your~installation~of~the~bundles~'l3kernel'~and~
- 'l3packages'.\MessageBreak
- Loading~modiagram~will~abort!
- }
- \tex_endinput:D
- }
-
% --------------------------------------------------------------------------- %
% error messages
\msg_set:nnn { MOdiagram } { missing-atom }
@@ -79,7 +65,7 @@
% --------------------------------------------------------------------------- %
% variants of expl3 kernel commands:
-\cs_generate_variant:Nn \str_case:nnn { V }
+\cs_generate_variant:Nn \str_case:nnF { V }
\cs_generate_variant:Nn \dim_compare:nNnTF { cNc }
% --------------------------------------------------------------------------- %
@@ -1307,7 +1293,7 @@
{ \draw (0,0) -- ++(\l__MOdiagram_AO_width_dim,0) ; }
\tl_set:Nn \l__MOdiagram_tmpa_tl { #1 }
\tl_remove_all:Nn \l__MOdiagram_tmpa_tl { ~ }
- \str_case:Vnn \l__MOdiagram_tmpa_tl
+ \str_case:VnF \l__MOdiagram_tmpa_tl
{
{ up }
{
@@ -2094,6 +2080,7 @@ Version history
2014/05/12 version 0.2d - fix: adapt to deprecated expl3 command
- change dependency from `textgreek' to `chemgreek'
2014/06/28 version 0.2e - fix: adapt to deprecated expl3 command
+2015/07/19 version 0.2f - fix: adapt to deprecated expl3 command
TODO
- 3s, 3p , 3sMO , 3pMO , 4s , sp3