diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/ptsans/ptsans.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/ptsans/ptsans.tex | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex b/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex index a6ef7914451..9dca2206140 100644 --- a/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex +++ b/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex @@ -9,7 +9,6 @@ \documentclass[oneside]{scrartcl} -% the order might be important \usepackage[utf8]{inputenc} \usepackage[czech, english]{babel} \usepackage[T1]{fontenc} @@ -23,6 +22,8 @@ \author{Pavel Farář\\ \href{mailto:pavel.farar@centrum.cz}{pavel.farar@centrum.cz}} +\renewcommand{\familydefault}{\sfdefault} + \begin{document} \maketitle @@ -76,15 +77,10 @@ either version 1.3 of this license or (at your option) any later version. \section{Implementation} The package was created using \emph{fontools} but with some changes. - The prefix of the encoding files was changed from \emph{a\_} to \emph{ptsans\_} to avoid name clashes. - -The style files created by \emph{fontools} required the package -\emph{fontenc} with all supported encodings. This might be a problem (for -example if the encoding IL2 is not installed). Moreover the font has only -tabular lining figures and therefore it does not need any extra support. -That is why I created much simpler style files. +The style files are very different and font definition files include +also font substitutions. There are two map-files that you can use for the installation of the fonts with \emph{updmap}: \emph{PTSans-truetype.map} and \emph{PTSans-type1.map}. @@ -105,6 +101,17 @@ For example: \usepackage{PTSans} \end{verbatim} +If you want to use this font together with another font with somewhat different +proportions, you may use the option \emph{scaled}: +\begin{verbatim} +\usepackage[scaled=0.9]{PTSans} +\end{verbatim} + +You might also want to change the default font family of the document: +\begin{verbatim} +\renewcommand{\familydefault}{\sfdefault} +\end{verbatim} + You can typeset some text in a desired font like this: \begin{verbatim} {\usefont{T1}{PTSansNarrow-TLF}{b}{n}Text in narrow bold font} |