summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/fonetika/fonetika.tex
blob: da0a3202a68790d06faf75eaee62440d4a9537f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
\documentclass[a4paper,11pt,british,DIVcalc]{scrartcl}
\usepackage[T1]{fontenc,url}
\usepackage[utf8]{inputenc}
\usepackage{babel,fonetika,listings}
\usepackage[sc,osf]{mathpazo}
\usepackage[scaled]{luximono}
\author{Palle Jørgensen}
\renewcommand*\sfdefault{iwonac}
\title{The fonetika package}
\renewcommand*\textsl[1]{{\fontfamily{ppl}\slshape #1}}
\urlstyle{rm}
\newcommand*\nooldstyle[1]{{\fontfamily{ppl}\selectfont #1}}
\newcommand*\TI{\nooldstyle{T1}}
\lstset{breaklines=true,language=[latex]tex}

\begin{document}

\maketitle  
\section{Introduction}
\label{sec:english-summary}

The Fonetika fonts is a set of fonts designed to be used for the
danish \emph{Dania}\,\cite{dania} phonetic alphabet. 

There are two fonts; a serif font \emph{Fonetika Dania Pallae} based
on \textsl{URW Palladio} (Palatino), and a sans serif font
\emph{Fonetika Dania Iwonae} based on \textsl{Iwona Condendsed.} Both
fonts exist in a regular and a bold weight.\footnote{The fonts
  Palladio and Iwona Condensed are the fonts used in this document}

The fonts are made with FontForge\,\cite{fontforge}.

For easy typing, the special characters are placed on the places of
uppercase letters in the \TI{} encoding. Hence the fonetika package
requires the fontenc package with option \TI{}. This is loaded if not
loaded by the user. The encoding of the fonetika fonts is a sort of
``fake'' \TI{} encoding.

\section{User interface}
\label{sec:user-interface}

\subsection{Loading the package}
\label{sec:loading-package}

The fonetika package has two options, \texttt{serif} and \texttt{sans}
which determines whether the \string\fonetika\ command chooses the
serif or the the sans serif font. The option \texttt{serif} is default.

\subsection{Commands}
\label{sec:commands}

The basic command of the fonetika package is (surprise)
\string\fonetika\ which takes an argument, and typesets it with the
current fonetika-font.

\begin{tabular}{lll}
  chokolade & \verb+\fonetika{Sogo|laDe}+ & \fonetika{Sogo|laDe}
\end{tabular}

Furthermore there are two commands, \verb+\fonetikaserif+ and
\verb+\fonetikasans+, which works just like the \verb+\fonetika+
command, but selects the serif and sans serif fonts specificly. This
is mainly for use in section titles if they are set with another font
than the body text.

\subsection{Input and output}
\label{sec:input-output}

The tables below show the typed input and the phonetic characters it
produces.

\begingroup
\tabcolsep1pt
\parindent0pt
\catcode`!\active
\let!\fonetikafamily
\catcode`?\active
\let?\ttfamily
\begin{tabular}{@{}lllllllllllllllllllllllllllll}
  \noalign{\subsubsection*{Uppercase letters}}
  ?A&?B&?C&?D&?E&?F&?G&?H&?I&?J&?K&?L&?M&?N&?O&?P&?Q&?R&?S&?T&?U&?V&?W&?X&?Y&?Z&?Æ&?Ø&?Å\\
  !A&!B&!C&!D&!E&!F&!G&!H&!I&!J&!K&!L&!M&!N&!O&!P&!Q&!R&!S&!T&!U&!V&!W&!X&!Y&!Z&!Æ&!Ø&!Å\bigskip\\
  \noalign{\subsubsection*{Lowercase letters}}
  ?a&?b&?c&?d&?e&?f&?g&?h&?i&?j&?k&?l&?m&?n&?o&?p&?q&?r&?s&?t&?u&?v&?w&?x&?y&?z&?æ&?ø&?å\\
  !a&!b&!c&!d&!e&!f&!g&!h&!i&!j&!k&!l&!m&!n&!o&!p&!q&!r&!s&!t&!u&!v&!w&!x&!y&!z&!æ&!ø&!å\bigskip\\
  \noalign{\subsubsection*{Other characters}}
  ?|&?'&?[&?]&?,&?.&?0\\
  !|&!'&![&!]&!,&!.&!0\bigskip\\
\end{tabular}
\endgroup

\section{License}
\label{sec:license}

The license of the fonetika fonts is Gnu General Public License, GPL\cite{gpl},
exept the fonts and metrics of the Fonetika Dania Iwonae. The license
of those is GUST Font Nosource License, \cite{gust}.

\begin{thebibliography}{9}
\bibitem{dania} \url{http://da.wikipedia.org/wiki/Dania}
\bibitem{fontforge} \url{http://sourceforge.net/projects/fontforge/}
\bibitem{gpl} \url{http://www.gnu.org/licenses/gpl.txt}
\bibitem{gust} \url{http://tug.org/fonts/licenses/GUST-FONT-NOSOURCE-LICENSE.txt}
\end{thebibliography}
\appendix
\clearpage
\section{Source of the fonetika files}
\label{sec:source-fonet-files}

\subsection{Source of fonetika.sty}
\label{sec:source-fonetika.sty}
\lstinputlisting{fonetika.sty}

\subsection{Source of t1fonetika.fd}
\label{sec:source-t1fonetika.fd}
\lstinputlisting{t1fonetika.fd}

\subsection{Source of fonetika.map}
\label{sec:source-fonetika.map}
\lstinputlisting{fonetika.map}


\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: