summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/inconsolata
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-27 23:33:43 +0000
committerKarl Berry <karl@freefriends.org>2013-06-27 23:33:43 +0000
commite49f6eb87d6cce685d6e567b3e957f9ac1d95877 (patch)
tree6f086b0f467018d975795a73373bf0538d5d088f /Master/texmf-dist/tex/latex/inconsolata
parent45df27ef811d65b84b56e59f43e3f7083d2d46ea (diff)
inconsolata, flattened (14jun13)
git-svn-id: svn://tug.org/texlive/trunk@30989 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/inconsolata')
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/ly1zi4.fd25
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/ot1zi4.fd24
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/qxzi4.fd25
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/t1zi4.fd25
-rw-r--r--Master/texmf-dist/tex/latex/inconsolata/zi4.sty89
5 files changed, 188 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/inconsolata/ly1zi4.fd b/Master/texmf-dist/tex/latex/inconsolata/ly1zi4.fd
new file mode 100644
index 00000000000..95107a35aa9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/inconsolata/ly1zi4.fd
@@ -0,0 +1,25 @@
+% Copyright 2013 Michael Sharpe.
+% You may freely use, modify and/or distribute this file.
+
+\ProvidesFile{ly1zi4.fd}[2013/06/09 LY1/zi4 (Inconsolata)]
+
+\expandafter\ifx\csname zifour@scaled\endcsname\relax
+ \let\zifour@scaled\@empty
+\fi
+
+\expandafter\ifx\csname zifour@opt\endcsname\relax
+ \def\zifour@opt{\z@}\def\zifour@altopt{\tw@}
+\fi
+
+\DeclareFontFamily{LY1}{zi4}{\hyphenchar\font=\m@ne}
+\DeclareFontShape{LY1}{zi4}{m}{n}{%
+ <-> \zifour@scaled ly1-zi4r-\zifour@opt}{}
+\DeclareFontShape{LY1}{zi4}{m}{scit}{%
+ <-> \zifour@scaled ly1-zi4r-\zifour@altopt}{}
+\DeclareFontShape{LY1}{zi4}{b}{n}{%
+ <-> \zifour@scaled ly1-zi4b-\zifour@opt}{}
+\DeclareFontShape{LY1}{zi4}{b}{scit}{%
+ <-> \zifour@scaled ly1-zi4b-\zifour@altopt}{}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/inconsolata/ot1zi4.fd b/Master/texmf-dist/tex/latex/inconsolata/ot1zi4.fd
new file mode 100644
index 00000000000..50714f28dd3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/inconsolata/ot1zi4.fd
@@ -0,0 +1,24 @@
+% Copyright 2013 Michael Sharpe.
+% You may freely use, modify and/or distribute this file.
+
+\ProvidesFile{ot1zi4.fd}[2013/06/09 OT1/zi4 (Inconsolata)]
+
+\expandafter\ifx\csname zifour@scaled\endcsname\relax
+ \let\zifour@scaled\@empty
+\fi
+
+\expandafter\ifx\csname zifour@opt\endcsname\relax
+ \def\zifour@opt{\z@}\def\zifour@altopt{\tw@}
+\fi
+
+\DeclareFontFamily{OT1}{zi4}{\hyphenchar\font=\m@ne}
+\DeclareFontShape{OT1}{zi4}{m}{n}{%
+ <-> \zifour@scaled ot1-zi4r-\zifour@opt}{}
+\DeclareFontShape{OT1}{zi4}{m}{scit}{%
+ <-> \zifour@scaled ot1-zi4r-\zifour@altopt}{}
+\DeclareFontShape{OT1}{zi4}{b}{n}{%
+ <-> \zifour@scaled ot1-zi4b-\zifour@opt}{}
+\DeclareFontShape{OT1}{zi4}{b}{scit}{%
+ <-> \zifour@scaled ot1-zi4b-\zifour@altopt}{}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/inconsolata/qxzi4.fd b/Master/texmf-dist/tex/latex/inconsolata/qxzi4.fd
new file mode 100644
index 00000000000..78680810d0c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/inconsolata/qxzi4.fd
@@ -0,0 +1,25 @@
+% Copyright 2013 Michael Sharpe.
+% You may freely use, modify and/or distribute this file.
+
+\ProvidesFile{qxzi4.fd}[2013/06/09 QX/zi4 (Inconsolata)]
+
+\expandafter\ifx\csname zifour@scaled\endcsname\relax
+ \let\zifour@scaled\@empty
+\fi
+
+\expandafter\ifx\csname zifour@opt\endcsname\relax
+ \def\zifour@opt{\z@}\def\zifour@altopt{\tw@}
+\fi
+
+\DeclareFontFamily{QX}{zi4}{\hyphenchar\font=\m@ne}
+\DeclareFontShape{QX}{zi4}{m}{n}{%
+ <-> \zifour@scaled qx-zi4r-\zifour@opt}{}
+\DeclareFontShape{QX}{zi4}{m}{scit}{%
+ <-> \zifour@scaled qx-zi4r-\zifour@altopt}{}
+\DeclareFontShape{QX}{zi4}{b}{n}{%
+ <-> \zifour@scaled qx-zi4b-\zifour@opt}{}
+\DeclareFontShape{QX}{zi4}{b}{scit}{%
+ <-> \zifour@scaled qx-zi4b-\zifour@altopt}{}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/inconsolata/t1zi4.fd b/Master/texmf-dist/tex/latex/inconsolata/t1zi4.fd
new file mode 100644
index 00000000000..16b402b27b3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/inconsolata/t1zi4.fd
@@ -0,0 +1,25 @@
+% Copyright 2013 Michael Sharpe.
+% You may freely use, modify and/or distribute this file.
+
+\ProvidesFile{t1zi4.fd}[2013/06/09 T1/zi4 (Inconsolata)]
+
+\expandafter\ifx\csname zifour@scaled\endcsname\relax
+ \let\zifour@scaled\@empty
+\fi
+
+\expandafter\ifx\csname zifour@opt\endcsname\relax
+ \def\zifour@opt{\z@}\def\zifour@altopt{\tw@}
+\fi
+
+\DeclareFontFamily{T1}{zi4}{\hyphenchar\font=\m@ne}
+\DeclareFontShape{T1}{zi4}{m}{n}{%
+ <-> \zifour@scaled t1-zi4r-\zifour@opt}{}
+\DeclareFontShape{T1}{zi4}{m}{scit}{%
+ <-> \zifour@scaled t1-zi4r-\zifour@altopt}{}
+\DeclareFontShape{T1}{zi4}{b}{n}{%
+ <-> \zifour@scaled t1-zi4b-\zifour@opt}{}
+\DeclareFontShape{T1}{zi4}{b}{scit}{%
+ <-> \zifour@scaled t1-zi4b-\zifour@altopt}{}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/inconsolata/zi4.sty b/Master/texmf-dist/tex/latex/inconsolata/zi4.sty
new file mode 100644
index 00000000000..0ac47dcb2b7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/inconsolata/zi4.sty
@@ -0,0 +1,89 @@
+% Copyright 2013 Michael Sharpe
+% Based initially on Karl Berry's inconsolata.sty.
+% You may freely use, modify and/or distribute this file.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{zi4}[2013/06/09 zi4a]
+
+\RequirePackage{textcomp}
+\RequirePackage{keyval}
+
+\newcount\zifour@ocount
+\newif\ifzifour@altzero
+\newif\ifzifour@noupq
+\define@key{zifour}{scaled}[1.0]{\def\zifour@scaled{s*[#1]}}
+
+\DeclareOption*{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\setkeys{zifour}{\CurrentOption}}%
+ \x}
+
+% by default, change \tt to mean zi4.
+\newcommand*{\zifour@default}{%
+ \renewcommand*{\ttdefault}{zi4}%
+}
+
+% option [nott] to avoid changing tt.
+\DeclareOption{nott}{%
+ \renewcommand*{\zifour@default}{}%
+}
+% option [noupquote] to prevent loading upquote.
+\DeclareOption{noupquote}{%
+ \zifour@noupqtrue}%
+
+% option var0---use unslashed zero (slashed is default)
+\DeclareOption{var0}{%
+ \zifour@altzerotrue\advance\zifour@ocount \tw@ %
+}
+\DeclareOption{varl}{%
+ \advance\zifour@ocount \@ne %
+}
+\DeclareOption{varqu}{%
+ \advance\zifour@ocount 4\relax %
+}
+
+\ProcessOptions*
+\zifour@default
+\edef\zifour@opt{\the\zifour@ocount}
+\ifzifour@altzero
+ \advance\zifour@ocount -\tw@
+\else
+ \advance\zifour@ocount \tw@
+\fi
+\edef\zifour@altopt{\the\zifour@ocount}
+% define an \altzero macro which flips to slashed, unslashed
+\def\altzero{{\fontfamily{zi4}%
+ \fontshape{scit}%
+ \selectfont 0}}
+
+\def\zifour@T@ne@nc{T1}
+\def\zifour@OT@ne@nc{OT1}
+\def\zifour@LY@ne@nc{LY1}
+\def\zifour@QX@nc{QX}
+\def\zifour@TQS{%
+\UndeclareTextCommand{\textquotesingle}{\encodingdefault}
+\DeclareTextSymbol{\textquotesingle}{TS1}{39}}
+
+\ifzifour@noupq% do nothing
+ % Try to correct for wrong slots for QX
+ \ifx\encodingdefault\zifour@QX@nc
+ \zifour@TQS
+ \else
+ \ifx\encodingdefault\zifour@LY@ne@nc
+ \zifour@TQS
+ \fi
+ \fi
+\else
+ \AtBeginDocument{%
+ \ifx\encodingdefault\zifour@T@ne@nc % do nothing
+ \else
+ \ifx\encodingdefault\zifour@OT@ne@nc % do nothing
+ \else
+ \zifour@TQS
+ \fi
+ \fi
+ \usepackage{upquote}}
+\fi
+
+\endinput