diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-19 22:32:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-19 22:32:22 +0000 |
commit | 3127e51522e361c647124aed8a4883caff20a9ed (patch) | |
tree | c9ebda6005ffb3c8dc5b64e88804afed91bf11c8 /Master/texmf-dist/tex | |
parent | ec055a5e4d5d2e54cbce278de7bc9d9640edafcd (diff) |
xltxtra update (19sep10)
git-svn-id: svn://tug.org/texlive/trunk@19809 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/xltxtra/xltxtra.sty (renamed from Master/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty) | 74 |
1 files changed, 2 insertions, 72 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty b/Master/texmf-dist/tex/latex/xltxtra/xltxtra.sty index ad8f6ce110d..7c4ee541468 100644 --- a/Master/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty +++ b/Master/texmf-dist/tex/latex/xltxtra/xltxtra.sty @@ -11,7 +11,7 @@ %% License information appended %% \ProvidesPackage{xltxtra} - [2010/06/03 v0.5d Improvements for the "XeLaTeX" format] + [2010/09/20 v0.5e Improvements for the "XeLaTeX" format] \RequirePackage{ifluatex} \ifluatex \PackageWarningNoLine {xltxtra} {^^J @@ -25,7 +25,7 @@ \RequirePackage{ifxetex} \RequireXeTeX \RequirePackage{fontspec}[2010/05/14 v2.0] -\RequirePackage{xunicode} +\RequirePackage{realscripts} \newif\if@xxt@nosscript@ \newif\if@xxt@nologos@ \DeclareOption{no-sscript}{\@xxt@nosscript@true} @@ -49,83 +49,13 @@ \setlogokern{La}{#4}% \setlogokern{aT}{#5}% \setlogokern{eL}{#6}} -\DeclareRobustCommand*\fakesubscript[1]{% - \@textsubscript{\selectfont#1}} -\DeclareRobustCommand*\fakesuperscript[1]{% - \@textsuperscript{\selectfont#1}} \if@xxt@nosscript@ \DeclareRobustCommand*\textsubscript{% \@ifstar{\realsubscript}{\fakesubscript}} \DeclareRobustCommand*\textsuperscript{% \@ifstar{\realsuperscript}{\fakesuperscript}} -\else - \DeclareRobustCommand*\textsubscript{% - \@ifstar{\fakesubscript}{\realsubscript}} - \DeclareRobustCommand*\textsuperscript{% - \@ifstar{\fakesuperscript}{\realsuperscript}} \fi \ExplSyntaxOn -\DeclareRobustCommand*\realsubscript[1]{ - \fontspec_if_fontspec_font:TF - { - \fontspec_if_opentype:TF - { - \fontspec_if_feature:nTF {+subs} - { - {\addfontfeature{VerticalPosition=Inferior}#1} - } - { - \fontspec_if_feature:nTF {+sinf} - { - {\addfontfeature{VerticalPosition=ScientificInferior}#1} - } - { - \fakesubscript{#1} - } - } - } - { - \fontspec_if_aat_feature:nnTF {10} {2} - { - {\addfontfeature{VerticalPosition=Inferior}#1} - } - { - \fakesubscript{#1} - } - } - } - { - \fakesubscript{#1} - } -} -\DeclareRobustCommand*\realsuperscript[1]{ - \fontspec_if_fontspec_font:TF - { - \fontspec_if_opentype:TF - { - \fontspec_if_feature:nTF {+sups} - { - {\addfontfeature{VerticalPosition=Superior}#1} - } - { - \fakesuperscript{#1} - } - } - { - \fontspec_if_aat_feature:nnTF {10} {1} - { - {\addfontfeature{VerticalPosition=Superior}#1} - } - { - \fakesuperscript{#1} - } - } - } - { - \fakesuperscript{#1} - } -} -\def\@makefnmark{\mbox{\normalfont\textsuperscript{\@thefnmark}}} \newcommand*\vfrac[2]{ \fontspec_if_fontspec_font:TF { |