Article View: comp.text.tex
Article #1519Re: problem with \newcommand
From: Richard Frost
Date: Tue, 10 Apr 1990 04:06
Date: Tue, 10 Apr 1990 04:06
26 lines
1458 bytes
1458 bytes
>I'm having a hard time declaring my own command (re: LaTeX page 55)
>to generate a certain sequence of text. What I'd like to have
>is a macro that works in math mode (math, displaymath, equation, eqnarray ...)
>and generates an "r" with a tiny subscript. Why ?? Because
> $r_{1}^{2}$
>is ugly! The 1 and the 2 are the same size and in the same horizontal
>position.
Ken Yap has pointed out that the newcommand must be completely alphabetic:
\newcommand{\ts}[2]{#1_{\tiny #2}}
This was very helpful. Now about those warning messages concerning
\tiny in mathmode (naughty!). I've tried \scriptscriptstyle as described
in Lamport's book, but it doesn't seem to be defined in article.sty, book.sty,
report.sty, and especially ucthesis.sty.
Anybody have a def for a small font size (6 or 7pt) that will work in
math mode?
thanks!
--
* ** * * *** * * * ** * is **** * it ** * * random ** ? * *********
Richard Frost Mathematical Sciences, SDSU CA 92182
Internet: frost@sdsu.edu
Technical Details
Message-ID:
<1990Apr10.040655.5630@sdsu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!sdsu!frostReferences:
<1990Apr10.002043.877@sdsu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!sdsu!frost From: frost@sdsu.edu (Richard Frost) Newsgroups: comp.text.tex Subject: Re: problem with \newcommand Message-ID: <1990Apr10.040655.5630@sdsu.edu> Date: 10 Apr 90 04:06:55 GMT References: <1990Apr10.002043.877@sdsu.edu> Reply-To: frost@sdsu.UUCP (Richard Frost) Distribution: usa Organization: San Diego State University Math/Sciences Dept. Lines: 26