From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- fonts/fonetika/fonetika.sty | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 fonts/fonetika/fonetika.sty (limited to 'fonts/fonetika/fonetika.sty') diff --git a/fonts/fonetika/fonetika.sty b/fonts/fonetika/fonetika.sty new file mode 100644 index 0000000000..e07f4f0475 --- /dev/null +++ b/fonts/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