source: Backup NB/Talks/MEMPHYSetal/LAGUNA/EU I3/PhysicsLatex/CampagneHEP-PH-1May07/revsymb.sty

Last change on this file was 416, checked in by campagne, 16 years ago
File size: 5.0 KB
Line 
1%%
2%% This is file `revsymb.sty',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% revtex4.dtx  (with options: `revsymb')
8%%
9%% This file is part of the APS files in the REVTeX 4 distribution.
10%% For the version number, search on the string
11%% Original version by David Carlisle
12%% Modified by Arthur Ogawa (mailto:ogawa@teleport.com)
13%%
14%% Copyright (c) 1999 The American Physical Society.
15%% http://publish.aps.org/revtex4/
16%% mailto:revtex4@aps.org
17%%
18%% See the REVTeX 4 README file for restrictions and more information.
19%%
20\ProvidesPackage{revsymb}
21          [2001/08/03 v4.0 (http://publish.aps.org/revtex4/ for documentation)]%FileInfo
22\def\REVSYMB@warn#1{\PackageWarningNoLine{revsymb}{#1}}%
23\DeclareRobustCommand\lambdabar{%
24  \bgroup
25    \def\@tempa{%
26      \hbox{%
27        \raise.73\ht\z@
28        \hb@xt@\z@{%
29          \kern.25\wd\z@
30          \vrule \@width.5\wd\z@\@height.1\p@\@depth.1\p@
31          \hss
32        }%
33        \box\z@
34      }%
35    }%
36    \mathchoice
37      {\setbox\z@\hbox{$\displaystyle     \lambda$}\@tempa}%
38      {\setbox\z@\hbox{$\textstyle        \lambda$}\@tempa}%
39      {\setbox\z@\hbox{$\scriptstyle      \lambda$}\@tempa}%
40      {\setbox\z@\hbox{$\scriptscriptstyle\lambda$}\@tempa}%
41  \egroup
42}%
43\DeclareRobustCommand\openone{\leavevmode\hbox{\small1\normalsize\kern-.33em1}}%
44\DeclareRobustCommand\corresponds{\replace@command\corresponds\triangleq}%
45\DeclareRobustCommand\overcirc{\replace@command\overcirc\mathring}%
46\DeclareRobustCommand\overdots{\replace@command\overdots\dddot}%
47\DeclareRobustCommand\REV@triangleq{%
48 {\lower.2ex\hbox{=}}{\kern-.75em^\triangle}%
49}%
50\DeclareRobustCommand\REV@dddot[1]{%
51 \@ontopof{#1}{\cdots}{1.0}\mathord{\box2}%
52}%
53\DeclareRobustCommand\altsuccsim{\succ\kern-.9em_\sim\kern.3em}%
54\DeclareRobustCommand\altprecsim{\prec\kern-1em_\sim\kern.3em}%
55\let\REV@succsim\altsuccsim
56\let\REV@precsim\altprecsim
57\DeclareRobustCommand\REV@lesssim{\mathrel{\mathpalette\vereq{<}}}%
58\DeclareRobustCommand\REV@gtrsim{\mathrel{\mathpalette\vereq{>}}}%
59\DeclareRobustCommand\alt{\lesssim}
60\DeclareRobustCommand\agt{\gtrsim}
61\def\vereq#1#2{%
62 \lower3\p@\vbox{%
63  \baselineskip1.5\p@
64  \lineskip1.5\p@
65  \ialign{$\m@th#1\hfill##\hfil$\crcr#2\crcr\sim\crcr}%
66 }%
67}%
68\DeclareRobustCommand\tensor[1]{\@ontopof{#1}{\leftrightarrow}{1.15}\mathord{\box2}}
69\DeclareRobustCommand\overstar[1]{\@ontopof{#1}{\ast}{1.15}\mathord{\box2}}
70\DeclareRobustCommand\loarrow[1]{\@ontopof{#1}{\leftarrow}{1.15}\mathord{\box2}}
71\DeclareRobustCommand\roarrow[1]{\@ontopof{#1}{\rightarrow}{1.15}\mathord{\box2}}
72\def\@ontopof#1#2#3{%
73 {%
74  \mathchoice
75    {\@@ontopof{#1}{#2}{#3}\displaystyle     \scriptstyle      }%
76    {\@@ontopof{#1}{#2}{#3}\textstyle        \scriptstyle      }%
77    {\@@ontopof{#1}{#2}{#3}\scriptstyle      \scriptscriptstyle}%
78    {\@@ontopof{#1}{#2}{#3}\scriptscriptstyle\scriptscriptstyle}%
79 }%
80}%
81\def\@@ontopof#1#2#3#4#5{%
82  \setbox\z@\hbox{$#4#1$}%
83  \setbox\f@ur\hbox{$#5#2$}%
84  \setbox\tw@\null\ht\tw@\ht\z@ \dp\tw@\dp\z@
85  \@ifdim{\wd\z@>\wd\f@ur}{%
86    \setbox\f@ur\hb@xt@\wd\z@{\hss\box\f@ur\hss}%
87    \mathord{\rlap{\raise#3\ht\z@\box\f@ur}\box\z@}%
88  }{%
89    \setbox\f@ur\hb@xt@.9\wd\f@ur{\hss\box\f@ur\hss}%
90    \setbox\z@\hb@xt@\wd\f@ur{\hss$#4\relax#1$\hss}%
91    \mathord{\rlap{\copy\z@}\raise#3\ht\z@\box\f@ur}%
92  }%
93}%
94\DeclareRobustCommand\frak{%
95 \REVSYMB@warn{%
96  Command \string\frak\space unsupported:^^J%
97  please use \string\mathfrak\space instead.%
98 }%
99 \global\let\frak\mathfrak
100 \frak
101}%
102\DeclareRobustCommand\REV@mathfrak{%
103 \REVSYMB@warn{%
104  Command \string\mathfrak\space undefined:^^J%
105  please specify the amsfonts or amssymb option!%
106 }%
107 \global\let\mathfrak\@firstofone
108 \mathfrak
109}%
110\DeclareRobustCommand\Bbb{%
111 \REVSYMB@warn{%
112  Command \string\Bbb\space unsupported:^^J%
113  please use \string\mathbb\space instead.%
114 }%
115 \global\let\Bbb\mathbb
116 \Bbb
117}%
118\DeclareRobustCommand\REV@mathfrak{%
119 \REVSYMB@warn{%
120  Command \string\mathbb\space undefined:^^J%
121  please specify the amsfonts or amssymb option!%
122 }%
123 \global\let\mathbb\@firstofone
124 \mathbb
125}%
126\def\Bigglb{\REV@boldopen \Bigg}%
127\def\Biglb {\REV@boldopen \Big }%
128\def\bigglb{\REV@boldopen \bigg}%
129\def\biglb {\REV@boldopen \big }%
130\def\Biggrb{\REV@boldclose\Bigg}%
131\def\Bigrb {\REV@boldclose\Big }%
132\def\biggrb{\REV@boldclose\bigg}%
133\def\bigrb {\REV@boldclose\big }%
134\def\REV@pmb#1{%
135 \hbox{%
136  \setbox\z@=\hbox{#1}%
137  \kern-.02em\copy\z@\kern-\wd\z@
138  \kern .04em\copy\z@\kern-\wd\z@
139  \kern-.02em
140  \raise.04em\copy\z@
141 }%
142}%
143\def\REV@boldopen #1#2{\mathopen {\REV@pmb{$#1#2$}}}%
144\def\REV@boldclose#1#2{\mathclose{\REV@pmb{$#1#2$}}}%
145\def\revsymb@inithook{%
146 \@ifxundefined\dddot{\let\dddot\REV@dddot}{}%
147 \@ifxundefined\triangleq{\let\triangleq\REV@triangleq}{}%
148 \@ifxundefined\succsim{\let\succsim\altsuccsim}{}%
149 \@ifxundefined\precsim{\let\precsim\altprecsim}{}%
150 \@ifxundefined\lesssim{\let\lesssim\REV@lesssim}{}%
151 \@ifxundefined\gtrsim {\let\gtrsim \REV@gtrsim }{}%
152 \@ifxundefined\mathfrak{\let\mathfrak\REV@mathfrak}{}%
153 \@ifxundefined\mathbb{\let\mathbb\REV@mathbb}{}%
154}%
155\endinput
156%%
157%% End of file `revsymb.sty'.
Note: See TracBrowser for help on using the repository browser.