summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nucleardata/nuccommandtest.tex
blob: a149bda2926e1d1efeda820000e96a72ab926651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
\documentclass{article}
\usepackage{geometry}
\geometry{margin=0.75in}
\usepackage{nucleardata}
\usepackage{booktabs}
\usepackage{nopageno}
\begin{document}



\twocolumn[\centering Example and Test File for \texttt{nucleardata} Package]

    Commands applied to $^{~40}$Ca
    
    \begin{tabular}{cc}
\toprule          symbol & \nucsymbol{20} \\
\midrule          Z & \nucz{calcium}\\
\midrule          name & \nucname{20}\\
\midrule          Name & \nucName{20}\\
\midrule		  Spin/parity & \nucspin{20}{41}\\
\midrule          mass excess & \nucexcess{20}{41}\\
\midrule          atomic mass (u) & \nucamassu{20}{41}\\
\midrule          atomic mass (u) & \nucamassu[2]{20}{41}\\
\midrule          atomic mass (keV) & \nucamasskev{20}{41}\\
\midrule          atomic mass (keV) & \nucamasskev[2]{20}{41}\\
\midrule          atomic mass (MeV) & \nucamassmev{20}{41}\\
\midrule          atomic mass (MeV) & \nucamassmev[5]{20}{41}\\
\midrule          nuclear mass (u) & \nuclearmassu{20}{41}\\
\midrule          nuclear mass (keV) & \nuclearmasskev[1]{20}{41}\\
\midrule          nuclear mass (MeV) & \nuclearmassmev{20}{41}\\
\midrule BE/A & \nucbea{20}{41} MeV\\
\midrule          Q$_{\alpha}$ & \nucQalpha{20}{41} MeV\\
\midrule          Q$_{\beta^-}$ & \nucQbeta{20}{41} MeV\\
\midrule          Q$_{\beta^+}$ & \nucQposi{20}{41} MeV\\
\midrule        Q$_{\epsilon}$ & \nucQec{20}{41} MeV\\
\midrule        random A & \nucAran{20} \py{singleAran}\\
\bottomrule
    \end{tabular}
\newpage
Halflife Commands applied to $^{~184}$Au

    \begin{tabular}{cc}
        \toprule
        Unit & Value \\
        \midrule
        ns & \nuchalflife[ns]{Au}{184}\\
        \midrule
        us & \nuchalflife[us]{Au}{184}\\
        \midrule
        ms & \nuchalflife[ms]{Au}{184}\\
        \midrule
        s & \nuchalflife[s]{Au}{184}\\
        \midrule
        min & \nuchalflife[min]{Au}{184}\\
        \midrule
        hr & \nuchalflife[hr]{Au}{184}\\                        
        \midrule
        d & \nuchalflife[d]{Au}{184}\\
        \midrule
        y & \nuchalflife[y]{Au}{184}\\
        \midrule
        My & \nuchalflife[My]{Au}{184}\\
%        ev & \nuchalflife[ev]{Au}{184}\\
%        kev & \nuchalflife[kev]{Au}{184}\\
%        Mev & \nuchalflife[mev]{Au}{184}\\
        \bottomrule\\             
    \end{tabular}
 
 Halflife Commands applied to $^{~28}$F
 
 \begin{tabular}{cc}
 	\toprule
 	Unit & Value \\
 	\midrule
 	default & \nuchalflife{F}{28}\\
 	\midrule
 	fs & \nuchalflife[fs]{F}{28}\\
 	\midrule
 	ps & \nuchalflife[ps]{F}{28}\\
 	\midrule
 	s & \nuchalflife[s]{F}{28}\\
 	\midrule
 	min & \nuchalflife[min]{F}{28}\\
 	\midrule
 	hr & \nuchalflife[hr]{F}{28}\\                        
 	\bottomrule\\             
 \end{tabular}
    

Five randomly selected nuclides and their masses and halflives
    \nucrandom{5}
    
%    The  second chosen Z is \py{zran[1]} which is \nucname{zran[1]} with symbol \nucsymbol{zran[1]}. The randomly chosen mass number is \py{aran[1]}, and the atomic mass of $^{~\py{aran[1]}}$\nucsymbol{zran[1]} is \nucamassu{zran[1]}{aran[1]} u.
    
    \begin{tabular}{ccc}
\toprule   nuclide & mass (u) & halflife\\
\midrule  $^{~\py{aran[0]}}$\nucsymbol{zran[0]} & \nucamassu{zran[0]}{aran[0]} &  \nuchalflife{zran[0]}{aran[0]}\\
\midrule  $^{~\py{aran[1]}}$\nucsymbol{zran[1]} & \nucamassu{zran[1]}{aran[1]} & \nuchalflife{zran[1]}{aran[1]}\\
\midrule  $^{~\py{aran[2]}}$\nucsymbol{zran[2]} & \nucamassu{zran[2]}{aran[2]} & \nuchalflife{zran[2]}{aran[2]}\\
\midrule  $^{~\py{aran[3]}}$\nucsymbol{zran[3]} & \nucamassu{zran[3]}{aran[3]} & \nuchalflife{zran[3]}{aran[3]}\\
\midrule  $^{~\py{aran[4]}}$\nucsymbol{zran[4]} & \nucamassu{zran[4]}{aran[4]} & \nuchalflife{zran[4]}{aran[4]}\\
\bottomrule
    \end{tabular}

\end{document}