| 1 |
\documentclass{article} |
| 2 |
\usepackage[T1]{fontenc} |
| 3 |
\usepackage[utf8]{inputenc} |
| 4 |
\usepackage{listings} |
| 5 |
\title{The \texttt{punk} package\medskip\\ |
| 6 |
\large\LaTeX\ support for the punk fonts} |
| 7 |
\author{version 1.1 \today} |
| 8 |
\lstset{language=[latex]tex,breaklines=true} |
| 9 |
\date{Palle J\o rgensen} |
| 10 |
|
| 11 |
\begin{document} |
| 12 |
\maketitle |
| 13 |
\section{Introduction} |
| 14 |
\label{sec:introduction} |
| 15 |
The \texttt{punk} package provides support for the punk fonts. The |
| 16 |
punk fonts are already installed on many systems, this is only support |
| 17 |
for using the punk fonts with \LaTeX. |
| 18 |
|
| 19 |
The license of the punk package and the related files is GNU General |
| 20 |
Public License. |
| 21 |
|
| 22 |
\section{Using the punk package} |
| 23 |
\label{sec:using-punk-fonts} |
| 24 |
|
| 25 |
If you want some text typeset with the punk fonts for a short |
| 26 |
text you can use one of the commands |
| 27 |
|
| 28 |
\begin{lstlisting} |
| 29 |
\textpunk{...}, \textpunksl{...}, \textpunkbf{...} |
| 30 |
\end{lstlisting} |
| 31 |
which typesets the text with Punk, Punk Slanted and Punk Bold. |
| 32 |
|
| 33 |
If you want to typeset longer passages of text with the punk fonts, |
| 34 |
you can use the environment |
| 35 |
|
| 36 |
\begin{lstlisting} |
| 37 |
punkfamily |
| 38 |
\end{lstlisting} |
| 39 |
Inside \texttt{punkfamily} the normal \LaTeX\ font switches |
| 40 |
\verb+\slshape+ and \verb+\bfseries+ works. Furthermore \verb+\emph+ |
| 41 |
works too. |
| 42 |
|
| 43 |
It is possible to use the command |
| 44 |
\begin{lstlisting} |
| 45 |
\punkfamily |
| 46 |
\end{lstlisting} |
| 47 |
but this command also changes the current fontencoding; use with |
| 48 |
caution\dots |
| 49 |
|
| 50 |
\clearpage |
| 51 |
\appendix |
| 52 |
\enlargethispage*{5mm} |
| 53 |
\section{Source of the files in the punk bundle} |
| 54 |
\label{sec:source} |
| 55 |
|
| 56 |
\subsection{punk.sty} |
| 57 |
\label{sec:punk.sty} |
| 58 |
\lstinputlisting{punk.sty} |
| 59 |
|
| 60 |
\subsection{ot1pnk.fd} |
| 61 |
\label{sec:ot1pnr.fd} |
| 62 |
\lstinputlisting{ot1pnr.fd} |
| 63 |
|
| 64 |
\end{document} |
| 65 |
|
| 66 |
%%% Local Variables: |
| 67 |
%%% mode: latex |
| 68 |
%%% TeX-master: t |
| 69 |
%%% End: |
| 70 |
|
| 71 |
%%% Local Variables: |
| 72 |
%%% mode: latex |
| 73 |
%%% TeX-master: t |
| 74 |
%%% End: |