From bcf8a283f49f11085e8fa38f2dd47905a8e9b060 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 5 Jun 2009 23:45:52 +0000 Subject: new font inconsolata git-svn-id: svn://tug.org/texlive/trunk@13639 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/inconsolata/ei1fi4.fd | 18 ++++++++++ .../tex/latex/inconsolata/inconsolata.sty | 39 ++++++++++++++++++++++ Master/texmf-dist/tex/latex/inconsolata/ly1fi4.fd | 16 +++++++++ Master/texmf-dist/tex/latex/inconsolata/ot1fi4.fd | 15 +++++++++ Master/texmf-dist/tex/latex/inconsolata/qxfi4.fd | 15 +++++++++ Master/texmf-dist/tex/latex/inconsolata/t1fi4.fd | 15 +++++++++ Master/texmf-dist/tex/latex/inconsolata/ts1fi4.fd | 18 ++++++++++ 7 files changed, 136 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/inconsolata/ei1fi4.fd create mode 100644 Master/texmf-dist/tex/latex/inconsolata/inconsolata.sty create mode 100644 Master/texmf-dist/tex/latex/inconsolata/ly1fi4.fd create mode 100644 Master/texmf-dist/tex/latex/inconsolata/ot1fi4.fd create mode 100644 Master/texmf-dist/tex/latex/inconsolata/qxfi4.fd create mode 100644 Master/texmf-dist/tex/latex/inconsolata/t1fi4.fd create mode 100644 Master/texmf-dist/tex/latex/inconsolata/ts1fi4.fd (limited to 'Master/texmf-dist/tex/latex/inconsolata') diff --git a/Master/texmf-dist/tex/latex/inconsolata/ei1fi4.fd b/Master/texmf-dist/tex/latex/inconsolata/ei1fi4.fd new file mode 100644 index 00000000000..6347cd4d1d3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/ei1fi4.fd @@ -0,0 +1,18 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. +% ei1 is an experimental encoding for the extra glyphs included in the +% Inconsolata font but not in any common TeX encoding. + +\ProvidesFile{ei4fi4.fd}[2009/05/28 EI1/Inconsolata] + +\expandafter\ifx\csname fifour@scaled\endcsname\relax + \let\fifour@scaled\@empty +\fi + +\DeclareFontFamily{EI1}{fi4}{} + +\DeclareFontShape{EI1}{fi4}{m}{n}{ + <-> \fifour@scaled ei1-inconsolata +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/inconsolata/inconsolata.sty b/Master/texmf-dist/tex/latex/inconsolata/inconsolata.sty new file mode 100644 index 00000000000..c2f6526b7b3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/inconsolata.sty @@ -0,0 +1,39 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{inconsolata}[2009/05/30 Inconsolata] + +% Without this, \texteuro and the like simply fail, so we may as well +% always include it. +\RequirePackage{textcomp} + +% How we parse our options. +\RequirePackage{xkeyval} + +% option [scaled=R] to scale font at loading. +\define@key{fifour}{scaled}[1.0]{\def\fifour@scaled{s*[#1]}} + +\DeclareOption*{% + \begingroup + \edef\x{\endgroup + \noexpand\setkeys{fifour}{\CurrentOption}}% + \x} +\newcommand*{\fifour@style}{} + +% by default, change \tt to mean Inconsolata. +\newcommand*{\fifour@default}{% + \renewcommand*{\ttdefault}{fi4\fifour@style}% +} + +% option [nott] to avoid changing tt. +\DeclareOption{nott}{% + \renewcommand*{\fifour@default}{}% +} + +% has to be after fontenc, too much trouble. +%\DeclareTextSymbol{\j}{LY1}{17} + +\ProcessOptions* +\fifour@default +\endinput diff --git a/Master/texmf-dist/tex/latex/inconsolata/ly1fi4.fd b/Master/texmf-dist/tex/latex/inconsolata/ly1fi4.fd new file mode 100644 index 00000000000..417d6e242c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/ly1fi4.fd @@ -0,0 +1,16 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. + +\ProvidesFile{ly1fi4.fd}[2009/03/29 LY1/Inconsolata] + +\expandafter\ifx\csname fifour@scaled\endcsname\relax + \let\fifour@scaled\@empty +\fi + +\DeclareFontFamily{LY1}{fi4}{\hyphenchar\font=\m@ne} + +\DeclareFontShape{LY1}{fi4}{m}{n}{ + <-> \fifour@scaled texnansi-inconsolata +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/inconsolata/ot1fi4.fd b/Master/texmf-dist/tex/latex/inconsolata/ot1fi4.fd new file mode 100644 index 00000000000..34d1c7f0a8f --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/ot1fi4.fd @@ -0,0 +1,15 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. + +\ProvidesFile{ot1fi4.fd}[2009/05/28 OT1/Inconsolata] + +\expandafter\ifx\csname fifour@scaled\endcsname\relax + \let\fifour@scaled\@empty +\fi + +\DeclareFontFamily{OT1}{fi4}{\hyphenchar\font=\m@ne} +\DeclareFontShape{OT1}{fi4}{m}{n}{ + <-> \fifour@scaled rm-inconsolata +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/inconsolata/qxfi4.fd b/Master/texmf-dist/tex/latex/inconsolata/qxfi4.fd new file mode 100644 index 00000000000..d1225d9e3a0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/qxfi4.fd @@ -0,0 +1,15 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. + +\ProvidesFile{qxfi4.fd}[2009/05/28 QX/Inconsolata] + +\expandafter\ifx\csname fifour@scaled\endcsname\relax + \let\fifour@scaled\@empty +\fi + +\DeclareFontFamily{QX}{fi4}{\hyphenchar\font=\m@ne} +\DeclareFontShape{QX}{fi4}{m}{n}{ + <-> \fifour@scaled qx-inconsolata +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/inconsolata/t1fi4.fd b/Master/texmf-dist/tex/latex/inconsolata/t1fi4.fd new file mode 100644 index 00000000000..63de124c90d --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/t1fi4.fd @@ -0,0 +1,15 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. + +\ProvidesFile{t1fi4.fd}[2009/05/28 T1/Inconsolata] + +\expandafter\ifx\csname fifour@scaled\endcsname\relax + \let\fifour@scaled\@empty +\fi + +\DeclareFontFamily{T1}{fi4}{\hyphenchar\font=\m@ne} +\DeclareFontShape{T1}{fi4}{m}{n}{ + <-> \fifour@scaled ec-inconsolata +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/inconsolata/ts1fi4.fd b/Master/texmf-dist/tex/latex/inconsolata/ts1fi4.fd new file mode 100644 index 00000000000..4d4f112d25a --- /dev/null +++ b/Master/texmf-dist/tex/latex/inconsolata/ts1fi4.fd @@ -0,0 +1,18 @@ +% Copyright 2009 Karl Berry. +% You may freely use, modify and/or distribute this file. + +\ProvidesFile{ts1fi4.fd}[2009/05/28 TS1/Inconsolata] + +\expandafter\ifx\csname fifour@scaled\endcsname\relax + \let\fifour@scaled\@empty +\fi + +\DeclareFontFamily{TS1}{fi4}{} + +\DeclareFontShape{TS1}{fi4}{m}{n}{ + <-> \fifour@scaled ts1-inconsolata +}{} + +%\DeclareEncodingSubset{TS1}{fi4}{xx} + +\endinput -- cgit v1.2.3