summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/ptserif/ptserif.tex
blob: 77ed6179c500d95240382b6d78f6644db2f5bf29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
%% 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.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Pavel Farar


\documentclass[oneside]{scrartcl}

\usepackage[utf8]{inputenc}
\usepackage[czech, english]{babel}
\usepackage[T1]{fontenc}
\usepackage{PTSerif}
\usepackage{textcomp}
\usepackage[colorlinks]{hyperref}
\hypersetup{pdfauthor={Pavel Farar}}

\setkomafont{sectioning}{\rmfamily\bfseries}

\title{Support package for PT Serif}
\author{Pavel Farář\\
\href{mailto:pavel.farar@centrum.cz}{pavel.farar@centrum.cz}}

\begin{document}

\selectlanguage{english}%

\maketitle

\tableofcontents

\section{Introduction}

This package contains the LaTeX support for the font PT Serif developed by
ParaType for the project \emph{Public Types of Russian Federation} and
released under an 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 Serif has four basic styles:
regular, \textbf{bold}, \textit{italic}, \textbf{\textit{bold italic}}
and two caption styles:
{\usefont{T1}{PTSerifCaption-TLF}{m}{n}caption} and
{\usefont{T1}{PTSerifCaption-TLF}{m}{it}caption italic}.
The font covers standard Western, Central European and Cyrillic code
pages and contains also characters of all title languages of Russian
Federation.

This package supports encodings T1, OT1, IL2, TS1, T2A, T2B, T2C and X2.
If there is some important encoding missing, let me know and I will try
to add it to some future release.

The fonts are included in the original TrueType format and in the converted
Type 1 format.

Font PT Serif can be used together with the font PT Sans.


\section{License}

The font PT Serif is licensed under Paratype Free Font License (the license
is included).

The fonts in TrueType format are original files provided by ParaType. The
fonts in Type 1 format are not original files. They were converted by me
using FontForge and may be distributed for \TeX\ only. The distribution of
these converted fonts was kindly allowed by ParaType.

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{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{ptserif\_} to avoid name clashes.
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{PTSerif-truetype.map} and \emph{PTSerif-type1.map}.
You should use just one of them. The file \emph{PTSerif-type1.map} is a safe
choice and you will get the full power of \TeX. If you just want to create PDF
files with pdf\TeX\ or pdf\LaTeX\ you can use the file
\emph{PTSerif-truetype.map} and the original TrueType fonts will be used.


\section{Using the Package}

There are two families PTSerif-TLF and PTSerifCaption-TLF
that you can set with packages PTSerif and PTSerifCaption. You
must explicitly use the package \emph{fontenc} or \emph{textcomp} (if needed).
For example:
\begin{verbatim}
\usepackage[T1]{fontenc}
\usepackage{PTSerif}
\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]{PTSerif}
\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}{PTSerifCaption-TLF}{m}{it}Text in caption italic font}
\end{verbatim}


\section{Known Bugs}

The caption styles are independent font family. It is your choice 
where you will use them.

Please \href{mailto:pavel.farar@centrum.cz}{send me} bug reports and
suggestions about this package.

\end{document}