From 37f1937c6a583dfe035b62da1f23892d116bedd3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:55:17 +0000 Subject: eurosans git-svn-id: svn://tug.org/texlive/trunk@888 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/eurosans/eurosans.sty | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/eurosans/eurosans.sty (limited to 'Master') 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 + -- cgit v1.2.3