diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-15 22:10:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-15 22:10:06 +0000 |
commit | 09887668234cd2448c5c8272e5e16fcd538cbe39 (patch) | |
tree | 568f0950ff7024bbb8a312f3aeb8934d3a1f1461 /Master/texmf-dist/tex/latex/elements/elements.sty | |
parent | 126ea2a3b27dbae4ec8d67544ffeab5f6ec5d19f (diff) |
elements (15may16)
git-svn-id: svn://tug.org/texlive/trunk@41161 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/elements/elements.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/elements/elements.sty | 315 |
1 files changed, 165 insertions, 150 deletions
diff --git a/Master/texmf-dist/tex/latex/elements/elements.sty b/Master/texmf-dist/tex/latex/elements/elements.sty index 3b6125fb15c..eee5321ebed 100644 --- a/Master/texmf-dist/tex/latex/elements/elements.sty +++ b/Master/texmf-dist/tex/latex/elements/elements.sty @@ -25,8 +25,8 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\newcommand*\@elements@date{2016/04/17} -\newcommand*\@elements@version{v0.1d} +\newcommand*\@elements@date{2016/05/16} +\newcommand*\@elements@version{v0.2} \newcommand*\@elements@description{properties of chemical elements} \ProvidesPackage{elements}[% @@ -257,22 +257,17 @@ \newrobustcmd*\@elements@getelconf[1]{% \forcsvlist{\@elements@getelconf@aux}{#1}% } + \newrobustcmd*\@elements@getelconf@aux[1]{% \stepcounter{@elements@shell@number}% \setcounter{@elements@orbital@type}{0}% \@elements@parse@elconf#1+\q@stop } + \protected\def\@elements@parse@elconf#1+#2\q@stop{% \eappto\@elements@current@elconf{\arabic{@elements@shell@number}}% - \ifcase\value{@elements@orbital@type}\relax - \appto\@elements@current@elconf{s}% - \or - \appto\@elements@current@elconf{p}% - \or - \appto\@elements@current@elconf{d}% - \or - \appto\@elements@current@elconf{f}% - \fi + \eappto\@elements@current@elconf + {\expandonce{\csname @elements@angmom@\arabic{@elements@orbital@type}\endcsname}}% \appto\@elements@current@elconf{^{#1}}% \stepcounter{@elements@orbital@type}% \ifblank{#2} @@ -282,130 +277,42 @@ \newrobustcmd*\@elements@write@elconf[1]{\ensuremath{#1}} -% -------------------------------------------------------------------------- -% declare electron distributions -% period 1 -\DeclareElectronDistribution{1}{1} -\DeclareElectronDistribution{2}{2}% He -% period 2 -\DeclareElectronDistribution{3}{2,1} -\DeclareElectronDistribution{4}{2,2} -\DeclareElectronDistribution{5}{2,2+1} -\DeclareElectronDistribution{6}{2,2+2} -\DeclareElectronDistribution{7}{2,2+3} -\DeclareElectronDistribution{8}{2,2+4} -\DeclareElectronDistribution{9}{2,2+5} -\DeclareElectronDistribution{10}{2,2+6}% Ne -% period 3 -\DeclareElectronDistribution{11}{2,2+6,1} -\DeclareElectronDistribution{12}{2,2+6,2} -\DeclareElectronDistribution{13}{2,2+6,2+1} -\DeclareElectronDistribution{14}{2,2+6,2+2} -\DeclareElectronDistribution{15}{2,2+6,2+3} -\DeclareElectronDistribution{16}{2,2+6,2+4} -\DeclareElectronDistribution{17}{2,2+6,2+5} -\DeclareElectronDistribution{18}{2,2+6,2+6}% Ar -% period 4 -\DeclareElectronDistribution{19}{2,2+6,2+6,1} -\DeclareElectronDistribution{20}{2,2+6,2+6,2} -\DeclareElectronDistribution{21}{2,2+6,2+6+1,2} -\DeclareElectronDistribution{22}{2,2+6,2+6+2,2} -\DeclareElectronDistribution{23}{2,2+6,2+6+3,2} -\DeclareElectronDistribution{24}{2,2+6,2+6+5,1} -\DeclareElectronDistribution{25}{2,2+6,2+6+5,2} -\DeclareElectronDistribution{26}{2,2+6,2+6+6,2} -\DeclareElectronDistribution{27}{2,2+6,2+6+7,2} -\DeclareElectronDistribution{28}{2,2+6,2+6+8,2} -\DeclareElectronDistribution{29}{2,2+6,2+6+10,1} -\DeclareElectronDistribution{30}{2,2+6,2+6+10,2} -\DeclareElectronDistribution{31}{2,2+6,2+6+10,2+1} -\DeclareElectronDistribution{32}{2,2+6,2+6+10,2+2} -\DeclareElectronDistribution{33}{2,2+6,2+6+10,2+3} -\DeclareElectronDistribution{34}{2,2+6,2+6+10,2+4} -\DeclareElectronDistribution{35}{2,2+6,2+6+10,2+5} -\DeclareElectronDistribution{36}{2,2+6,2+6+10,2+6}% Kr -% period 5 -\DeclareElectronDistribution{37}{2,2+6,2+6+10,2+6,1} -\DeclareElectronDistribution{38}{2,2+6,2+6+10,2+6,2} -\DeclareElectronDistribution{39}{2,2+6,2+6+10,2+6+1,2} -\DeclareElectronDistribution{40}{2,2+6,2+6+10,2+6+2,2} -\DeclareElectronDistribution{41}{2,2+6,2+6+10,2+6+4,1} -\DeclareElectronDistribution{42}{2,2+6,2+6+10,2+6+5,1} -\DeclareElectronDistribution{43}{2,2+6,2+6+10,2+6+6,1} -\DeclareElectronDistribution{44}{2,2+6,2+6+10,2+6+7,1} -\DeclareElectronDistribution{45}{2,2+6,2+6+10,2+6+8,1} -\DeclareElectronDistribution{46}{2,2+6,2+6+10,2+6+10} -\DeclareElectronDistribution{47}{2,2+6,2+6+10,2+6+10,1} -\DeclareElectronDistribution{48}{2,2+6,2+6+10,2+6+10,2} -\DeclareElectronDistribution{49}{2,2+6,2+6+10,2+6+10,2+1} -\DeclareElectronDistribution{50}{2,2+6,2+6+10,2+6+10,2+2} -\DeclareElectronDistribution{51}{2,2+6,2+6+10,2+6+10,2+3} -\DeclareElectronDistribution{52}{2,2+6,2+6+10,2+6+10,2+4} -\DeclareElectronDistribution{53}{2,2+6,2+6+10,2+6+10,2+5} -\DeclareElectronDistribution{54}{2,2+6,2+6+10,2+6+10,2+6}% Xe -% period 6 -\DeclareElectronDistribution{55}{2,2+6,2+6+10,2+6+10,2+6,1} -\DeclareElectronDistribution{56}{2,2+6,2+6+10,2+6+10,2+6,2} -\DeclareElectronDistribution{57}{2,2+6,2+6+10,2+6+10,2+6+1,2} -\DeclareElectronDistribution{58}{2,2+6,2+6+10,2+6+10+2,2+6,2} -\DeclareElectronDistribution{59}{2,2+6,2+6+10,2+6+10+3,2+6,2} -\DeclareElectronDistribution{60}{2,2+6,2+6+10,2+6+10+4,2+6,2} -\DeclareElectronDistribution{61}{2,2+6,2+6+10,2+6+10+5,2+6,2} -\DeclareElectronDistribution{62}{2,2+6,2+6+10,2+6+10+6,2+6,2} -\DeclareElectronDistribution{63}{2,2+6,2+6+10,2+6+10+7,2+6,2} -\DeclareElectronDistribution{64}{2,2+6,2+6+10,2+6+10+7,2+6+1,2} -\DeclareElectronDistribution{65}{2,2+6,2+6+10,2+6+10+9,2+6,2} -\DeclareElectronDistribution{66}{2,2+6,2+6+10,2+6+10+10,2+6,2} -\DeclareElectronDistribution{67}{2,2+6,2+6+10,2+6+10+11,2+6,2} -\DeclareElectronDistribution{68}{2,2+6,2+6+10,2+6+10+12,2+6,2} -\DeclareElectronDistribution{69}{2,2+6,2+6+10,2+6+10+13,2+6,2} -\DeclareElectronDistribution{70}{2,2+6,2+6+10,2+6+10+14,2+6,2} -\DeclareElectronDistribution{71}{2,2+6,2+6+10,2+6+10+14,2+6+1,2} -\DeclareElectronDistribution{72}{2,2+6,2+6+10,2+6+10+14,2+6+2,2} -\DeclareElectronDistribution{73}{2,2+6,2+6+10,2+6+10+14,2+6+3,2} -\DeclareElectronDistribution{74}{2,2+6,2+6+10,2+6+10+14,2+6+4,2} -\DeclareElectronDistribution{75}{2,2+6,2+6+10,2+6+10+14,2+6+5,2} -\DeclareElectronDistribution{76}{2,2+6,2+6+10,2+6+10+14,2+6+6,2} -\DeclareElectronDistribution{77}{2,2+6,2+6+10,2+6+10+14,2+6+7,2} -\DeclareElectronDistribution{78}{2,2+6,2+6+10,2+6+10+14,2+6+9,1} -\DeclareElectronDistribution{79}{2,2+6,2+6+10,2+6+10+14,2+6+10,1} -\DeclareElectronDistribution{80}{2,2+6,2+6+10,2+6+10+14,2+6+10,2} -\DeclareElectronDistribution{81}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+1} -\DeclareElectronDistribution{82}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+2} -\DeclareElectronDistribution{83}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+3} -\DeclareElectronDistribution{84}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+4} -\DeclareElectronDistribution{85}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+5} -\DeclareElectronDistribution{86}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6}% Rn -% period 7 -\DeclareElectronDistribution{87}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6,1} -\DeclareElectronDistribution{88}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6,2} -\DeclareElectronDistribution{89}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6+1,2} -\DeclareElectronDistribution{90}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6+2,2} -\DeclareElectronDistribution{91}{2,2+6,2+6+10,2+6+10+14,2+6+10+2,2+6+1,2} -\DeclareElectronDistribution{92}{2,2+6,2+6+10,2+6+10+14,2+6+10+3,2+6+1,2} -\DeclareElectronDistribution{93}{2,2+6,2+6+10,2+6+10+14,2+6+10+4,2+6+1,2} -\DeclareElectronDistribution{94}{2,2+6,2+6+10,2+6+10+14,2+6+10+6,2+6,2} -\DeclareElectronDistribution{95}{2,2+6,2+6+10,2+6+10+14,2+6+10+7,2+6,2} -\DeclareElectronDistribution{96}{2,2+6,2+6+10,2+6+10+14,2+6+10+7,2+6+1,2} -\DeclareElectronDistribution{97}{2,2+6,2+6+10,2+6+10+14,2+6+10+9,2+6,2} -\DeclareElectronDistribution{98}{2,2+6,2+6+10,2+6+10+14,2+6+10+10,2+6,2} -\DeclareElectronDistribution{99}{2,2+6,2+6+10,2+6+10+14,2+6+10+11,2+6,2} -\DeclareElectronDistribution{100}{2,2+6,2+6+10,2+6+10+14,2+6+10+12,2+6,2} -\DeclareElectronDistribution{101}{2,2+6,2+6+10,2+6+10+14,2+6+10+13,2+6,2} -\DeclareElectronDistribution{102}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6,2} -\DeclareElectronDistribution{103}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+1,2} -\DeclareElectronDistribution{104}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+2,2} -\DeclareElectronDistribution{105}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+3,2} -\DeclareElectronDistribution{106}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+4,2} -\DeclareElectronDistribution{107}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+5,2} -\DeclareElectronDistribution{108}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+6,2} -\DeclareElectronDistribution{109}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+7,2} -\DeclareElectronDistribution{110}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+9,1} -\DeclareElectronDistribution{111}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+10,1} -\DeclareElectronDistribution{112}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+10,2} +% #1: type +% #2: output (in math mode) +\newrobustcmd*\setangularmomentum[2]{% + \csdef{@elements@angmom@#1}{\printangularmomentum{#2}}% +} + +\setangularmomentum{0}{s} +\setangularmomentum{1}{p} +\setangularmomentum{2}{d} +\setangularmomentum{3}{f} +\setangularmomentum{4}{g} +\setangularmomentum{5}{h} + +\newcommand*\printangularmomentum[1]{\mathrm{#1}} % -------------------------------------------------------------------------- -% declare atom symbols +% extendable language settings +\RequirePackage{translations} +\AfterEndPreamble{ + % this will load a file `elements_elements_<lang>.def', <lang> is a + % `translations' base language + % currently German, English, and French are available, English being the + % fallback; other languages are added by providing the corresponding file + \ifdef\@elements@language + {\edef\@elements@language{\@trnslt@language{\@elements@language}}} + {\def\@elements@language{\@trnslt@language{\@trnslt@current@language}}} + \InputIfFileExists + {elements_names_\@elements@language.def} + {} + {\input{elements_names_english.def}} +} + +% ========================================================================== +% define the elements properties for elements 1 -- 112 +% +% declare atom symbols: \DeclareAtomSymbol{1}{H} \DeclareAtomSymbol{2}{He} @@ -526,7 +433,129 @@ \DeclareAtomSymbol{112}{Cn} % -------------------------------------------------------------------------- +% declare electron distributions: +% period 1 +\DeclareElectronDistribution{1}{1} +\DeclareElectronDistribution{2}{2}% He +% period 2 +\DeclareElectronDistribution{3}{2,1} +\DeclareElectronDistribution{4}{2,2} +\DeclareElectronDistribution{5}{2,2+1} +\DeclareElectronDistribution{6}{2,2+2} +\DeclareElectronDistribution{7}{2,2+3} +\DeclareElectronDistribution{8}{2,2+4} +\DeclareElectronDistribution{9}{2,2+5} +\DeclareElectronDistribution{10}{2,2+6}% Ne +% period 3 +\DeclareElectronDistribution{11}{2,2+6,1} +\DeclareElectronDistribution{12}{2,2+6,2} +\DeclareElectronDistribution{13}{2,2+6,2+1} +\DeclareElectronDistribution{14}{2,2+6,2+2} +\DeclareElectronDistribution{15}{2,2+6,2+3} +\DeclareElectronDistribution{16}{2,2+6,2+4} +\DeclareElectronDistribution{17}{2,2+6,2+5} +\DeclareElectronDistribution{18}{2,2+6,2+6}% Ar +% period 4 +\DeclareElectronDistribution{19}{2,2+6,2+6,1} +\DeclareElectronDistribution{20}{2,2+6,2+6,2} +\DeclareElectronDistribution{21}{2,2+6,2+6+1,2} +\DeclareElectronDistribution{22}{2,2+6,2+6+2,2} +\DeclareElectronDistribution{23}{2,2+6,2+6+3,2} +\DeclareElectronDistribution{24}{2,2+6,2+6+5,1} +\DeclareElectronDistribution{25}{2,2+6,2+6+5,2} +\DeclareElectronDistribution{26}{2,2+6,2+6+6,2} +\DeclareElectronDistribution{27}{2,2+6,2+6+7,2} +\DeclareElectronDistribution{28}{2,2+6,2+6+8,2} +\DeclareElectronDistribution{29}{2,2+6,2+6+10,1} +\DeclareElectronDistribution{30}{2,2+6,2+6+10,2} +\DeclareElectronDistribution{31}{2,2+6,2+6+10,2+1} +\DeclareElectronDistribution{32}{2,2+6,2+6+10,2+2} +\DeclareElectronDistribution{33}{2,2+6,2+6+10,2+3} +\DeclareElectronDistribution{34}{2,2+6,2+6+10,2+4} +\DeclareElectronDistribution{35}{2,2+6,2+6+10,2+5} +\DeclareElectronDistribution{36}{2,2+6,2+6+10,2+6}% Kr +% period 5 +\DeclareElectronDistribution{37}{2,2+6,2+6+10,2+6,1} +\DeclareElectronDistribution{38}{2,2+6,2+6+10,2+6,2} +\DeclareElectronDistribution{39}{2,2+6,2+6+10,2+6+1,2} +\DeclareElectronDistribution{40}{2,2+6,2+6+10,2+6+2,2} +\DeclareElectronDistribution{41}{2,2+6,2+6+10,2+6+4,1} +\DeclareElectronDistribution{42}{2,2+6,2+6+10,2+6+5,1} +\DeclareElectronDistribution{43}{2,2+6,2+6+10,2+6+6,1} +\DeclareElectronDistribution{44}{2,2+6,2+6+10,2+6+7,1} +\DeclareElectronDistribution{45}{2,2+6,2+6+10,2+6+8,1} +\DeclareElectronDistribution{46}{2,2+6,2+6+10,2+6+10} +\DeclareElectronDistribution{47}{2,2+6,2+6+10,2+6+10,1} +\DeclareElectronDistribution{48}{2,2+6,2+6+10,2+6+10,2} +\DeclareElectronDistribution{49}{2,2+6,2+6+10,2+6+10,2+1} +\DeclareElectronDistribution{50}{2,2+6,2+6+10,2+6+10,2+2} +\DeclareElectronDistribution{51}{2,2+6,2+6+10,2+6+10,2+3} +\DeclareElectronDistribution{52}{2,2+6,2+6+10,2+6+10,2+4} +\DeclareElectronDistribution{53}{2,2+6,2+6+10,2+6+10,2+5} +\DeclareElectronDistribution{54}{2,2+6,2+6+10,2+6+10,2+6}% Xe +% period 6 +\DeclareElectronDistribution{55}{2,2+6,2+6+10,2+6+10,2+6,1} +\DeclareElectronDistribution{56}{2,2+6,2+6+10,2+6+10,2+6,2} +\DeclareElectronDistribution{57}{2,2+6,2+6+10,2+6+10,2+6+1,2} +\DeclareElectronDistribution{58}{2,2+6,2+6+10,2+6+10+2,2+6,2} +\DeclareElectronDistribution{59}{2,2+6,2+6+10,2+6+10+3,2+6,2} +\DeclareElectronDistribution{60}{2,2+6,2+6+10,2+6+10+4,2+6,2} +\DeclareElectronDistribution{61}{2,2+6,2+6+10,2+6+10+5,2+6,2} +\DeclareElectronDistribution{62}{2,2+6,2+6+10,2+6+10+6,2+6,2} +\DeclareElectronDistribution{63}{2,2+6,2+6+10,2+6+10+7,2+6,2} +\DeclareElectronDistribution{64}{2,2+6,2+6+10,2+6+10+7,2+6+1,2} +\DeclareElectronDistribution{65}{2,2+6,2+6+10,2+6+10+9,2+6,2} +\DeclareElectronDistribution{66}{2,2+6,2+6+10,2+6+10+10,2+6,2} +\DeclareElectronDistribution{67}{2,2+6,2+6+10,2+6+10+11,2+6,2} +\DeclareElectronDistribution{68}{2,2+6,2+6+10,2+6+10+12,2+6,2} +\DeclareElectronDistribution{69}{2,2+6,2+6+10,2+6+10+13,2+6,2} +\DeclareElectronDistribution{70}{2,2+6,2+6+10,2+6+10+14,2+6,2} +\DeclareElectronDistribution{71}{2,2+6,2+6+10,2+6+10+14,2+6+1,2} +\DeclareElectronDistribution{72}{2,2+6,2+6+10,2+6+10+14,2+6+2,2} +\DeclareElectronDistribution{73}{2,2+6,2+6+10,2+6+10+14,2+6+3,2} +\DeclareElectronDistribution{74}{2,2+6,2+6+10,2+6+10+14,2+6+4,2} +\DeclareElectronDistribution{75}{2,2+6,2+6+10,2+6+10+14,2+6+5,2} +\DeclareElectronDistribution{76}{2,2+6,2+6+10,2+6+10+14,2+6+6,2} +\DeclareElectronDistribution{77}{2,2+6,2+6+10,2+6+10+14,2+6+7,2} +\DeclareElectronDistribution{78}{2,2+6,2+6+10,2+6+10+14,2+6+9,1} +\DeclareElectronDistribution{79}{2,2+6,2+6+10,2+6+10+14,2+6+10,1} +\DeclareElectronDistribution{80}{2,2+6,2+6+10,2+6+10+14,2+6+10,2} +\DeclareElectronDistribution{81}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+1} +\DeclareElectronDistribution{82}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+2} +\DeclareElectronDistribution{83}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+3} +\DeclareElectronDistribution{84}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+4} +\DeclareElectronDistribution{85}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+5} +\DeclareElectronDistribution{86}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6}% Rn +% period 7 +\DeclareElectronDistribution{87}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6,1} +\DeclareElectronDistribution{88}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6,2} +\DeclareElectronDistribution{89}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6+1,2} +\DeclareElectronDistribution{90}{2,2+6,2+6+10,2+6+10+14,2+6+10,2+6+2,2} +\DeclareElectronDistribution{91}{2,2+6,2+6+10,2+6+10+14,2+6+10+2,2+6+1,2} +\DeclareElectronDistribution{92}{2,2+6,2+6+10,2+6+10+14,2+6+10+3,2+6+1,2} +\DeclareElectronDistribution{93}{2,2+6,2+6+10,2+6+10+14,2+6+10+4,2+6+1,2} +\DeclareElectronDistribution{94}{2,2+6,2+6+10,2+6+10+14,2+6+10+6,2+6,2} +\DeclareElectronDistribution{95}{2,2+6,2+6+10,2+6+10+14,2+6+10+7,2+6,2} +\DeclareElectronDistribution{96}{2,2+6,2+6+10,2+6+10+14,2+6+10+7,2+6+1,2} +\DeclareElectronDistribution{97}{2,2+6,2+6+10,2+6+10+14,2+6+10+9,2+6,2} +\DeclareElectronDistribution{98}{2,2+6,2+6+10,2+6+10+14,2+6+10+10,2+6,2} +\DeclareElectronDistribution{99}{2,2+6,2+6+10,2+6+10+14,2+6+10+11,2+6,2} +\DeclareElectronDistribution{100}{2,2+6,2+6+10,2+6+10+14,2+6+10+12,2+6,2} +\DeclareElectronDistribution{101}{2,2+6,2+6+10,2+6+10+14,2+6+10+13,2+6,2} +\DeclareElectronDistribution{102}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6,2} +\DeclareElectronDistribution{103}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+1,2} +\DeclareElectronDistribution{104}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+2,2} +\DeclareElectronDistribution{105}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+3,2} +\DeclareElectronDistribution{106}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+4,2} +\DeclareElectronDistribution{107}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+5,2} +\DeclareElectronDistribution{108}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+6,2} +\DeclareElectronDistribution{109}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+7,2} +\DeclareElectronDistribution{110}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+9,1} +\DeclareElectronDistribution{111}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+10,1} +\DeclareElectronDistribution{112}{2,2+6,2+6+10,2+6+10+14,2+6+10+14,2+6+10,2} +% -------------------------------------------------------------------------- +% declare isotope lists: \DeclareAtomIsotopes{1} {!1,2,3} \DeclareAtomIsotopes{2} {3,!4,5,6} @@ -667,22 +696,6 @@ \DeclareAtomIsotopes{112}{277,283,285} % -------------------------------------------------------------------------- -% extendable language settings -\RequirePackage{translations} -\AfterEndPreamble{ - % this will load a file `elements_elements_<lang>.def', <lang> is a - % `translations' base language - % currently German, English, and French are available, English being the - % fallback; other languages are added by providing the corresponding file - \ifdef\@elements@language - {\edef\@elements@language{\@trnslt@language{\@elements@language}}} - {\def\@elements@language{\@trnslt@language{\@trnslt@current@language}}} - \InputIfFileExists - {elements_names_\@elements@language.def} - {} - {\input{elements_names_english.def}} -} - \endinput HISTORY: @@ -692,4 +705,6 @@ HISTORY: 2015/11/24 v0.1c - small code improvements 2016/04/17 v0.1d - minor fix in French translations - new macro \mainelementisotope - +2016/05/15 v0.2 - new macro \setangularmomentum + - new macro \printangularmomentum + - add spanish language -- thanks to Schmidt Cristian Hernan |