From 4c5803fd63e3b205605317e440c7d8c0f9006ac9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Oct 2013 22:58:48 +0000 Subject: librecaslon (16oct13) git-svn-id: svn://tug.org/texlive/trunk@31920 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/librecaslon/README | 6 ++++-- Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty | 10 +++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'Master') 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} -- cgit v1.2.3