diff options
author | Norbert Preining <preining@logic.at> | 2007-11-17 21:32:49 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-17 21:32:49 +0000 |
commit | c67f82e4e507969de7b2320b44c98aa481adc6e2 (patch) | |
tree | cdc538aedb32b4e99da86479db1390fec2ba3c9b /Master/texmf-dist/tex | |
parent | 3dd2ca93cae1888bd72d4fec84c4f13221abafd1 (diff) |
new package fonetika (fontsextra)
git-svn-id: svn://tug.org/texlive/trunk@5494 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fonetika/fonetika.sty | 28 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fonetika/t1fonetika.fd | 24 |
2 files changed, 52 insertions, 0 deletions
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 diff --git a/Master/texmf-dist/tex/latex/fonetika/t1fonetika.fd b/Master/texmf-dist/tex/latex/fonetika/t1fonetika.fd new file mode 100644 index 00000000000..b1c24baa30f --- /dev/null +++ b/Master/texmf-dist/tex/latex/fonetika/t1fonetika.fd @@ -0,0 +1,24 @@ +\ProvidesFile{t1fonetika.fd}[2006/05/01 LaTeX font definition for T1/Fonetika] + +\DeclareFontFamily{T1}{fonetika}{\hyphenchar\font\m@ne} +\DeclareFontShape{T1}{fonetika}{m}{n}{ + <-> fonetika +}{} + +\DeclareFontShape{T1}{fonetika}{b}{n}{ + <-> fonetikabold +}{} + +\DeclareFontShape{T1}{fonetika}{m}{ns}{ + <-> fonetikasans +}{} + +\DeclareFontShape{T1}{fonetika}{b}{ns}{ + <-> fonetikasansbold +}{} + +\DeclareFontShape{T1}{fonetika}{bx}{n}{<->ssub * fonetika/b/n}{} +\DeclareFontShape{T1}{fonetika}{bx}{ns}{<->ssub * fonetika/b/ns}{} + + +\endinput
\ No newline at end of file |