summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pandora-latex/pandora.tex
blob: b02fc2e22756fb7b4f79cf2fe4e5e3a160888304 (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
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\title{The \texttt{pandora} package\medskip\\
  \large\LaTeX\ support for the pandora fonts}
\author{version 1.0 \today}
\lstset{language=[latex]tex,breaklines=true}
\date{Palle J\o rgensen}

\begin{document}
\maketitle
\section{Introduction}
\label{sec:introduction}
The \texttt{pandora} package provides support for the pandora fonts.
The pandora fonts are already installed on many systems, this is only
support for using the pandora fonts with \LaTeX.

The license of the pandora pcakage and the related files is GNU General
Public License.

\section{Using the pandora package}
\label{sec:using-pandora-fonts}

If you want some text typeset with the pandora roman fonts for a short
text you can use one of the commands

\begin{lstlisting}
  \textpnrm{...}, \textpnbf{...}, \textpnsl{...}
\end{lstlisting}
which typesets the text with Pandora Roman, Pandora Roman Bold and
Pandora Roman Slanted respektively.

If you want some text typeset with the pandora sans serif fonts for a
short text you can use one of the commands

\begin{lstlisting}
  \textpnsf{...}, \textpnsbf{...}, \textpnssl{...}
\end{lstlisting}
which typesets the text with Pandora Sans Serif, Pandora Sans Bold and
Pandora Sans Slanted respektively.

Furthermore you can acces the pandora typewriter font with
\begin{lstlisting}
  \textpntt{...}
\end{lstlisting}
which typesets the text with Pandora Typewriter Type.

If you want to typeset longer passages of text with the pandora fonts,
you can use the environments

\begin{lstlisting}
  pnrmfamily, pnsffamily, pnttfamily
\end{lstlisting}
Inside \texttt{pnrmfamily} and \texttt{pnssfamily} the normal \LaTeX\
font switches \verb+\slshape+ and \verb+\bfseries+ works. Furthermore
\verb+\emph+ works too.

\clearpage
It is possible to use the commands
\begin{lstlisting}
  \pnrmfamily, \pnsffamily, \pnttfamily
\end{lstlisting}
but these commands also changes the current fontencoding; use with
caution\dots
\appendix

\section{Source of the files in the pandora bundle}
\label{sec:source}

\subsection{pandora.sty}
\label{sec:pandora.sty}
\lstinputlisting{pandora.sty}

\subsection{ot1pnr.fd}
\label{sec:ot1pnr.fd}
\lstinputlisting{ot1pnr.fd}

\subsection{ot1pnss.fd}
\label{sec:ot1pnss.fd}
\lstinputlisting{ot1pnss.fd}

\subsection{ot1pntt.fd}
\label{sec:ot1pntt.fd}
\lstinputlisting{ot1pntt.fd}

\end{document}

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