summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/elements
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-30 03:00:53 +0000
committerNorbert Preining <norbert@preining.info>2022-01-30 03:00:53 +0000
commit7ee4987532f1c1d25e5a2683ae21b7c298d103b5 (patch)
tree1276be1a24746987c860b5730e708194234c4a10 /macros/latex/contrib/elements
parent2df1fd0d0099108f6d3d3e58dce35a3d2e185d4f (diff)
CTAN sync 202201300300
Diffstat (limited to 'macros/latex/contrib/elements')
-rw-r--r--macros/latex/contrib/elements/README14
-rw-r--r--macros/latex/contrib/elements/elements-manual.pdf (renamed from macros/latex/contrib/elements/elements_en.pdf)bin409567 -> 411587 bytes
-rw-r--r--macros/latex/contrib/elements/elements-manual.tex (renamed from macros/latex/contrib/elements/elements_en.tex)15
-rw-r--r--macros/latex/contrib/elements/elements.sty35
-rw-r--r--macros/latex/contrib/elements/elements_names_brazil.def2
-rw-r--r--macros/latex/contrib/elements/elements_names_english.def2
-rw-r--r--macros/latex/contrib/elements/elements_names_french.def2
-rw-r--r--macros/latex/contrib/elements/elements_names_german.def2
-rw-r--r--macros/latex/contrib/elements/elements_names_portuges.def2
-rw-r--r--macros/latex/contrib/elements/elements_names_spanish.def2
10 files changed, 39 insertions, 37 deletions
diff --git a/macros/latex/contrib/elements/README b/macros/latex/contrib/elements/README
index abb5ea1ab7..2ad23f1bf3 100644
--- a/macros/latex/contrib/elements/README
+++ b/macros/latex/contrib/elements/README
@@ -1,22 +1,22 @@
--------------------------------------------------------------------------
-the ELEMENTS package v0.3 2019/10/14
+the ELEMENTS package v0.4 2022/01/29
retrieve different properties of chemical elements
--------------------------------------------------------------------------
Clemens Niederberger
-Web: https://github.com/cgnieder/elements/
-E-Mail: contact@mychemistry.eu
+Web: https://github.com/cgnieder/elemens
+E-Mail: clemens@cnltx.de
--------------------------------------------------------------------------
-Copyright 2011--2019 Clemens Niederberger
+Copyright 2011--2022 Clemens Niederberger
This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
+conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
+and version 1.3c or later is part of all distributions of LaTeX
+version 2008/05/04 or later.
This work has the LPPL maintenance status `maintained'.
diff --git a/macros/latex/contrib/elements/elements_en.pdf b/macros/latex/contrib/elements/elements-manual.pdf
index e48823fe7b..6e24fb2401 100644
--- a/macros/latex/contrib/elements/elements_en.pdf
+++ b/macros/latex/contrib/elements/elements-manual.pdf
Binary files differ
diff --git a/macros/latex/contrib/elements/elements_en.tex b/macros/latex/contrib/elements/elements-manual.tex
index 5867f1bf23..69ba25184b 100644
--- a/macros/latex/contrib/elements/elements_en.tex
+++ b/macros/latex/contrib/elements/elements-manual.tex
@@ -9,18 +9,18 @@
%
% --------------------------------------------------------------------------
% Clemens Niederberger
-% Web: http://www.mychemistry.eu/forums/forum/elements/
-% E-Mail: contact@mychemistry.eu
+% Web: https://github.com/cgnieder/elemens
+% E-Mail: clemens@cnltx.de
% --------------------------------------------------------------------------
-% Copyright 2011--2019 Clemens Niederberger
+% Copyright 2011--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2008/05/04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
@@ -30,13 +30,12 @@
% feel free to contact me.
% --------------------------------------------------------------------------
\documentclass[load-preamble+]{cnltx-doc}
-\usepackage[utf8]{inputenc}
\usepackage{elements}
\setcnltx{
package = elements ,
authors = Clemens Niederberger ,
- email = contact@mychemistry.eu ,
+ email = clemens@cnltx.de ,
url = https://github.com/cgnieder/elements ,
add-cmds = {
atomicnumber,
diff --git a/macros/latex/contrib/elements/elements.sty b/macros/latex/contrib/elements/elements.sty
index f5e8acc2a8..22fab8c772 100644
--- a/macros/latex/contrib/elements/elements.sty
+++ b/macros/latex/contrib/elements/elements.sty
@@ -5,18 +5,18 @@
%
% --------------------------------------------------------------------------
% Clemens Niederberger
-% Web: https://github.com/cgnieder/elements/
-% E-Mail: contact@mychemistry.eu
+% Web: https://github.com/cgnieder/elemens
+% E-Mail: clemens@cnltx.de
% --------------------------------------------------------------------------
-% Copyright 2011--2019 Clemens Niederberger
+% Copyright 2011--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2005/12/01 or later.
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2008/05/04 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
@@ -25,8 +25,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-\newcommand*\@elements@date{2019/10/14}
-\newcommand*\@elements@version{v0.3}
+\newcommand*\@elements@date{2022/01/29}
+\newcommand*\@elements@version{v0.4}
\newcommand*\@elements@description{properties of chemical elements}
\ProvidesPackage{elements}[%
@@ -57,7 +57,7 @@
}
\@elements@tmpa
-% chack for following !:
+% check for following !:
\newrobustcmd*\@elements@ifbang[1]{\@ifnextchar!{\@firstoftwo{#1}}}
% --------------------------------------------------------------------------
@@ -255,20 +255,23 @@
}
\newrobustcmd*\@elements@getelconf[1]{%
- \forcsvlist{\@elements@getelconf@aux}{#1}%
+ \@elements@getelconf@aux#1,\q@stop
}
-\newrobustcmd*\@elements@getelconf@aux[1]{%
+\protected\def\@elements@getelconf@aux#1,#2\q@stop{%
\stepcounter{@elements@shell@number}%
\setcounter{@elements@orbital@type}{0}%
\@elements@parse@elconf#1+\q@stop
+ \ifblank{#2}{}{\@elements@getelconf@aux#2\q@stop}%
}
\protected\def\@elements@parse@elconf#1+#2\q@stop{%
- \eappto\@elements@current@elconf{\arabic{@elements@shell@number}}%
- \eappto\@elements@current@elconf
- {\expandonce{\csname @elements@angmom@\arabic{@elements@orbital@type}\endcsname}}%
- \appto\@elements@current@elconf{^{#1}}%
+ \ifblank{#1}{}{%
+ \eappto\@elements@current@elconf{\arabic{@elements@shell@number}}%
+ \eappto\@elements@current@elconf
+ {\expandonce{\csname @elements@angmom@\arabic{@elements@orbital@type}\endcsname}}%
+ \appto\@elements@current@elconf{^{#1}}%
+ }%
\stepcounter{@elements@orbital@type}%
\ifblank{#2}
{}
@@ -316,7 +319,7 @@
}
% ==========================================================================
-% define the elements properties for elements 1 -- 112
+% define the elements properties for elements 1 -- 118
%
% declare atom symbols:
\DeclareAtomSymbol{1}{H}
diff --git a/macros/latex/contrib/elements/elements_names_brazil.def b/macros/latex/contrib/elements/elements_names_brazil.def
index a74b5185c4..9aef1d14b0 100644
--- a/macros/latex/contrib/elements/elements_names_brazil.def
+++ b/macros/latex/contrib/elements/elements_names_brazil.def
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/elements/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2015--2019 Clemens Niederberger
+% Copyright 2015--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/latex/contrib/elements/elements_names_english.def b/macros/latex/contrib/elements/elements_names_english.def
index 1d9270b345..6ec82c2bfb 100644
--- a/macros/latex/contrib/elements/elements_names_english.def
+++ b/macros/latex/contrib/elements/elements_names_english.def
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/elements/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2011--2019 Clemens Niederberger
+% Copyright 2011--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/latex/contrib/elements/elements_names_french.def b/macros/latex/contrib/elements/elements_names_french.def
index fb7a7775a8..9e8e6f5758 100644
--- a/macros/latex/contrib/elements/elements_names_french.def
+++ b/macros/latex/contrib/elements/elements_names_french.def
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/elements/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2011--2019 Clemens Niederberger
+% Copyright 2011--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/latex/contrib/elements/elements_names_german.def b/macros/latex/contrib/elements/elements_names_german.def
index 924f2a9dc3..72d754079c 100644
--- a/macros/latex/contrib/elements/elements_names_german.def
+++ b/macros/latex/contrib/elements/elements_names_german.def
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/elements/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2011--2019 Clemens Niederberger
+% Copyright 2011--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/latex/contrib/elements/elements_names_portuges.def b/macros/latex/contrib/elements/elements_names_portuges.def
index 0e111439ca..3db13de9de 100644
--- a/macros/latex/contrib/elements/elements_names_portuges.def
+++ b/macros/latex/contrib/elements/elements_names_portuges.def
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/elements/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2015--2019 Clemens Niederberger
+% Copyright 2015--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/latex/contrib/elements/elements_names_spanish.def b/macros/latex/contrib/elements/elements_names_spanish.def
index efc0773539..190815fbbb 100644
--- a/macros/latex/contrib/elements/elements_names_spanish.def
+++ b/macros/latex/contrib/elements/elements_names_spanish.def
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/elements/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2011--2019 Clemens Niederberger
+% Copyright 2011--2022 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3