summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fbb/fbb.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-11 23:12:20 +0000
committerKarl Berry <karl@freefriends.org>2015-12-11 23:12:20 +0000
commitda590c50c3731cf9ef296b5b3e0315777b43c46f (patch)
treec20595b39540416bc3b8521e745db078976f1465 /Master/texmf-dist/tex/latex/fbb/fbb.sty
parent3a6c1fb0f2e6d3d4bc0dd098fb6618916d9528bd (diff)
fbb (11dec15)
git-svn-id: svn://tug.org/texlive/trunk@39071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fbb/fbb.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fbb/fbb.sty18
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/fbb/fbb.sty b/Master/texmf-dist/tex/latex/fbb/fbb.sty
index a6d56605e92..236b4ee8b37 100644
--- a/Master/texmf-dist/tex/latex/fbb/fbb.sty
+++ b/Master/texmf-dist/tex/latex/fbb/fbb.sty
@@ -2,8 +2,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.09}
-\def\filedate{2015/08/23}
+\def\fileversion{1.10}
+\def\filedate{2015/12/08}
\ProvidesPackage{fbb}[\filedate\space v\fileversion]
\message{`fbb' v\fileversion, \filedate\space Text macros for fbb, a Bembo-like font family (msharpe)}
@@ -17,10 +17,16 @@
\RequirePackage{fontaxes}
\fa@naming@exception{figures}{{superior}{proportional}}{Sup}
\fa@naming@exception{figures}{{superior}{tabular}}{Sup}
+ \fa@naming@exception{figures}{{inferior}{proportional}}{Inf}
+ \fa@naming@exception{figures}{{inferior}{tabular}}{Inf}
\def\sufigures{\@nomath\sufigures
\fontfigurestyle{superior}\selectfont}
\DeclareTextFontCommand{\textsu}{\sufigures}
\let\textsuperior\textsu
+ \def\infigures{\@nomath\infigures
+ \fontfigurestyle{inferior}\selectfont}
+ \DeclareTextFontCommand{\textin}{\infigures}
+ \let\textinferior\textin
% \def\@makefnmark{\hbox{\textsu{\@thefnmark}}}
}{}
\newcommand*{\fbb@scale}{1}
@@ -40,17 +46,21 @@
\def\mdseries@rm{m}
\def\useosf{\edef\fbb@figurestyle{OsF}}
\@onlypreamble\useosf
+\def\useproportional{\edef\fbb@figurealign{}}
+\@onlypreamble\useproportional
\newif\iffbb@babel
\ifdefined\bbl@tempa \fbb@babeltrue\fi
\ifetex\else\fbb@babeltrue\fi
\newif\if@fbb@sups
\newif\if@fbb@scosf
+\def\fbb@altP{} % should be empty or P
+\DeclareOptionX{altP}{\xdef\fbb@altP{P}}
\DeclareOptionX{lining}{\edef\fbb@figurestyle{LF}}
\DeclareOptionX{oldstyle}{\useosf}
\DeclareOptionX{osf}{\useosf}
\DeclareOptionX{tabular}{\edef\fbb@figurealign{T}}
-\DeclareOptionX{p}{\edef\fbb@figurealign{}}
-\DeclareOptionX{proportional}{\edef\fbb@figurealign{}}
+\DeclareOptionX{p}{\useproportional}
+\DeclareOptionX{proportional}{\useproportional}
\DeclareOptionX{sups}{\@fbb@supstrue}
\DeclareOptionX{scosf}{\@fbb@scosftrue}
\ExecuteOptionsX{lining,tabular}