summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/venturisadf/venturis.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-12-10 16:58:02 +0000
committerKarl Berry <karl@freefriends.org>2008-12-10 16:58:02 +0000
commite4c4c4e6294d42e476b5faa2c108d23d4ee35de7 (patch)
tree8eae669f8aed48d7fb841e80095b34aadf43f81c /Master/texmf-dist/tex/latex/venturisadf/venturis.sty
parenta001fa69d650b819d705710f22245f42c7c5ac3d (diff)
new font package venturisadf 1.004 (8dec08)
git-svn-id: svn://tug.org/texlive/trunk@11583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/venturisadf/venturis.sty')
-rw-r--r--Master/texmf-dist/tex/latex/venturisadf/venturis.sty55
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/venturisadf/venturis.sty b/Master/texmf-dist/tex/latex/venturisadf/venturis.sty
new file mode 100644
index 00000000000..3ed5fae327f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/venturisadf/venturis.sty
@@ -0,0 +1,55 @@
+%% Copyright 2008 Clea F. Rees
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Clea F. Rees.
+%
+% This work consists of all files listed in manifest.txt.
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{venturis}[2008/11/05 v1.004 VenturisADF PS]
+\RequirePackage[T1]{fontenc}
+\RequirePackage{textcomp}
+\RequirePackage{nfssext-cfr}
+\DeclareOption{osf}{%
+ \gdef\lfosf{j}}
+\DeclareOption{lf}{%
+ \gdef\lfosf{}}
+\ExecuteOptions{osf}
+\ProcessOptions*
+\renewcommand{\rmdefault}{yvt\lfosf}
+\renewcommand{\sfdefault}{yv1}
+%:introduce special titling commands
+\DeclareRobustCommand{\vtstyle}[1][]{%
+ \edef\vt@shape{#1}
+ \def\tempo{ol}
+ \def\temps{yv1}
+ \def\tempr{yvt}
+ \not@math@alphabet\vtstyle\relax
+%:because the titling fonts have limited availability, don't use the \tistyle set-up, but choose the family explicitly in case we're currently using sans or typewriter - note, though, that some are also called as small-caps commands in certain sans-serif variants (though the seriffed variant seems not to match anything...)
+ \ifx\vt@shape\tempo
+ \fontfamily{yvtd}\fontshape{ol}\selectfont
+ \else
+ \edef\tempf{\expandafter\exfs@get@base\f@family\@nil}
+ \ifx\tempf\temps
+ \fontfamily{yv1d}\selectfont
+ \else
+ \ifx\tempf\tempr
+ \fontfamily{yvtd}\selectfont
+ \else
+ \PackageWarning{venturis.sty}{\tempf is unknown. This command requires that yv1 or yvt be active in order to determine whether serif or sans-serif titling is required. I am going to guess that you want serif titling. If this is wrong, be sure to activate yv1 first or copy and adapt the styling command from venturis.sty.}
+ \fontfamily{yvtd}\selectfont
+ \fi
+ \fi
+ \fi
+ }
+\DeclareTextFontCommand{\textvt}{\vtstyle}
+\DeclareTextFontCommand{\textvtl}{\vtstyle[ol]}
+\endinput