8

In LaTeX, we can write

$T_{\textsc{max}}$

In plain TeX, we can do thing like

\font\scshape=cmcsc10

{\scashape max}.

But this method does not work inside $$. We cannot write

$T_{{\scshape max}}$

So is there any way to make it work?

5
  • 2
    $T_{\hbox{\scshape max}}$ should work … Commented Mar 30, 2013 at 20:39
  • Perhaps $T_{\hbox{\scriptsize\scshape max}}}$
    – Aditya
    Commented Mar 30, 2013 at 20:41
  • @Qrrbrbirlbel that would make a textsize subscript though. Commented Mar 30, 2013 at 21:07
  • 1
    @Aditya \scriptsize isn't in plain. Commented Mar 30, 2013 at 21:08
  • @DavidCarlisle Yes, it was more of a pointer than a solution. Op didn’t define any other fonts to use … Commented Mar 30, 2013 at 21:09

2 Answers 2

11

enter image description here

    \font\scshapex=cmcsc10
    \font\scshapevii=cmcsc10 at 7pt
    \font\scshapev=cmcsc10 at 5pt

\newfam\scfam
\textfont\scfam\scshapex
\scriptfont\scfam\scshapevii
\scriptscriptfont\scfam\scshapev



$    {\fam\scfam Max}(T) = T_{\fam\scfam Max} $

\bye
9

Without defining a math family:

\font\tensc=cmcsc10
\font\sevensc=cmcsc10 at 7pt
\font\fivesc=cmcsc10 at 5pt

\def\mathsc#1{{\mathchoice
  {\hbox{\tensc#1}}
  {\hbox{\tensc#1}}
  {\hbox{\sevensc#1}}
  {\hbox{\fivesc#1}}
}}

$\mathsc{Max}(T) = T_\mathsc{Max}$

\bye

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .