% 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}