From c67f82e4e507969de7b2320b44c98aa481adc6e2 Mon Sep 17 00:00:00 2001
From: Norbert Preining <preining@logic.at>
Date: Sat, 17 Nov 2007 21:32:49 +0000
Subject: new package fonetika (fontsextra)

git-svn-id: svn://tug.org/texlive/trunk@5494 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/fonetika/fonetika.sty | 28 +++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/fonetika/fonetika.sty

(limited to 'Master/texmf-dist/tex/latex/fonetika/fonetika.sty')

diff --git a/Master/texmf-dist/tex/latex/fonetika/fonetika.sty b/Master/texmf-dist/tex/latex/fonetika/fonetika.sty
new file mode 100644
index 00000000000..e07f4f04755
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/fonetika/fonetika.sty
@@ -0,0 +1,28 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{fonetika}[2006/09/27 Package for the Fonetika Dania fonts]
+
+\def\fonetikashape{n}
+\DeclareOption{sans}{\def\fonetikashape{ns}}
+\DeclareOption{serif}{\def\fonetikashape{n}}
+\ProcessOptions*
+
+\def\fonetika@ti{T1}
+\AtBeginDocument{%
+  \ifx\encodingdefault\fonetika@ti %% T1 encoding is default
+  \RequirePackage[T1]{fontenc}
+  \else
+  \RequirePackage[T1,\encodingdefault]{fontenc}
+  \fi
+}
+
+\newcommand*\fonetikafamily{\fontencoding{T1}\fontfamily{fonetika}\fontshape{\fonetikashape}\selectfont}
+\DeclareTextFontCommand{\fonetika}{\fonetikafamily}
+
+\newcommand*\fonetikasansfamily{\fontencoding{T1}\fontfamily{fonetika}\fontshape{ns}\selectfont}
+\DeclareTextFontCommand{\fonetikasans}{\fonetikasansfamily}
+
+\newcommand*\fonetikaseriffamily{\fontencoding{T1}\fontfamily{fonetika}\fontshape{n}\selectfont}
+\DeclareTextFontCommand{\fonetikaserif}{\fonetikaseriffamily}
+
+
+\endinput
-- 
cgit v1.2.3

