diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/pandora-latex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/pandora-latex')
-rw-r--r-- | macros/latex/contrib/pandora-latex/README | 25 | ||||
-rw-r--r-- | macros/latex/contrib/pandora-latex/ot1pnr.fd | 25 | ||||
-rw-r--r-- | macros/latex/contrib/pandora-latex/ot1pnss.fd | 25 | ||||
-rw-r--r-- | macros/latex/contrib/pandora-latex/ot1pntt.fd | 21 | ||||
-rw-r--r-- | macros/latex/contrib/pandora-latex/pandora.pdf | bin | 0 -> 161751 bytes | |||
-rw-r--r-- | macros/latex/contrib/pandora-latex/pandora.sty | 20 | ||||
-rw-r--r-- | macros/latex/contrib/pandora-latex/pandora.tex | 92 |
7 files changed, 208 insertions, 0 deletions
diff --git a/macros/latex/contrib/pandora-latex/README b/macros/latex/contrib/pandora-latex/README new file mode 100644 index 0000000000..c06670da66 --- /dev/null +++ b/macros/latex/contrib/pandora-latex/README @@ -0,0 +1,25 @@ +This is a small package that provides some (poor) LaTeX support for +the pandora fonts. The pandora fonts are part of many tex +installations, and is found on the TeX Live distribution. + +*Installation* + +Unpack the archive, and move the files into their proper directories + +The files + +pandora.sty +ot1pnr.fd +ot1pnss.fd +ot1pntt.fd + +should be placed in +TEXMF/tex/latex/pandora + +pandora.pdf + +should be placed in +TEXMF/doc/latex/pandora + +pandora.tex is the source of pandora.pdf and no installation of it is +required. It can be deleted at will... diff --git a/macros/latex/contrib/pandora-latex/ot1pnr.fd b/macros/latex/contrib/pandora-latex/ot1pnr.fd new file mode 100644 index 0000000000..8ea361f4b5 --- /dev/null +++ b/macros/latex/contrib/pandora-latex/ot1pnr.fd @@ -0,0 +1,25 @@ +\ProvidesFile{ot1pnr.fd} + [2006/01/31 v1.0 LaTeX font definitions for Pandora Roman (PJ)] + +\DeclareFontFamily{OT1}{pnr}{} +\DeclareFontShape{OT1}{pnr}{m}{n}% + {<5><6><7><8><9><10><12><10.95><14.4><17.28><20.74><24.88>pnr10}{} + +\DeclareFontShape{OT1}{pnr}{m}{sl}% + {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>pnsl10}{} + +\DeclareFontShape{OT1}{pnr}{b}{n} + {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>pnb10}{} + +\DeclareFontShape{OT1}{pnr}{m}{sc}{<->ssub * pnr/m/n}{} +\DeclareFontShape{OT1}{pnr}{m}{it}{<->ssub * pnr/m/sl}{} + +\DeclareFontShape{OT1}{pnr}{b}{sl}{<->ssub * pnr/b/n}{} +\DeclareFontShape{OT1}{pnr}{b}{it}{<->ssub * pnr/b/n}{} +\DeclareFontShape{OT1}{pnr}{b}{sc}{<->ssub * pnr/b/n}{} + +\DeclareFontShape{OT1}{pnr}{bx}{n}{<->ssub * pnr/b/n}{} +\DeclareFontShape{OT1}{pnr}{bx}{sl}{<->ssub * pnr/b/sl}{} +\DeclareFontShape{OT1}{pnr}{bx}{it}{<->ssub * pnr/b/it}{} +\DeclareFontShape{OT1}{pnr}{bx}{sc}{<->ssub * pnr/b/sc}{} +\endinput
\ No newline at end of file diff --git a/macros/latex/contrib/pandora-latex/ot1pnss.fd b/macros/latex/contrib/pandora-latex/ot1pnss.fd new file mode 100644 index 0000000000..22bed4a407 --- /dev/null +++ b/macros/latex/contrib/pandora-latex/ot1pnss.fd @@ -0,0 +1,25 @@ +\ProvidesFile{ot1pnss.fd} + [2006/01/31 v1.1 LaTeX font definitions for Pandora Sans Serif (PJ)] + +\DeclareFontFamily{OT1}{pnss}{} +\DeclareFontShape{OT1}{pnss}{m}{n}% + {<5><6><7><8><9><10><12><10.95><14.4><17.28><20.74><24.88>pnss10}{} + +\DeclareFontShape{OT1}{pnss}{m}{sl}% + {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>pnssi10}{} + +\DeclareFontShape{OT1}{pnss}{b}{n} + {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>pnssb10}{} + +\DeclareFontShape{OT1}{pnss}{m}{sc}{<->ssub * pnss/m/n}{} +\DeclareFontShape{OT1}{pnss}{m}{it}{<->ssub * pnss/m/sl}{} + +\DeclareFontShape{OT1}{pnss}{b}{sl}{<->ssub * pnss/b/n}{} +\DeclareFontShape{OT1}{pnss}{b}{it}{<->ssub * pnss/b/n}{} +\DeclareFontShape{OT1}{pnss}{b}{sc}{<->ssub * pnss/b/n}{} + +\DeclareFontShape{OT1}{pnss}{bx}{n}{<->ssub * pnss/b/n}{} +\DeclareFontShape{OT1}{pnss}{bx}{sl}{<->ssub * pnss/b/sl}{} +\DeclareFontShape{OT1}{pnss}{bx}{it}{<->ssub * pnss/b/it}{} +\DeclareFontShape{OT1}{pnss}{bx}{sc}{<->ssub * pnss/b/sc}{} +\endinput
\ No newline at end of file diff --git a/macros/latex/contrib/pandora-latex/ot1pntt.fd b/macros/latex/contrib/pandora-latex/ot1pntt.fd new file mode 100644 index 0000000000..484923a23c --- /dev/null +++ b/macros/latex/contrib/pandora-latex/ot1pntt.fd @@ -0,0 +1,21 @@ +\ProvidesFile{ot1pntt.fd} + [2006/01/31 v1.1 LaTeX font definitions for pandora typewriter (PJ)] + +\DeclareFontFamily{OT1}{pntt}{} +\DeclareFontShape{OT1}{pntt}{m}{n}% + {<5><6><7><8><9><10><12><10.95><14.4><17.28><20.74><24.88>pntt9}{} + +\DeclareFontShape{OT1}{pntt}{m}{sc}{<->ssub * pntt/m/n}{} +\DeclareFontShape{OT1}{pntt}{m}{it}{<->ssub * pntt/m/n}{} +\DeclareFontShape{OT1}{pntt}{m}{sl}{<->ssub * pntt/m/n}{} + +\DeclareFontShape{OT1}{pntt}{b}{n}{<->ssub * pntt/m/n}{} +\DeclareFontShape{OT1}{pntt}{b}{sl}{<->ssub * pntt/b/n}{} +\DeclareFontShape{OT1}{pntt}{b}{it}{<->ssub * pntt/b/n}{} +\DeclareFontShape{OT1}{pntt}{b}{sc}{<->ssub * pntt/b/n}{} + +\DeclareFontShape{OT1}{pntt}{bx}{n}{<->ssub * pntt/b/n}{} +\DeclareFontShape{OT1}{pntt}{bx}{sl}{<->ssub * pntt/b/sl}{} +\DeclareFontShape{OT1}{pntt}{bx}{it}{<->ssub * pntt/b/it}{} +\DeclareFontShape{OT1}{pntt}{bx}{sc}{<->ssub * pntt/b/sc}{} +\endinput
\ No newline at end of file diff --git a/macros/latex/contrib/pandora-latex/pandora.pdf b/macros/latex/contrib/pandora-latex/pandora.pdf Binary files differnew file mode 100644 index 0000000000..fb7bab76d3 --- /dev/null +++ b/macros/latex/contrib/pandora-latex/pandora.pdf diff --git a/macros/latex/contrib/pandora-latex/pandora.sty b/macros/latex/contrib/pandora-latex/pandora.sty new file mode 100644 index 0000000000..841d3d84b0 --- /dev/null +++ b/macros/latex/contrib/pandora-latex/pandora.sty @@ -0,0 +1,20 @@ +\ProvidesPackage{pandora} + [2006/01/31 v1.1 LaTeX support for pandora fonts (PJ)] + +\newcommand*\pnrmfamily{% + \fontencoding{OT1}\fontfamily{pnr}\selectfont} + +\newcommand*\pnsffamily{% + \fontencoding{OT1}\fontfamily{pnss}\selectfont} + +\newcommand*\pnttfamily{% + \fontencoding{OT1}\fontfamily{pntt}\selectfont} + +\DeclareTextFontCommand{\textpnrm}{\pnrmfamily} +\DeclareTextFontCommand{\textpnsf}{\pnsffamily} +\DeclareTextFontCommand{\textpntt}{\pnttfamily} +\DeclareTextFontCommand{\textpnsl}{\pnrmfamily\slshape} +\DeclareTextFontCommand{\textpnbf}{\pnrmfamily\bfseries} +\DeclareTextFontCommand{\textpnssl}{\pnssfamily\slshape} +\DeclareTextFontCommand{\textpnsbf}{\pnssfamily\bfseries} +\endinput
\ No newline at end of file diff --git a/macros/latex/contrib/pandora-latex/pandora.tex b/macros/latex/contrib/pandora-latex/pandora.tex new file mode 100644 index 0000000000..b02fc2e227 --- /dev/null +++ b/macros/latex/contrib/pandora-latex/pandora.tex @@ -0,0 +1,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: |