summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-27 23:12:24 +0000
committerKarl Berry <karl@freefriends.org>2017-01-27 23:12:24 +0000
commite462812c76f9a95ced3c05bfd98be528a7cf365c (patch)
tree0a854dc559864221045e6603508cde9f71402532 /Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
parent7f93679fbc638711cdce5a4705125da8dd26af25 (diff)
fontspec (27jan17)
git-svn-id: svn://tug.org/texlive/trunk@43061 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex')
-rw-r--r--Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex b/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
index 3779259c004..3adc06adb23 100644
--- a/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
+++ b/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
@@ -229,6 +229,17 @@ Always true for \LuaTeX{} fonts.
\end{macro}
+\begin{macro}{\fontspec_if_small_caps:TF}
+Test whether the currently selected font has a `small caps' face to be selected
+with |\scshape| or similar.
+Note that testing whether the font has the |Letters=SmallCaps| font feature is
+sufficient but not necessary for this command to return true, since small caps
+can also be loaded from separate font files.
+The logic of this command is complicated by the fact that \pkg{fontspec} will
+merge shapes together (for italic small caps, etc.).
+\end{macro}
+
+
\subsubsection{Availability of features}
\begin{macro}{\fontspec_if_aat_feature:nnTF}