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 | |
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')
-rw-r--r-- | Master/texmf-dist/tex/latex/elements/elements.sty | 315 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/elements/elements_names_spanish.def | 138 |
2 files changed, 303 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 diff --git a/Master/texmf-dist/tex/latex/elements/elements_names_spanish.def b/Master/texmf-dist/tex/latex/elements/elements_names_spanish.def new file mode 100644 index 00000000000..12fa693c851 --- /dev/null +++ b/Master/texmf-dist/tex/latex/elements/elements_names_spanish.def @@ -0,0 +1,138 @@ +% -------------------------------------------------------------------------- +% the ELEMENTS package +% +% retrieve different properties of chemical elements +% +% -------------------------------------------------------------------------- +% Clemens Niederberger +% Web: https://github.com/cgnieder/elements/ +% E-Mail: contact@mychemistry.eu +% -------------------------------------------------------------------------- +% Copyright 2015-2016 Clemens Niederberger +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% 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. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Clemens Niederberger. +% -------------------------------------------------------------------------- +\DeclareAtomName[Hidrogeno]{1}{Hidr\'ogeno} +\DeclareAtomName{2}{Helio} +\DeclareAtomName{3}{Litio} +\DeclareAtomName{4}{Berilio} +\DeclareAtomName{5}{Boro} +\DeclareAtomName{6}{Carbono} +\DeclareAtomName[Nitrogeno]{7}{Nitr\'ogeno} +\DeclareAtomName[Oxigeno]{8}{Ox\'\i geno} +\DeclareAtomName[Fluor]{9}{Fl\'uor} +\DeclareAtomName[Neon]{10}{Ne\'on} +\DeclareAtomName{11}{Sodio} +\DeclareAtomName{12}{Magnesio} +\DeclareAtomName{13}{Aluminio} +\DeclareAtomName{14}{Silicio} +\DeclareAtomName[Fosforo]{15}{F\'osforo} +\DeclareAtomName{16}{Azufre} +\DeclareAtomName{17}{Cloro} +\DeclareAtomName[Argon]{18}{Arg\'on} +\DeclareAtomName{19}{Potasio} +\DeclareAtomName{20}{Calcio} +\DeclareAtomName{21}{Escandio} +\DeclareAtomName{22}{Titanio} +\DeclareAtomName{23}{Vanadio} +\DeclareAtomName{24}{Cromo} +\DeclareAtomName{25}{Manganeso} +\DeclareAtomName{26}{Hierro} +\DeclareAtomName{27}{Cobalto} +\DeclareAtomName[Niquel]{28}{N\'\i quel} +\DeclareAtomName{29}{Cobre} +\DeclareAtomName{30}{Zinc} +\DeclareAtomName{31}{Galio} +\DeclareAtomName{32}{Germanio} +\DeclareAtomName[Arsenico]{33}{Ars\'enico} +\DeclareAtomName{34}{Selenio} +\DeclareAtomName{35}{Bromo} +\DeclareAtomName[Kripton]{36}{Kript\'on} +\DeclareAtomName{37}{Rubidio} +\DeclareAtomName{38}{Estroncio} +\DeclareAtomName{39}{Itrio} +\DeclareAtomName{40}{Zirconio} +\DeclareAtomName{41}{Niobio} +\DeclareAtomName{42}{Molibdeno} +\DeclareAtomName{43}{Tecnecio} +\DeclareAtomName{44}{Rutenio} +\DeclareAtomName{45}{Rodio} +\DeclareAtomName{46}{Paladio} +\DeclareAtomName{47}{Plata} +\DeclareAtomName{48}{Cadmio} +\DeclareAtomName{49}{Indio} +\DeclareAtomName[Estano]{50}{Esta\~no} +\DeclareAtomName{51}{Antimonio} +\DeclareAtomName{52}{Telurio} +\DeclareAtomName{53}{Yodo} +\DeclareAtomName[Xenon]{54}{Xen\'on} +\DeclareAtomName{55}{Cesio} +\DeclareAtomName{56}{Bario} +\DeclareAtomName{57}{Lantano} +\DeclareAtomName{58}{Cerio} +\DeclareAtomName{59}{Praseodimio} +\DeclareAtomName{60}{Neodimio} +\DeclareAtomName{61}{Prometio} +\DeclareAtomName{62}{Samario} +\DeclareAtomName{63}{Europio} +\DeclareAtomName{64}{Gadolinio} +\DeclareAtomName{65}{Terbio} +\DeclareAtomName{66}{Disprosio} +\DeclareAtomName{67}{Holmio} +\DeclareAtomName{68}{Erbio} +\DeclareAtomName{69}{Tulio} +\DeclareAtomName{70}{Iterbio} +\DeclareAtomName{71}{Lutecio} +\DeclareAtomName{72}{Hafnio} +\DeclareAtomName{73}{Tantalo} +\DeclareAtomName{74}{Tungsteno} +\DeclareAtomName{75}{Renio} +\DeclareAtomName{76}{Osmio} +\DeclareAtomName{77}{Iridio} +\DeclareAtomName{78}{Platino} +\DeclareAtomName{79}{Oro} +\DeclareAtomName{80}{Mercurio} +\DeclareAtomName{81}{Talio} +\DeclareAtomName{82}{Plomo} +\DeclareAtomName{83}{Bismuto} +\DeclareAtomName{84}{Polonio} +\DeclareAtomName{85}{Astato} +\DeclareAtomName[Radon]{86}{Rad\'on} +\DeclareAtomName{87}{Francio} +\DeclareAtomName{88}{Radio} +\DeclareAtomName{89}{Actinio} +\DeclareAtomName{90}{Torio} +\DeclareAtomName{91}{Protactinio} +\DeclareAtomName{92}{Uranio} +\DeclareAtomName{93}{Neptunio} +\DeclareAtomName{94}{Plutonio} +\DeclareAtomName{95}{Americio} +\DeclareAtomName{96}{Curio} +\DeclareAtomName{97}{Berkelio} +\DeclareAtomName{98}{Californio} +\DeclareAtomName{99}{Einstenio} +\DeclareAtomName{100}{Fermio} +\DeclareAtomName{101}{Mendelevio} +\DeclareAtomName{102}{Nobelio} +\DeclareAtomName{103}{Laurencio} +\DeclareAtomName{104}{Rutherfordio} +\DeclareAtomName{105}{Dubnio} +\DeclareAtomName{106}{Seaborgio} +\DeclareAtomName{107}{Bohrio} +\DeclareAtomName{108}{Hassio} +\DeclareAtomName{109}{Meitnerio} +\DeclareAtomName{110}{Darmstadtio} +\DeclareAtomName{111}{Roentgenio} +\DeclareAtomName{112}{Copernicio} + +\endinput |