latex package for NE?

8 views
Skip to first unread message

rachel slaybaugh

unread,
Aug 25, 2016, 5:07:34 PM8/25/16
to hacker...@googlegroups.com, pyne...@googlegroups.com, PyNE Users, neutronics, JR Powers-Luhn
Hi,

Does anyone know a tex package for nuclear? In particular, one that does decay chains well? JR (copied) is a new grad student at UTK who asked--and it occurred to me that this would be useful for many of us to know, so I'm asking my computational hive mind :)


Thanks!
Rachel

Katy Huff

unread,
Aug 25, 2016, 5:24:31 PM8/25/16
to rachel slaybaugh, hacker...@googlegroups.com, pyne...@googlegroups.com, PyNE Users, neutronics, JR Powers-Luhn
I've had good luck with mchem for typesetting nuclide names, but I've never had to typeset decay chains..

--
You received this message because you are subscribed to the Google Groups "neutr...@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neutronics+unsubscribe@lists.berkeley.edu.
Visit this group at https://groups.google.com/a/lists.berkeley.edu/group/neutronics/.
For more options, visit https://groups.google.com/a/lists.berkeley.edu/d/optout.



--

Thad Heltemes

unread,
Aug 26, 2016, 12:20:09 PM8/26/16
to Hacker Within Google Group, rachel slaybaugh, pyne...@googlegroups.com, PyNE Users, neutronics, JR Powers-Luhn
I haven't had to typeset full decay chains either. I used this in my dissertation (xelatex+withesis.cls):

\newcommand{\leftexp}[2]{{\vphantom{#2}}^{#1}{#2}}
\newcommand{\isotope}[2]{\leftexp{\text{#2}}{\text{#1}}}

and used it in this context:

\begin{equation}
\begin{split}
\isotope{H}{2} + \isotope{H}{2} & \xrightarrow{50\%} \isotope{H}{3} (1.01~\textrm{MeV}) + \isotope{H}{1} (3.02~\textrm{MeV}) \\
             & \xrightarrow{50\%} \isotope{He}{3} (0.82~\textrm{MeV}) + \textrm{n} (2.45~\textrm{MeV})
\end{split}
\end{equation}

Inline image 1

This could be modified to include Z and N numbers. Anything fancier than this would probably require TikZ or inkscape.

---
Thad Heltemes, Ph.D.

http://theltemes.net

--
You received this message because you are subscribed to the Google Groups "Hacker Within" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hacker-within+unsubscribe@googlegroups.com.
To post to this group, send email to hacker...@googlegroups.com.
Visit this group at https://groups.google.com/group/hacker-within.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages