summaryrefslogtreecommitdiffstats
path: root/vorlagen/packages/inconsolata/inconsolata.sty
diff options
context:
space:
mode:
authorRefik Hadzialic2012-03-26 13:17:34 +0200
committerRefik Hadzialic2012-03-26 13:17:34 +0200
commit4abd197d076ac894ea1260e506b03dd020a7cee4 (patch)
tree32866b82c321a063dfda7fda8eea82f5ac939caf /vorlagen/packages/inconsolata/inconsolata.sty
parentinit repo (diff)
downloadmalign-4abd197d076ac894ea1260e506b03dd020a7cee4.tar.gz
malign-4abd197d076ac894ea1260e506b03dd020a7cee4.tar.xz
malign-4abd197d076ac894ea1260e506b03dd020a7cee4.zip
I added the latex files for writing the thesis!
Diffstat (limited to 'vorlagen/packages/inconsolata/inconsolata.sty')
-rw-r--r--vorlagen/packages/inconsolata/inconsolata.sty39
1 files changed, 39 insertions, 0 deletions
diff --git a/vorlagen/packages/inconsolata/inconsolata.sty b/vorlagen/packages/inconsolata/inconsolata.sty
new file mode 100644
index 0000000..daac879
--- /dev/null
+++ b/vorlagen/packages/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/06/07 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{keyval}
+
+% 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