• No results found

The hepparticles package for L A TEX

N/A
N/A
Protected

Academic year: 2021

Share "The hepparticles package for L A TEX"

Copied!
4
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The hepparticles package for L A TEX

Describing hepparticles version 2.0

Andy Buckley, andy@insectnation.org December 1, 2014

Abstract

This package provides macros for typesetting high energy physics particle names in a consistent, semantic and aesthetically pleasing manner, as well as fixing problems with math-mode boldness problems in section titles. You may also be interested in the heppennames and hepnicenames packages, which use this one to provide a large set of pre-existing particle names.

This document describes version 2.0, which significantly improves the output quality over versions 1.x, removes several macros & package options, and changes dependen- cies.

1 Motivation

Typesetting the names of high-energy fundamental particles (and their elementary com- posites) is well-defined by a set of rules:

• The basic particle name consists of a large Roman or Greek symbol with optional following sub- and super-scripts.

• Depending on convention, the symbols for particles are either italic or upright. Using the latter convention, the symbols should be upright when describing a specific parti- cle; if describing a generic class of particles they should be italicised (where possible).

In italic and bold contexts the symbols should adapt by becoming bold and italic themselves where possible.

• Anti-particles are written with a bar on top of the main symbol (but for aesthetic reasons the bar does not extend above the sub- and super-scripts.

1

(2)

• Supersymmetric partners of Standard Model particles are written as for anti-particles but with a tilde in place of the bar. SUSY anti-particles (though the use of symbols to represent them is currently uncommon) may be written with a bar above the tilde.

• Resonant states may sport an extra resonance specifier consisting of a value in paren- theses and optional following sub- and super-scripts. This follows the main particle name.

Several issues arise when typesetting these particle names in standard L

A

TEX: for starters the requirement of sub- and super-scripts and the need to use Greek symbols forces us into math mode. But math mode does not usually follow the surrounding text context for boldness and italicism: this has been fixed in this specific case by use of the maybemath package. Secondly, the positions of super-scripts with overlines and tildes are affected: this is also corrected by this package. By request, the particle typesetting con- ventions may be specified as a package option. All the hepparticles commands may be used either in or out of math mode.

2 Commands

• For generic particle names e.g. all positively charged leptons:

\HepGenParticle{main }{subscript }{superscript }

\HepGenAntiParticle{main }{subscript }{superscript }

• For concrete particle names:

\HepParticle{main }{subscript }{superscript }

\HepAntiParticle{main }{subscript }{superscript }

• For supersymmetric “sparticles”:

\HepGenSusyParticle{main }{subscript }{superscript }

\HepSusyParticle{main }{subscript }{superscript }

\HepGenSusyAntiParticle{main }{subscript }{superscript }

\HepSusyAntiParticle{main }{subscript }{superscript }

• For resonance specifiers (just the extra terms):

\HepResonanceMassTerm{mainterm }{subscript }{superscript }

\HepResonanceSpecTerm{mainterm }{subscript }{superscript }

2

(3)

• For a full particle name and resonance specification:

\HepParticleResonance{name }{mass }{massSub }{massSup }

\HepParticleResonanceFull{main }{sub }{sup }{mass }{massSub }{massSup }

\HepParticleResonanceFormal{name }\

{mass }{massSub }{massSup }{spec }{specSub }{specSup }

\HepParticleResonanceFormalFull{main }{sub }{sup }\

{mass }{massSub }{massSup }{spec }{specSub }{specSup } (hurrah, we hit the TEX 9-argument limit!)

• And finally, for containing processes describing particle evolution:

\HepProcess{iParticles \to fParticles }.

These commands respectively typeset particle names like this:

• Normal particles: B

0d

, B

0d

• Generic particles: q

d

, ℓ

µ

• SUSY particles: eχ

1

, eq

2

• Resonances: J/ψ(1S)

• Process: B

0d

→ K

π

+

.

3 Package options

By request, the package can typeset particles in italic as well as upright convention. The choice of convention can be made when the package is loaded with the italic option, i.e.

\usepackage[italic]{hepparticles}. The default mode is upright.

The forceit, maybess and noss options have been removed in version 2.0.

4 Installation

Requirements: You will need to be using a L

A

TEX 2ε system to use hepparticles.

Hopefully this isn’t a problem — I wasn’t feeling up to writing a Plain TEX version!

hepparticles 2.0 requires the subdepth package.

3

(4)

To install, simply copy the hepparticles.sty file into a location in your LATEXINPUTS path. Tada!

5 Credit where it’s due. . .

Thanks to Viet-Trung Luu for providing the initial “way forward” when writing this pack- age: his solution, in expanded form, made its way into what is now the maybemath package.

Thanks also to Heiko Oberdiek and Donald Arseneau for showing how to stop the \mspaces from turning up in PDF bookmarks generated by hyperref. Philip Ratcliffe provided the hack that moves over-lines slightly to the right for use with italic particle symbols. In version 2.0 I owe a great deal to the subdepth package

Any feedback is appreciated! Email to andy@insectnation.org, please.

4

Referenties

GERELATEERDE DOCUMENTEN

The etex package has been available to provided an allocation mechanism for these extended registers but now the format will by default allocate in a range suitable for the engine

2 Improving Unicode handling in pdfTEX 2 Improving file name handling in pdfTEX 2 Improving the filecontents environment 2 Making more user commands robust 2 Other changes to the L

Extending the font series management in NFSS Many of the newer font families also come provided with additional weights (thin, semi-bold, ultra-bold, etc.) or several running

This is an example document for the achemso document class, intended for sub- missions to the American Chemical Society for publication.. The class is based on the standard L A TEX

When an acronym is being used, for the first time (with the footnote option not specified), next to the end of the line, a line break between the full name of the acronym and

6 Overall separate bibliography: If you want a completely unrelated bibliography in the root file, perhaps for a general read- ing list, you can provide your own bibliography

This package helps you write source code in your articles and make sure it looks nice.. 3

Unlike amsart, ijmart allows the command \thanks inside \title and \author commands.. However, the footnote belongs to the title typeset in the top matter, not to the running