[comp.text.tex] greekctr.sty

POSTMASTER@DMZNAT51.BITNET (General Delivery) (03/10/91)

 
I wanted to use small greek letters in the enumerate environment. I hacked
together this greekctr.sty. It works fine in enumerate, but not in
footnotes (the greek letters will come out too big).
==================cut here==============================================
  % greekctr.sty by J"org Knappen, Bitnet: knappen@dmznat51
  % written 15. Juni 1990
  % For additional information look behind \endinput
\def\greek#1{\@greek{\@nameuse{c@#1}}}
\def\@greek#1{\ifcase#1\or{\mbox{$\alpha$}}\or{\mbox{$\beta$}}\or%
  {\mbox{$\gamma$}}\or{\mbox{$\delta$}}\else\@igreek{#1}\fi}
\def\@igreek#1{\ifcase#1\or\or\or\or\or{\mbox{$\varepsilon$}}%
  \or{\mbox{$\zeta$}}\or{\mbox{$\eta$}}\or{\mbox{$\vartheta$}}%
  \or{\mbox{$\iota$}}\or{\mbox{$\kappa$}}\or{\mbox{$\lambda$}}\or%
  {\mbox{$\mu$}}\or{\mbox{$\nu$}}\or%
  {\mbox{$\xi$}}\or{\mbox{$o$}}\or{\mbox{$\pi$}}\or{\mbox{$\varrho$}}%
  \or{\mbox{$\sigma$}}\or{\mbox{$\tau$}}\or{\mbox{$\upsilon$}}\or%
  {\mbox{$\varphi$}}\or{\mbox{$\chi$}}\or%
  {\mbox{$\psi$}}\or{\mbox{$\omega$}}\else {\mbox{$\omega$}}\@ctrerr\fi}
\endinput
Provides \greek for counters just like \alph. No switch to math mode is
needed. Hacked together using latex.tex. \varepsilon, \vartheta and \varphi
are preferred, but \pi and \sigma.
J"org Knappen, Bitnet: knappen@dmznat51
end of greekctr.sty.

Schoepf@SC.ZIB-BERLIN.DBP.DE (Rainer Schoepf) (03/11/91)

   From: J"org Knappen, Bitnet: knappen@dmznat51
 
 
   I wanted to use small greek letters in the enumerate environment. I hacked
   together this greekctr.sty. It works fine in enumerate, but not in
   footnotes (the greek letters will come out too big).
 
   ...
 
No wonder, when you're using \mbox. Use the AMS-LaTeX \text macro, and
they come out in the right size.
 
 
   Dr. Rainer Schoepf
   Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
   Heilbronner Strasse 10
   D-1000 Berlin 31
   Federal Republic of Germany
   <Schoepf@sc.ZIB-Berlin.dbp.de> or <Schoepf@sc.ZIB-Berlin.de>