summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-29 17:27:38 +0000
committerKarl Berry <karl@freefriends.org>2011-01-29 17:27:38 +0000
commit5653f521de3c7bb4734e39cd3b84164bba23a39a (patch)
tree0130dcd3c463476046c00e8e370131486146d2e8 /Master/texmf-dist/doc/fonts/ptsans/ptsans.tex
parent7d7ca96b28d4e8cdcda09c5ee2e74ac30a79d03a (diff)
new font package ptsans
git-svn-id: svn://tug.org/texlive/trunk@21222 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/ptsans/ptsans.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/ptsans/ptsans.tex125
1 files changed, 125 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex b/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex
new file mode 100644
index 00000000000..636ca20ef35
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/ptsans/ptsans.tex
@@ -0,0 +1,125 @@
+%% Copyright 2011 Pavel Farar
+%
+% This work may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License, either version 1.3 of this license or (at
+% your option) any later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of
+% all distributions of LaTeX version 2005/12/01 or later.
+
+
+\documentclass[oneside]{scrartcl}
+
+% the order might be important
+\usepackage[utf8]{inputenc}
+\usepackage[czech, english]{babel}
+\usepackage[T1]{fontenc}
+\usepackage{PTSans}
+\usepackage{textcomp}
+\usepackage[colorlinks]{hyperref}
+\hypersetup{pdfauthor={Pavel Farar}}
+
+
+\title{Support package for PT Sans}
+\author{Pavel Farář\\
+\href{mailto:pavel.farar@centrum.cz}{pavel.farar@centrum.cz}}
+
+\begin{document}
+
+\maketitle
+
+\tableofcontents
+
+\section{Introduction}
+
+This package contains font PT Sans developed by ParaType for the project
+\emph{public Types of Russian Federation} and released under open user
+license. The font was designed by Alexandra Korolkova, Olga Umpeleva and
+Vladimir Yefimov. For more information see the web-site of
+\href{http://www.paratype.com}{ParaType}.
+
+PT Sans has four basic styles:
+regular, \textbf{bold}, \textit{italic}, \textbf{\textit{bold italic}};
+two narrow styles:
+{\usefont{T1}{PTSansNarrow-TLF}{m}{n}narrow},
+{\usefont{T1}{PTSansNarrow-TLF}{b}{n}narrow bold},
+and two caption styles:
+{\usefont{T1}{PTSansCaption-TLF}{m}{n}caption} and
+{\usefont{T1}{PTSansCaption-TLF}{b}{n}caption bold}.
+The font covers wide range of Latin and Cyrillic alphabet and this package
+supports encodings T1, OT1, IL2, TS1, T2A, T2B, T2C and X2.
+There is also matching font PT Serif (the package will come later).
+
+
+\section{License}
+
+The font PT Sans is licensed under Paratype Free Font License.
+
+All the support files are licensed under \LaTeX Project Public License,
+either version 1.3 of this license or (at your option) any later version.
+
+
+\section{Some Notes}
+
+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 original style files
+were renamed by appending \emph{Old} at the end of the name.
+
+There were some inconsistencies in the width of letters with special type
+of caron (ď, ť, ľ and Ľ). I made their width consistently equal to the
+width of the unaccented letter. The change was done in the support files
+without changing the original fonts. The simple script
+\emph{caroncorrection.py} used for it is included. Now the usually
+problematic Czech and Slovak words containing these letters look better:
+\selectlanguage{czech}%
+žluťoučký ďábel laťka loďka
+%\selectlanguage{slovak}%
+veľmi koľko Ľubomír.
+\selectlanguage{english}
+
+
+\section{Using the Package}
+
+There are three families PTSans-TLF, PTSansNarrow-TLF and PTSansCaption-TLF
+that you can set with packages PTSans, PTSansNarrow and PTSansCaption. You
+must explicitly use the package \emph{fontenc} or \emph{textcomp} (if needed).
+For example:
+\begin{verbatim}
+\usepackage[T1]{fontenc}
+\usepackage{PTSans}
+\end{verbatim}
+
+You can also use the style files PTSansOld, PTSansNarrowOld and
+PTSansCaptionOld generated by \emph{fontools}. You do not need to use neither
+the package \emph{fontenc} nor \emph{textcomp}. For example:
+\begin{verbatim}
+\usepackage{PTSansOld}
+\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}
+\end{verbatim}
+
+
+\section{Known Bugs}
+
+This is my first contribution and I soon realized that making a package
+available also for others is much more work than just only for me. I decided
+therefore to give it a reasonable amount of time, make the package usable,
+release it and improve it later.
+
+The narrow and caption styles could be added to the base family. And I would
+probably do so if there were four caption styles.
+
+Please \href{mailto:pavel.farar@centrum.cz}{send me} bug reports and
+suggestions about this package.
+
+\end{document}