Debian Codegraph @

texmf-dist/doc/fonts/fonetika/fonetika.tex

raw
1 \documentclass[a4paper,11pt,british,DIVcalc]{scrartcl}
2 \usepackage[T1]{fontenc,url}
3 \usepackage[utf8]{inputenc}
4 \usepackage{babel,fonetika,listings}
5 \usepackage[sc,osf]{mathpazo}
6 \usepackage[scaled]{luximono}
7 \author{Palle Jørgensen}
8 \renewcommand*\sfdefault{iwonac}
9 \title{The fonetika package}
10 \renewcommand*\textsl[1]{{\fontfamily{ppl}\slshape #1}}
11 \urlstyle{rm}
12 \newcommand*\nooldstyle[1]{{\fontfamily{ppl}\selectfont #1}}
13 \newcommand*\TI{\nooldstyle{T1}}
14 \lstset{breaklines=true,language=[latex]tex}
15
16 \begin{document}
17
18 \maketitle
19 \section{Introduction}
20 \label{sec:english-summary}
21
22 The Fonetika fonts is a set of fonts designed to be used for the
23 danish \emph{Dania}\,\cite{dania} phonetic alphabet.
24
25 There are two fonts; a serif font \emph{Fonetika Dania Pallae} based
26 on \textsl{URW Palladio} (Palatino), and a sans serif font
27 \emph{Fonetika Dania Iwonae} based on \textsl{Iwona Condendsed.} Both
28 fonts exist in a regular and a bold weight.\footnote{The fonts
29 Palladio and Iwona Condensed are the fonts used in this document}
30
31 The fonts are made with FontForge\,\cite{fontforge}.
32
33 For easy typing, the special characters are placed on the places of
34 uppercase letters in the \TI{} encoding. Hence the fonetika package
35 requires the fontenc package with option \TI{}. This is loaded if not
36 loaded by the user. The encoding of the fonetika fonts is a sort of
37 ``fake'' \TI{} encoding.
38
39 \section{User interface}
40 \label{sec:user-interface}
41
42 \subsection{Loading the package}
43 \label{sec:loading-package}
44
45 The fonetika package has two options, \texttt{serif} and \texttt{sans}
46 which determines whether the \string\fonetika\ command chooses the
47 serif or the the sans serif font. The option \texttt{serif} is default.
48
49 \subsection{Commands}
50 \label{sec:commands}
51
52 The basic command of the fonetika package is (surprise)
53 \string\fonetika\ which takes an argument, and typesets it with the
54 current fonetika-font.
55
56 \begin{tabular}{lll}
57 chokolade & \verb+\fonetika{Sogo|laDe}+ & \fonetika{Sogo|laDe}
58 \end{tabular}
59
60 Furthermore there are two commands, \verb+\fonetikaserif+ and
61 \verb+\fonetikasans+, which works just like the \verb+\fonetika+
62 command, but selects the serif and sans serif fonts specificly. This
63 is mainly for use in section titles if they are set with another font
64 than the body text.
65
66 \subsection{Input and output}
67 \label{sec:input-output}
68
69 The tables below show the typed input and the phonetic characters it
70 produces.
71
72 \begingroup
73 \tabcolsep1pt
74 \parindent0pt
75 \catcode`!\active
76 \let!\fonetikafamily
77 \catcode`?\active
78 \let?\ttfamily
79 \begin{tabular}{@{}lllllllllllllllllllllllllllll}
80 \noalign{\subsubsection*{Uppercase letters}}
81 ?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&?Æ&?Ø&?Å\\
82 !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\\
83 \noalign{\subsubsection*{Lowercase letters}}
84 ?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&?æ&?ø&?å\\
85 !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\\
86 \noalign{\subsubsection*{Other characters}}
87 ?|&?'&?[&?]&?,&?.&?0\\
88 !|&!'&![&!]&!,&!.&!0\bigskip\\
89 \end{tabular}
90 \endgroup
91
92 \section{License}
93 \label{sec:license}
94
95 The license of the fonetika fonts is Gnu General Public License, GPL\cite{gpl},
96 exept the fonts and metrics of the Fonetika Dania Iwonae. The license
97 of those is GUST Font Nosource License, \cite{gust}.
98
99 \begin{thebibliography}{9}
100 \bibitem{dania} \url{http://da.wikipedia.org/wiki/Dania}
101 \bibitem{fontforge} \url{http://sourceforge.net/projects/fontforge/}
102 \bibitem{gpl} \url{http://www.gnu.org/licenses/gpl.txt}
103 \bibitem{gust} \url{http://tug.org/fonts/licenses/GUST-FONT-NOSOURCE-LICENSE.txt}
104 \end{thebibliography}
105 \appendix
106 \clearpage
107 \section{Source of the fonetika files}
108 \label{sec:source-fonet-files}
109
110 \subsection{Source of fonetika.sty}
111 \label{sec:source-fonetika.sty}
112 \lstinputlisting{fonetika.sty}
113
114 \subsection{Source of t1fonetika.fd}
115 \label{sec:source-t1fonetika.fd}
116 \lstinputlisting{t1fonetika.fd}
117
118 \subsection{Source of fonetika.map}
119 \label{sec:source-fonetika.map}
120 \lstinputlisting{fonetika.map}
121
122
123 \end{document}
124
125 %%% Local Variables:
126 %%% mode: latex
127 %%% TeX-master: t
128 %%% End: