summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-16 22:58:48 +0000
committerKarl Berry <karl@freefriends.org>2013-10-16 22:58:48 +0000
commit4c5803fd63e3b205605317e440c7d8c0f9006ac9 (patch)
tree2f9ba2d35ed93f813318520ccb4613d699a36848 /Master/texmf-dist
parent9ca72495053f60e3f3679afbe71459f59dde2818 (diff)
librecaslon (16oct13)
git-svn-id: svn://tug.org/texlive/trunk@31920 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/fonts/librecaslon/README6
-rw-r--r--Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty10
2 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/fonts/librecaslon/README b/Master/texmf-dist/doc/fonts/librecaslon/README
index 2e9c2722a70..c4fbbcd0c0b 100644
--- a/Master/texmf-dist/doc/fonts/librecaslon/README
+++ b/Master/texmf-dist/doc/fonts/librecaslon/README
@@ -1,5 +1,5 @@
-This is the README for the librecaslon package, version 2013-06-25.
+This is the README for the librecaslon package, version 2013-10-15.
This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Libre Caslon family of fonts, designed by Pablo Impallari.
@@ -33,7 +33,9 @@ Font encodings supported are OT1, T1, LY1 and TS1.
Macro \librecaslon selects the Libre Caslon Text family. Macros
\librecaslonLF and \librecaslonOsF allow for local use of lining
or oldstyle figures. \textsu{...} can be used for superior
-(superscript) figures.
+(superscript) figures. Command \useosf switches the default figure
+style to old-style figures; this is primarily for use after calling
+a math package with lining figures as the default.
The original fonts (version 1.0) were obtained from
diff --git a/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty b/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
index 316143a6e00..551f1efd67d 100644
--- a/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
+++ b/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{librecaslon}[%
- 2013/06/25 (Bob Tennent) Supports LibreCaslon fonts for all LaTeX engines. ]
+ 2013/10/15 (Bob Tennent) Supports LibreCaslon fonts for all LaTeX engines. ]
\RequirePackage{ifxetex,ifluatex,textcomp}
@@ -92,6 +92,12 @@
BoldFont = *-Bold ,
BoldItalicFont = *-BoldItalic ]
{LibreCaslonText}
+ \providecommand\useosf{%
+ \defaultfontfeatures{
+ Ligatures = TeX ,
+ Extension = .otf ,
+ SmallCapsFeatures={Letters=SmallCaps}
+ }
\newfontfamily\librecaslon
[ Numbers = {\librecaslon@figurestyle},
UprightFont = *-Regular ,
@@ -129,6 +135,8 @@
\fa@naming@exception{figures}{{superior}{tabular}}{Sup}
\providecommand\sufigures{\@nomath\sufigures\fontfigurestyle{superior}\selectfont}
\renewcommand*\rmdefault{\librecaslonfamily}
+ \providecommand*\useosf{\edef\librecaslon@figurealign{}\edef\librecaslon@figurestyle{OsF}%
+ \renewcommand*{\rmdefault}{LibreCaslonText-OsF}}
\fi
\DeclareTextFontCommand{\textsu}{\sufigures}