mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-30 15:41:12 +00:00
9f10d417ca
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37752 a592a061-630c-0410-9148-cb99ea01b6c8
19 lines
559 B
TeX
19 lines
559 B
TeX
% subscript.sty
|
|
%
|
|
% Copyright 1999 Robin Fairbairns
|
|
%
|
|
% this fragment is distributed under the conditions of the LaTeX
|
|
% Project Public Licence -- see lppl.txt in the LaTeX distribution
|
|
%
|
|
% this fragment provides a command \textsubscript, which is
|
|
% shamelessly copied from the command \textsuperscript that's part of
|
|
% LaTeX
|
|
%
|
|
% the fragment may be used as a package in its own right, if so
|
|
% needed.
|
|
|
|
\DeclareRobustCommand*\textsubscript[1]{%
|
|
\@textsubscript{\selectfont#1}}
|
|
\def\@textsubscript#1{%
|
|
{\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
|