diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/psnfss/test1.tex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/psnfss/test1.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/psnfss/test1.tex | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/psnfss/test1.tex b/Master/texmf-dist/doc/latex/psnfss/test1.tex new file mode 100644 index 00000000000..77be282aeb9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psnfss/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} |