summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/inconsolata
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-05 23:45:52 +0000
committerKarl Berry <karl@freefriends.org>2009-06-05 23:45:52 +0000
commitbcf8a283f49f11085e8fa38f2dd47905a8e9b060 (patch)
tree732b21e3d29bae4e7aa5969e6357047657dd3402 /Master/texmf-dist/tex/latex/inconsolata
parenta833487de83417141e1037d2f4ba3878fd63f37b (diff)
new font inconsolata
git-svn-id: svn://tug.org/texlive/trunk@13639 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/inconsolata')
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/ei1fi4.fd18
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/inconsolata.sty39
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/ly1fi4.fd16
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/ot1fi4.fd15
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/qxfi4.fd15
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/t1fi4.fd15
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/ts1fi4.fd18
7 files changed, 136 insertions, 0 deletions
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