blob: 3d54d9fcf0788f9aafea66b345dd7bba6212b39e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
% MATHTEXT.STY
% Author: George D. Greenwade, Director, Center for Business and Economic
% Research, Sam Houston State University, Huntsville, TX 77341-2056
% Voice: (409) 294-1518 BITNET: BED_GDG@SHSU
% Purpose: Brief style file which allows the issuance of \text{foo} to insert
% text in mathmode, and warns (but processes fragilely) when
% encountered outside mathmode.
% Date: January 14, 1989 (GDG)
\typeout{Document substyle 'mathtext.sty' January 14, 1989 (GDG)}
\def\text#1{\ifmmode\leavevmode\hbox{#1}\else
\typeout{Warning: \string\text \space used outside math mode!}
\begingroup\hbox{#1}\endgroup\fi}
|