summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fbb/fbb.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fbb/fbb.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fbb/fbb.sty12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/fbb/fbb.sty b/Master/texmf-dist/tex/latex/fbb/fbb.sty
index aced8218260..09b37024184 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.04}
-\def\filedate{2014/06/19}
+\def\fileversion{1.06}
+\def\filedate{2014/09/09}
\ProvidesPackage{fbb}[\filedate\space v\fileversion]
\message{`fbb' v\fileversion, \filedate\space Text macros for fbb, a Bembo-like font family (msharpe)}
@@ -37,14 +37,17 @@
\let\orig@makefnmark=\@makefnmark
\newif\if@fbb@sups
+\newif\if@fbb@scosf
\DeclareOptionX{lining}{\edef\fbb@figurestyle{LF}}
\DeclareOptionX{oldstyle}{\edef\fbb@figurestyle{OsF}}
\DeclareOptionX{osf}{\edef\fbb@figurestyle{OsF}}
\DeclareOptionX{tabular}{\edef\fbb@figurealign{T}}
+\DeclareOptionX{p}{\edef\fbb@figurealign{}}
\DeclareOptionX{proportional}{\edef\fbb@figurealign{}}
\DeclareOptionX{bold}{\edef\bfseries@rm{b}}
\DeclareOptionX{regular}{\edef\mdseries@rm{m}}
\DeclareOptionX{sups}{\@fbb@supstrue}
+\DeclareOptionX{scosf}{\@fbb@scosftrue}
\ExecuteOptionsX{lining,tabular,bold,regular}
\ProcessOptionsX\relax
@@ -77,7 +80,10 @@
\DeclareRobustCommand{\texttosf}[1]{%
{\fontfamily{fbb-TOsF}\selectfont #1}%
}% to get tosf
-
+\if@fbb@scosf %
+\DeclareRobustCommand{\textsc}[1]{%
+{\fontfamily{fbb-\fbb@figurealign OsF}\fontshape{sc}\selectfont #1}%
+}\fi
\AtEndPreamble{\renewcommand*{\rmdefault}{fbb-\fbb@figurealign\fbb@figurestyle}}
\renewcommand*{\familydefault}{\rmdefault}
\if@fbb@sups %