Debian Codegraph @

texmf-dist/doc/otherformats/texsis/base/TXSsymb.doc

raw
1 %% file: TXSsymb.doc - Special Symbols - TeXsis version 2.18
2 %% @(#) $Id: TXSsymb.doc,v 18.2 2000/05/17 00:19:46 myers Exp $
3 %======================================================================*
4 % (C) Copyright 1989, 1992, 1995, 1997 by Eric Myers and Frank E. Paige
5 % This file is a part of TeXsis. Distribution and/or modifications
6 % are allowed under the terms of the LaTeX Project Public License (LPPL).
7 % See the file COPYING or ftp://ftp.texsis.org/texsis/LPPL
8 %======================================================================*
9 \ifx\undefined\meta \texsis\input TXSdocM.doc\input Manual.aux\draft\fi
10
11 \subsection{Special Symbols \label{sect.symb}}
12
13 \TeXsis\ defines some special symbols and other constructions which
14 are not included in plain \TeX\ and which either are commonly used
15 by physicists or are not trivial to construct. The following
16 macros, which are listed here by related groups, provide these
17 additional special symbols for use in equations:
18 \index{symbols!physics}
19 \bigskip
20 \itemize
21 \itm \CS{bra}\arg{text} and \CS{ket}\arg{text} produce the
22 notations $\bra{\hbox{\it text}}$ and $\ket{\hbox{\it text}}$
23 respectively for quantum mechanical states. \CS{vev}\arg{text}
24 produces $\vev{\hbox{\it text}}$ for a VEV (\idx{Vacuum Expectation Value}).
25
26 \itm \CS{del}, \CS{grad}, and \CS{square} produce the notations
27 $\del$, $\grad$, and $\square$ for various derivatives. (The first two
28 are just synonyms for \cs{partial} and \cs{nabla}.)
29
30 \itm \CS{degrees} is the degrees symbol. For example, |90\degrees|
31 produces ``90\degrees''. You can use \CS{degree} as a synonym. These
32 work equally well in math or text mode.
33
34 \itm \CS{frac}\arg{numerator}\arg{denominator} produces the fraction
35 |{|\<numerator> |\over| \<de\-nomi\-nator>|}|, while
36 \hskip 0pt plus 6pt\CS{smallfrac}\arg{numerator}\arg{denominator}
37 \hskip 0pt plus 6pt
38 produces the same fraction in the smaller
39 subscript style type. \CS{half} produces a $\half$ in a size appropriate
40 to its usage.
41
42 \itm \CS{simle} and \CS{simge} make the symbols $\simle$ and
43 $\simge$ to indicate "less than about" and "greater than about,"
44 respectively. Synonyms for these are \CS{ltsim} and \CS{gtsim}.
45
46 \itm \CS{parenbar} puts a bar in parentheses above a character;
47 this is often used to indicate either a particle or its antiparticle.
48 \CS{nunubar} and \CS{ppbar} are special cases. Thus
49 \TeXexample
50 $$ n \parenbar{n} \qquad \nu \nunubar \qquad p \ppbar $$
51 |endTeXexample
52 gives
53 $$
54 n \parenbar{n} \qquad \nu \nunubar \qquad p \ppbar
55 $$
56
57 \goodbreak
58
59 \itm \CS{subrightarrow}\arg{text} puts the text under a right
60 arrow of the appropriate length. Thus
61 \TeXexample
62 $$ f(x) \subrightarrow{x \to 0} f(0) $$
63 |endTeXexample
64 gives
65 $$
66 f(x) \subrightarrow{x \to 0} f(0)
67 $$
68
69 \itm \CS{buildchar}\arg{\#1}\arg{\#2}\arg{\#3} gives character |#1| with
70 |#2| above it and |#3| below it, allowing the construction of a variety
71 of special symbols. \CS{overcirc} is a special case of this which puts
72 a small circle above a character, as in $\overcirc R$. This is often
73 used in general relativity and related fields.
74
75 \itm \CS{vbigl}\arg{delim}\arg{size} and
76 \CS{vbigr}\arg{delim}\arg{size} produce very (or variably) big
77 delimiters, generalizing the Plain \TeX\ macros \cs{bigl}, \cs{Bigr},
78 etc. They produce, respectively, the left and right delimiters
79 \meta{delim} with height \meta{size}, which can be given in pt., cm.,
80 in., or any other valid units. Any valid delimiter may be used, but you
81 must be careful if you use parentheses and automatic parenthesis sizing
82 is also in effect (\Sect{paren}), because these conflict. You must
83 either turn off automatic parenthesis sizing (with \cs{offparens}) or
84 use \cs{lparen} or \cs{rparen} in place of `|(|' and `|)|'.
85
86 \itm \CS{Leftcases}\arg{size} and \CS{Rightcases}\arg{size} give left
87 and right braces of size \meta{size} smashed to zero height; these can
88 be used in place of the \cs{cases} of Plain \TeX\ when it is desired to
89 put an equation number on each line. For example,
90 \TeXexample
91 |smalltt$$\EQNalign{
92 m_e &= ~.511~\MeV \EQN lep;a \cr
93 m_\mu &= ~105~\MeV
94 \quad \Rightcases{50pt} \quad {\rm Leptons}
95 \EQN lep;b \cr
96 m_\tau &= 1784~\MeV \EQN lep;c \cr}
97 $$
98 |endTeXexample
99 gives\index{equations!alignment}
100 $$\EQNalign{
101 m_e &= ~.511~\MeV \EQN lep;a \cr
102 m_\mu &= ~105~\MeV
103 \quad \Rightcases{50pt} \quad {\rm Leptons}
104 \EQN lep;b \cr
105 m_\tau &= 1784~\MeV \EQN lep;c \cr}
106 $$
107 Note that |\Leftcases| and |\Rightcases| do not provide automatic
108 spacing, which must be adjusted by the user as in the previous example.
109 There seems to be no simple way to obtain automatic spacing and to
110 allow an equation number on each line.
111
112
113 \itm \CS{sterling} produces the British currency mark \sterling.
114
115 \itm The astronomical symbols for the sun and the earth are
116 \CS{sun} and \CS{earth}. For example, |$M_\sun$| and |$M_\earth$| give
117 $M_\sun$ and $M_\earth$. You can also use them outside of math mode.
118
119
120 \itm \CS{dimensions}\arg{units}\arg{power} is used for dimensional
121 analysis. The units appear in square brackets, raised to the given
122 power. For example to produce \dimensions{mass}{-3} you would type
123 |\dimensions{mass}{-3}|.
124
125 \itm \CS{slashchar}\arg{letter} puts a slash through a character, the
126 notation for the contraction of a vector with Dirac $\gamma$ matrices
127 in Feynman graphs. For example
128 \TeXexample
129 $$ {\cal L} =
130 \bar\psi[i\slashchar{\partial} - e\slashchar{A}-m]\psi $$
131 |endTeXexample
132 gives
133 $$
134 {\cal L} =
135 \bar\psi[i\slashchar{\partial} - e\slashchar{A}-m]\psi
136 \,.
137 $$
138 The results produced by |\slashchar| are not as good as one would
139 like. You can do somewhat better by adjusting the kerning of the |/|
140 by hand for each character. For example,
141 \TeXexample
142 \def\Aslash{A\kern -0.47em/}
143 |endTeXexample
144 \def\Aslash{A\kern -0.47em/}%
145 produces ``$\Aslash$''. But note that the angle of the slash is still
146 not quite what one would like for a slashed ``$A$.'' To really get good
147 looking slashed characters someone will have to create a new slashed
148 character math font using MetaFont. Meanwhile you can get by with
149 |\slashchar| or define your own using kerning.
150
151 \enditemize
152 \bigskip\pagecheck{0.2\vsize}
153
154 Abbreviations for units are normally set in Roman type even when used
155 in formulas. Special function (e.g., sine, cosine and logarithm) or
156 operator names are also set in Roman type, and \TeXsis\ adds some new
157 names to go with the old standards.
158
159 \itemize
160 \itm \CS{Tr} and \CS{tr} give ``$\Tr$'' and ``$\tr$'' respectively for the
161 trace of an operator or of a matrix. \CS{diag} is used to denote a
162 diagonal matrix, as in $\eta_{\mu\nu}=\diag(-1,1,1,1)$.
163
164 \itm \CS{real} and \CS{imag} give the symbols $\real$ and $\imag$
165 for the real and imaginary parts of an expression; the spacing is like
166 that for any other function or operator.
167
168 \itm \CS{eV}, \CS{keV}, \CS{MeV}, \CS{GeV}, and \CS{TeV} give the
169 abbreviations for energy units $\eV$, $\keV$, $\MeV$, $\GeV$, and
170 $\TeV$ respectively.
171
172 \itm \CS{mb}, \CS{mub}, \CS{nb}, \CS{pb}, and \CS{fb} give the
173 abbreviations for cross section units $\mb$, $\mub$, $\nb$, $\pb$, and
174 $\fb$ respectively, while \CS{cmsec} gives $\cmsec$, the standard units
175 for luminosity in colliding beam accelerators.
176
177 \itm \CS{units}\arg{name} is a generic macro to print in Roman type
178 the name of any units not covered by the macros above. For example,
179 you can say \CS{units}|{furlongs}| and \CS{units}|{fortnights}|
180 if you are using that particular system of units.
181 \enditemize
182
183
184
185 Note that all of the abbreviations for units above are defined
186 without any spacing; to produce
187 $$
188 {\cal L} = 10^{33}\,\cmsec, \qquad p_\perp = 8.3\,\GeV
189 $$
190 you should type
191 \TeXexample
192 $$
193 {\cal L} = 10^{33}\,\cmsec, \qquad p_\perp = 8.3\,\GeV
194 $$
195 |endTeXexample
196 with a |\,| to make a thin space between the number and the units.
197
198
199 %>>> EOF TXSsymb.doc <<<