Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/hepparticles

hepparticles --- for typesetting high energy particle names
by Andy Buckley <andy@insectnation.org>

hepparticles is a set of macros for typesetting high energy particle names. It
provides a robust and consistent structure within which to typeset the names and
along the way solves many problems with alignment and text styles which
otherwise make themselves known.

Chief amongst the problems solved by hepparticles is that the boldness of
particle names typeset in math mode when used in section titles, headers and
tables of contents disappears. hepparticles ensures that particle names remain
bold, italic, or in sans-serif font to match the surrounding font context. The
typesetting convention by default uses upright names for "concrete" particles
and italic type for generic particle labels but the convention can be specified
at package-include time, making this package suitable for use with journals
which require alternative styles.

hepparticles also applies small but significant horizontal shifts to sub- and
super-scripts and overlines and tildes for antiparticles and supersymmetric
particles respectively (as well as the extremely rarely used SUSY
antiparticles!) and makes use of the subdepth package to ensure that all particle
name sub- and super-scripts are typeset at the same heights.

Fuller documentation for this package can be found in the files
hepparticles.{ps,pdf}, distributed with the package and some examples (used for
debugging) are in testhepparticles.{ps,pdf}, with source code in

You may also be interested in the hepnames package, which uses this one to
define a large set of standard particle names.

This material is subject to the LaTeX Project Public License.  See
http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the
details of that license.

Author: Andy Buckley <andy@insectnation.org>

Down­load the con­tents of this pack­age in one zip archive (86.8k).

HEP­par­ti­cles – Macros for type­set­ting high en­ergy physics par­ti­cle names

HEP­par­ti­cles is a set of macros for type­set­ting high en­ergy par­ti­cle names, to meet the fol­low­ing cri­te­ria:

1. The main par­ti­cle name is a Ro­man or Greek sym­bol, to be type­set in up­right font in nor­mal con­texts.

2. Ad­di­tion­ally a su­per­script and/or sub­script may fol­low the main sym­bol.

3. Par­ti­cle res­o­nances may also have a res­o­nance spec­i­fier which is type­set in paren­the­ses fol­low­ing the main sym­bol. In gen­eral the paren­the­ses may also be fol­lowed by sub- and su­per­scripts.

4. The par­ti­cle names are ex­pected to be used both in and out of math­e­mat­i­cal con­texts.

5. If the sur­round­ing text is bold or italic then the par­ti­cle name should adapt to that con­text as best as pos­si­ble (this may not be pos­si­ble for Greek sym­bols).

A con­se­quence of point 5 is that the well-known prob­lems with bold­ness of par­ti­cle names in sec­tion ti­tles, head­ers and ta­bles of con­tents au­to­mat­i­cally dis­ap­pear if these macros are used.

Li­censeThe LaTeX Project Public Li­cense
Main­tainerAndy Buck­ley
Con­tained inTeX Live as hep­par­ti­cles
MiKTeX as hep­par­ti­cles
Topics sup­port for type­set­ting physics doc­u­ments
See also maybemath
Guest Book Sitemap Contact Contact Author