--
G. A. Edgar http://www.math.ohio-state.edu/~edgar/
\usepackage[OT2,OT1]{fontenc}
\def\Sha{{\fontencoding{OT2}\selectfont SH}}
\def\sha{{\fontencoding{OT2}\selectfont sh}}
before \begin{document} will set up the commands with the obvious
semantics.
note, if she's already using {fontenc}, simply prepend "OT2," to its
list of options -- the above assumes no prior use of fontenc.
--
Robin Fairbairns, Cambridge
> "G. A. Edgar" <gzda...@sneakemail.com> writes:
> >A typist asked me how to put the Cyrillic letter "Sha" (for the
> >Shafarevich group) in a mathematical formula. She is using Latex, and
>
> \usepackage[OT2,OT1]{fontenc}
> \def\Sha{{\fontencoding{OT2}\selectfont SH}}
> \def\sha{{\fontencoding{OT2}\selectfont sh}}
G.A. asked for math. I expect I could figure something out by
reading through fntguide (again), but then so could other people.
I expect it will involve \DeclareMathAlphabet as the first step,
then \DeclareMathSymbol.
Donald Arseneau as...@triumf.ca
sigh. given the nature of the thing i would tend to put it into a
\text command and have done. surely one doesn't want to waste a maths
alphabet on a single character. so, for example
\def\Sha{{\text{\fontencoding{OT2}\selectfont SH}}} % don't know if outer
% braces are needed
or
\def\Sha{{\ifmmode
\text{\fontencoding{OT2}\selectfont SH}
\else
\fontencoding{OT2}\selectfont SH
\fi}}
after all, it's actually an alphabetic character...
--
Robin Fairbairns, Cambridge