mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
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:
parent
9866d2a097
commit
9f10d417ca
@ -1309,6 +1309,11 @@ dist_tex_DATA = \
|
|||||||
tex/lyxskak.sty \
|
tex/lyxskak.sty \
|
||||||
tex/revtex.cls
|
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
|
uidir = $(pkgdatadir)/ui
|
||||||
dist_ui_DATA = \
|
dist_ui_DATA = \
|
||||||
ui/classic.ui \
|
ui/classic.ui \
|
||||||
|
18
lib/tex/subscript.sty
Normal file
18
lib/tex/subscript.sty
Normal 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}}}}}
|
Loading…
Reference in New Issue
Block a user