summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-18 22:36:31 +0000
committerKarl Berry <karl@freefriends.org>2010-09-18 22:36:31 +0000
commit732f3ec949d484fffd271e5341aad609013aeeca (patch)
treea9b5ecaaeff1cd19f3c35114e2ffa56e97e447b6 /Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
parentb450abde949b2a7193ba4062666fb892253d26dd (diff)
fontspec (18sep10)
git-svn-id: svn://tug.org/texlive/trunk@19796 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty b/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
index 0b3bac075ee..67e9a2675ba 100644
--- a/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
+++ b/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
@@ -14,15 +14,17 @@
%%
%%
\ProvidesPackage{fontspec-patches}
- [2010/08/01 v2.0c Advanced font selection for XeLaTeX/LuaLaTeX]
-
+ [2010/09/19 v2.1 Advanced font selection for XeLaTeX/LuaLaTeX]
\ExplSyntaxOn
\RequirePackage{fixltx2e}[2006/03/24]
\DeclareRobustCommand \em {
\@nomath\em
- \tl_if_eq:xxTF \f@shape \itdefault \eminnershape \emshape
+ \tl_if_eq:xxTF \f@shape \itdefault \eminnershape
+ {
+ \tl_if_eq:xxTF \f@shape \sldefault \eminnershape \emshape
+ }
}
\DeclareTextFontCommand{\emph}{\em}
\let\emshape\itshape