diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:55:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:55:17 +0000 |
commit | 37f1937c6a583dfe035b62da1f23892d116bedd3 (patch) | |
tree | 08880de8fbae3e73769b4de5d7214a0b42b448a5 /Master/texmf-dist/tex/latex/eurosans | |
parent | 2535caca316d15a29258f65889996a1d2ecfa7be (diff) |
eurosans
git-svn-id: svn://tug.org/texlive/trunk@888 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eurosans')
-rw-r--r-- | Master/texmf-dist/tex/latex/eurosans/eurosans.sty | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/eurosans/eurosans.sty b/Master/texmf-dist/tex/latex/eurosans/eurosans.sty new file mode 100644 index 00000000000..068ff0e74b0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/eurosans/eurosans.sty @@ -0,0 +1,66 @@ +\ProvidesPackage{eurosans}[2004/01/26 v3.1 using the Adobe Euro fonts (WaS)] + +% Copyright (c) Walter Schmidt, Erlangen, 1998-2004 + +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.1 +% 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.1 or later is part of all distributions of LaTeX +% version 1999/06/01 or later. + +\RequirePackage{keyval} +\let\zpeur@@Scale\@empty +\define@key{Zpeur}{scaled}[.95]{% + \def\zpeur@@Scale{s*[#1]}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\Zpeur@tempa\@empty + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\Zpeur@tempa{\Zpeur@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\Zpeur@tempa{% + \noexpand\setkeys{#1}{% + \Zpeur@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \Zpeur@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{Zpeur} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} + +\DeclareFontFamily{U}{eurosans}{} +\DeclareFontShape{U}{eurosans}{m}{n}{<-> \zpeur@@Scale zpeurs}{} +\DeclareFontShape{U}{eurosans}{m}{it}{<-> \zpeur@@Scale zpeuris}{} +\DeclareFontShape{U}{eurosans}{m}{sl}{<->ssub * eurosans/m/it}{} +\DeclareFontShape{U}{eurosans}{b}{n}{<-> \zpeur@@Scale zpeubs}{} +\DeclareFontShape{U}{eurosans}{b}{it}{<-> \zpeur@@Scale zpeubis}{} +\DeclareFontShape{U}{eurosans}{b}{sl}{<->ssub * eurosans/b/it}{} +\DeclareFontShape{U}{eurosans}{bx}{n}{<->ssub * eurosans/b/n}{} +\DeclareFontShape{U}{eurosans}{bx}{sl}{<->ssub * eurosans/b/it}{} +\DeclareFontShape{U}{eurosans}{bx}{it}{<->ssub * eurosans/b/it}{} +\DeclareFontShape{U}{eurosans}{mc}{n}{<-> \zpeur@@Scale zpeurt}{} +\DeclareFontShape{U}{eurosans}{mc}{it}{<-> \zpeur@@Scale zpeurit}{} +\DeclareFontShape{U}{eurosans}{mc}{sl}{<->ssub * eurosans/m/it}{} +\DeclareFontShape{U}{eurosans}{bc}{n}{<-> \zpeur@@Scale zpeubt}{} +\DeclareFontShape{U}{eurosans}{bc}{it}{<-> \zpeur@@Scale zpeubit}{} +\DeclareFontShape{U}{eurosans}{bc}{sl}{<->ssub * eurosans/bc/it}{} +\DeclareFontShape{U}{eurosans}{sbc}{n}{<->ssub * eurosans/bc/n}{} +\DeclareFontShape{U}{eurosans}{sbc}{sl}{<->ssub * eurosans/bc/it}{} +\DeclareFontShape{U}{eurosans}{sbc}{it}{<->ssub * eurosans/bc/it}{} + +\DeclareRobustCommand{\euro}% + {{\fontencoding{U}\fontfamily{eurosans}\selectfont\symbol{128}}} + +\endinput + |