diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-27 18:14:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-27 18:14:13 +0000 |
commit | a70e98f4e61f28410c59870c7a99c5741365bdce (patch) | |
tree | c0b654f5c1c7fc2e96f4cbaa0f327ce48f0a8ecc /Master/texmf-dist/doc/latex/psnfss/test | |
parent | 617dae2d7d395ded39239d68c56768ed4342aa20 (diff) |
latex required package psnfss update from latex-tds, minus tfm/vf (27aug06)
git-svn-id: svn://tug.org/texlive/trunk@2040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/psnfss/test')
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test/mathtest.tex | 116 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test/pitest.tex | 66 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test/test0.tex | 118 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test/test1.tex | 51 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test/test2.tex | 39 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test/test3.tex | 43 |
6 files changed, 433 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/psnfss/test/mathtest.tex b/Master/texmf-dist/doc/latex/psnfss/test/mathtest.tex new file mode 100644 index 00000000000..8d3172377e0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/test/mathtest.tex @@ -0,0 +1,116 @@ +% This file is part of PSNFSS 9.2 + +\listfiles +\documentclass{article} +\usepackage{geometry} +%\pagestyle{empty} +\usepackage[sc,osf,slantedGreek]{mathpazo} +\linespread{1.08} % Palatino needs more leading +\usepackage[scaled]{helvet} +\usepackage{courier} +\parindent=0pt +\pagestyle{empty} +\normalfont +\usepackage[T1]{fontenc} + +\begin{document} + +\begin{center} +\scshape\Large Sebastian's math test +\end{center} +The default math mode font is $Math\ Italic$. This should not be +confused with ordinary \emph{Text Italic} -- notice the different spacing\,! +\verb|\mathbf| produces bold roman letters: $ \mathbf{abcABC} $. +If you wish to embolden complete formulas, +use the \verb|\boldmath| command \emph{before} going into math mode. +This changes the default math fonts to bold. + +\begin{tabular}{ll} +\texttt{normal} & $ x = 2\pi \Rightarrow x \simeq 6.28 $\\ +\texttt{mathbf} & $\mathbf{x} = 2\pi \Rightarrow \mathbf{x} \simeq 6.28 $\\ +\texttt{boldmath} & {\boldmath $x = \mathbf{2}\pi \Rightarrow x + \simeq{\mathbf{6.28}} $}\\ +\end{tabular} +\smallskip + +Greek is available in upper and lower case: +$\alpha,\beta \dots \Omega$, and there are special +symbols such as $ \hbar$. +The following letters should be upright: $\upGamma, \upDelta\dots \upOmega$. +Digits in formulas $1, 2, 3\dots$ may differ from those in text: 4, 5, 6\dots + +There is a calligraphic alphabet \verb|\mathcal| for upper case letters +$ \mathcal{ABCDE}\dots $, and there are letters for number sets: $\mathbb{A\dots Z} $, +which are produced using \verb|\mathbb|. + +\begin{equation} + \sigma(t)=\frac{1}{\sqrt{2\pi}} + \int^t_0 e^{-x^2/2} dx +\end{equation} + +\begin{equation} + \prod_{j\geq 0} + \left(\sum_{k\geq 0}a_{jk} z^k\right) += \sum_{k\geq 0} z^n + \left( \sum_{{k_0,k_1,\ldots\geq 0} + \atop{k_0+k_1+\ldots=n} } + a{_0k_0}a_{1k_1}\ldots \right) +\end{equation} + +\begin{equation} +\pi(n) = \sum_{m=2}^{n} + \left\lfloor \left(\sum_{k=1}^{m-1} + \lfloor(m/k)/\lceil m/k\rceil + \rfloor \right)^{-1} + \right\rfloor +\end{equation} + +\begin{equation} +\{\underbrace{% + \overbrace{\mathstrut a,\ldots,a}^{k\ a's}, + \overbrace{\mathstrut b,\ldots,b}^{l\ b's}} + _{k+l\ \mathrm{elements}} \} +\end{equation} + +\[ +\mbox{W}^+\ +\begin{array}{l} +\nearrow\raise5pt\hbox{$\mu^+ + \nu_{\mu}$}\\ +\rightarrow \pi^+ +\pi^0 \\[5pt] +\rightarrow \kappa^+ +\pi^0 \\ +\searrow\lower5pt\hbox{$\mathrm{e}^+ + +\nu_{\scriptstyle\mathrm{e}}$} +\end{array} +\] + +\[ +\frac{\pm +\left|\begin{array}{ccc} +x_1-x_2 & y_1-y_2 & z_1-z_2 \\ +l_1 & m_1 & n_1 \\ +l_2 & m_2 & n_2 +\end{array}\right|}{ +\sqrt{\left|\begin{array}{cc}l_1&m_1\\ +l_2&m_2\end{array}\right|^2 ++ \left|\begin{array}{cc}m_1&n_1\\ +n_1&l_1\end{array}\right|^2 ++ \left|\begin{array}{cc}m_2&n_2\\ +n_2&l_2\end{array}\right|^2}} +\] + +Mathematical accents: +\[ +\mbox{ acute=}\acute{a} +\mbox{ grave=}\grave{a} +\mbox{ ddot=}\ddot {a} +\mbox{ tilde=}\tilde{a} +\mbox{ bar=}\bar {a} +\mbox{ breve=}\breve{a} +\mbox{ check=}\check{a} +\mbox{ hat=}\hat {a} +\mbox{ vec=}\vec {a} +\mbox{ dot=}\dot {a} +\] + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/psnfss/test/pitest.tex b/Master/texmf-dist/doc/latex/psnfss/test/pitest.tex new file mode 100644 index 00000000000..4d59d051798 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/test/pitest.tex @@ -0,0 +1,66 @@ +\documentclass[11pt]{article} +\pagestyle{empty} + +\renewcommand{\rmdefault}{ptm} +\usepackage{pifont} + +\begin{document} + +\begin{dinglist}{74} +\item \ding{101} was Dingbat 101 +\item \verb|\dingfill| (with the usual numeric parameter) + acts like other filling commands, but fills the +space with a chosen Dingbat \dingfill{101} like that. +{ +\fontfamily{pzc}\itshape\selectfont +\item \verb|\dingline| generates a freestanding line of the little chaps: +\dingline{44} +\item Inevitably, the `dinglist' environment sets up an itemized +list, but has a Dingbat instead of a bullet (you are reading a +\verb|dinglist| at the moment). +} +\end{dinglist} + +\begin{Pilist}{psy}{74} +\item \Pisymbol{psy}{101} was symbol 101 +\item \verb|\Pifill{psy}| (with the usual numeric parameter) + acts like other filling commands, but fills the +space with a chosen symbol \Pifill{psy}{101} like that. +\item \verb|\Piline| generates a freestanding line of the little chaps: +\Piline{psy}{44} +\item Inevitably, the `Pilist' environment sets up an itemized +list, but has a symbol instead of a bullet (you are reading a +\verb|Pilist| at the moment). +\end{Pilist} + +\begin{Piautolist}{pzd}{'254} +\item text inside list, + \begin{Piautolist}{psy}{'141} + \item text inside list, + \item text inside list, + \begin{enumerate} + \item text inside list, + \begin{Piautolist}{pzd}{'56} + \item text inside list,\label{pilabel} + \item text inside list, + \end{Piautolist} + \item text inside list, + \end{enumerate} + \item text inside list, + \end{Piautolist} +\item text inside list +\end{Piautolist} +So we can refer to item \ref{pilabel} as usual. + +\begin{Pilist}{pzd}{'246} +\item \verb|\Pisymbol| generates a Pi character; it has two +parameters: the font family, and the character number. Thus +\verb|\Pisymbol{pzd}{'166}| generates \Pisymbol{pzd}{'166}. +\item \verb|\Pifill| (with the same parameters) + acts like the other filling commands in \TeX, but fills the +space with a chosen symbol \Pifill{pzd}{'340} like that. +\item \verb|\Piline| generates a freestanding line of the little chaps: +\Piline{pzd}{36} +\end{Pilist} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/psnfss/test/test0.tex b/Master/texmf-dist/doc/latex/psnfss/test/test0.tex new file mode 100644 index 00000000000..743f6c6dca6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/test/test0.tex @@ -0,0 +1,118 @@ +\documentclass[11pt]{article} +\usepackage{mathptmx} +\usepackage[scaled=0.92]{helvet} +\usepackage{courier} +\usepackage[T1]{fontenc} +\parskip=2pt\parindent 0pt + +\begin{document} +\section{A simple test of PSNFSS2e in new and old encoding} + +\subsection{T1 encoding} + +\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline +\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic + & \verb|\scshape| & \scshape Small Caps \\ +\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted + & \verb|\ttfamily| & \ttfamily Typewriter \\ +\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & & +\\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline +\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| & +\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\ +\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| & +\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\ +\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| & +\u{o} & \verb|\u{o}| && \\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline +\dag & \verb|\dag| & \S & \verb|\S| & +\copyright & \verb|\copyright| &\i & \verb|\i|\\ +\ddag & \verb|\ddag| & \P & \verb|\P| & +\pounds & \verb|\pounds| & {\j} & \verb|\j|\\ +\oe & \verb|\oe| & \OE & \verb|\OE| & +\ae & \verb|\ae| & & \\ +\AE & \verb|\AE| & \aa & \verb|\aa| & +\AA & \verb|\AA| && \\ +\o & \verb|\o| & \O & \verb|\O| & +\l & \verb|\l| && \\ +\L & \verb|\L| & \ss & \verb|\ss| & +?` & \verb|?`| && \\ +!` & \verb|!`| & \ldots & \verb|\ldots| & +\LaTeX & \verb|\LaTeX| && \\ +\hline +\end{tabular}\end{quote} +{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do; +\em this costs \pounds 45 in sans italic to do;} +\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do +\bfseries this costs \pounds 45 to do for a f\'ee. And so on.} +The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN +FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's +Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis +the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s? + +\newpage +\fontencoding{OT1}\renewcommand{\encodingdefault}{OT1}\selectfont + +\subsection{OT1 encoding} + +Note: do \emph{not} expect the pounds sign to be quite correct --- it +will always be in italic, and will be a dollar in the Helvetica fonts. + +\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline +\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic + & \verb|\scshape| & \scshape Small Caps \\ +\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted + & \verb|\ttfamily| & \ttfamily Typewriter \\ +\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & & +\\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline +\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| & +\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\ +\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| & +\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\ +\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| & +\u{o} & \verb|\u{o}| && \\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline +\dag & \verb|\dag| & \S & \verb|\S| & +\copyright & \verb|\copyright| &\i & \verb|\i|\\ +\ddag & \verb|\ddag| & \P & \verb|\P| & +\pounds & \verb|\pounds| & {\j} & \verb|\j|\\ +\oe & \verb|\oe| & \OE & \verb|\OE| & +\ae & \verb|\ae| & & \\ +\AE & \verb|\AE| & \aa & \verb|\aa| & +\AA & \verb|\AA| && \\ +\o & \verb|\o| & \O & \verb|\O| & +\l & \verb|\l| && \\ +\L & \verb|\L| & \ss & \verb|\ss| & +?` & \verb|?`| && \\ +!` & \verb|!`| & \ldots & \verb|\ldots| & +\LaTeX & \verb|\LaTeX| && \\ +\hline +\end{tabular}\end{quote} +{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do; +\em this costs \pounds 45 in sans italic to do;} +\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do +\bfseries this costs \pounds 45 to do for a f\'ee. And so on.} +{\itshape Let's try USD in italic, too: \$ 45.} +The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN +FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's +Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis +the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s? + +\section{Math alphabets used with Times} +\begin{quote}\begin{tabular}{|ll|} +\hline +$1, 2, 3, \sin, \log $ & \verb|$1, 2, 3, \sin, \log $| \\ +$c, v, f, \beta, \Gamma $ & \verb|$c, v, f, \beta, \Gamma $| \\ +$\mathcal{A B C F} $ & \verb|$\mathcal{A, B, C, F} $|\\ +\hline +\end{tabular}\end{quote} +\end{document} diff --git a/Master/texmf-dist/doc/latex/psnfss/test/test1.tex b/Master/texmf-dist/doc/latex/psnfss/test/test1.tex new file mode 100644 index 00000000000..77be282aeb9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/test/test1.tex @@ -0,0 +1,51 @@ +\documentclass[11pt]{article} + +\renewcommand{\rmdefault}{ptm} +\usepackage[scaled=0.92]{helvet} +\renewcommand{\bfdefault}{b} + +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\begin{document} +\frenchspacing +\title{PSNFSS:\\ Times, Helvetica, Courier} +\author{Sebastian Rahtz \and Walter Schmidt} +\date{2004-09-06} +\maketitle +\def\Try#1#2{% +{\fontfamily{#1}\selectfont +This is typeset in #2 (#1): +\begin{quote} +\raggedright +A regular f\'ee costs 123\,\texteuro.\\ +\textit{An italic f\'ee.costs 123\,\texteuro.}\\ +\textsl{A slanted f\'ee costs 123\,\texteuro.}\\ +\textsc{A SmallCaps f\'ee.}\\ +{\bfseries A bold f\'ee costs 123\,\texteuro.\\ + \textit{A bold italic f\'ee costs 123\,\texteuro.}\\ + \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\ + \textsc{A bold SmallCaps f\'ee.}\\ +} +\end{quote} +\par +}} + +\Try{ptm}{Adobe Times Roman} +\Try{phv}{Adobe Helvetica} +\Try{pcr}{Adobe Courier} + +\textsf{In Helvetica we can try the narrow font series, too.\footnote{Thanks to Frank + Poppe for putting this in.}} +\begin{quote} +\raggedright +\fontfamily{phv}\fontseries{mc}\selectfont +\upshape A narrow f\'ee costs 123\,\texteuro.\\ +\slshape A narrow slanted f\'ee costs 123\,\texteuro.\\ +{\fontseries{bc}\selectfont +\upshape A bold narrow f\'ee costs 123\,\texteuro.\\ +\slshape A bold narrow slanted f\'ee costs 123\,\texteuro. +} +\end{quote} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/psnfss/test/test2.tex b/Master/texmf-dist/doc/latex/psnfss/test/test2.tex new file mode 100644 index 00000000000..94e1f7ad2af --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/test/test2.tex @@ -0,0 +1,39 @@ +\documentclass[11pt]{article} + +\renewcommand{\rmdefault}{ppl} +\renewcommand{\bfdefault}{b} +\linespread{1.05} + +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\begin{document} +\frenchspacing +\title{PSNFSS:\\ Palatino, Bookman, \\ NewCenturySchoolbook, AvantGarde} +\author{Sebastian Rahtz \and Walter Schmidt} +\date{2003-09-30} +\maketitle +\def\Try#1#2{% +{\fontfamily{#1}\selectfont +This is typeset in #2 (#1): +\begin{quote} +\raggedright +A regular f\'ee costs 123\,\texteuro.\\ +\textit{An italic f\'ee costs 123\,\texteuro.}\\ +\textsl{A slanted f\'ee costs 123\,\texteuro.}\\ +\textsc{A SmallCaps f\'ee.}\\ +{\bfseries A bold f\'ee costs 123\,\texteuro.\\ + \textit{A bold italic f\'ee costs 123\,\texteuro.}\\ + \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\ + \textsc{A bold SmallCaps f\'ee.}\\ +} +\end{quote} +\par +}} + +\Try{ppl}{Adobe Palatino} +\Try{pbk}{Adobe Bookman} +\Try{pnc}{Adobe NewCenturySchoolbook} +\Try{pag}{Adobe AvantGarde} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/psnfss/test/test3.tex b/Master/texmf-dist/doc/latex/psnfss/test/test3.tex new file mode 100644 index 00000000000..69535f626f1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/test/test3.tex @@ -0,0 +1,43 @@ +\documentclass[11pt]{article} + +\usepackage{charter} +\linespread{1.05} + +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\begin{document} +\frenchspacing +\title{PSNFSS:\\ Zapf Chancery and Charter} +\author{Sebastian Rahtz \and Walter Schmidt} +\date{2003-09-30} +\maketitle +\def\Try#1#2{% +\fontfamily{#1}\selectfont +This is typeset in #2 (#1): +\begin{quote} +\raggedright +A regular f\'ee costs 123\,\texteuro.\\ +\textit{An italic f\'ee costs 123\,\texteuro}\\ +\textsl{A slanted f\'ee costs 123\,\texteuro.}\\ +\textsc{A SmallCaps f\'ee.}\\ +{\bfseries A bold f\'ee costs 123\,\texteuro.\\ + \textit{A bold italic f\'ee costs 123\,\texteuro.}\\ + \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\ + \textsc{A bold SmallCaps f\'ee.}\\ +} +\end{quote} +\par +} + +% Zapf Chancery is available as italic font shape only: +This is typeset in Adobe Zapf Chancery (pzc): +\begin{quote} +\fontfamily{pzc}\fontshape{it}\selectfont +An italic f\'ee costs 123\,\texteuro. +\end{quote} + +\Try{bch}{Bitstream Charter} + + +\end{document} |