Help Joost to fix bug #7317

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37752 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2011-02-21 19:56:43 +00:00
parent 9866d2a097
commit 9f10d417ca
2 changed files with 23 additions and 0 deletions

View File

@ -1309,6 +1309,11 @@ dist_tex_DATA = \
tex/lyxskak.sty \
tex/revtex.cls
# subscript.sty is not in dist_tex_DATA since we don't want to install it
# (it is part of TeXLive). We include it in our source package only so that
# packagers may decide to install it (e.g. for MikTeX).
dist_noinst_DATA += tex/subscript.sty
uidir = $(pkgdatadir)/ui
dist_ui_DATA = \
ui/classic.ui \

18
lib/tex/subscript.sty Normal file
View File

@ -0,0 +1,18 @@
% 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}}}}}