summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex81
1 files changed, 47 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex b/Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex
index cf781b72937..a4f2dfdb8a8 100644
--- a/Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex
+++ b/Master/texmf-dist/doc/fonts/comfortaa/comfortaa.tex
@@ -1,5 +1,5 @@
%% comfortaa.tex
-%% Copyright 2010, 2011 Mohamed El Morabity
+%% Copyright 2011 Mohamed El Morabity
%
% 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)
@@ -18,11 +18,10 @@
\usepackage[american]{babel}
\usepackage{booktabs}
\usepackage[default]{comfortaa}
-\usepackage[utf8x]{inputenc}
\usepackage{microtype}
\usepackage{multirow}
\usepackage{path}
-\usepackage{relsize}
+\usepackage{varioref}
\usepackage[colorlinks]{hyperref}
\hypersetup{%
@@ -39,7 +38,7 @@
\newcommand{\parameter}[1]{\textnormal{\textit{#1}}}
\newcommand{\program}{}
-\title{\LaTeX{} support for Comfortaa\\\relsize{-1}Version~1.4}
+\title{\LaTeX{} support for Comfortaa\\Version~2.0}
\author{Mohamed \name{El~Morabity}\\\email{melmorabity@fedoraproject.org}}
@@ -52,11 +51,22 @@
\section{Introduction}
Comfortaa is a sans-serif font comfortable in every aspect designed by Johan
-\name{Aakerlund}. This font, which includes three weights
-({\fcofamily\fontseries{l}\selectfont thin},
-{\fcofamily\fontseries{m}\selectfont regular} and
-{\fcofamily\fontseries{b}\selectfont bold}), is available on Johan's deviantArt
-web page~\cite{comfortaa} as TrueType files under the \acronym{OFL} version~1.1.
+\name{Aakerlund}. This font, which includes three weights (see
+figure~\vref{styles}), is available on Johan's deviantArt web
+page~\cite{comfortaa} as TrueType files licensed under the \acronym{OFL}
+version~1.1.
+
+\begin{figure}
+ \centering
+ {%
+ \fcofamily%
+ {\fontseries{l}\selectfont Comfortaa Light}\\
+ Comfortaa Regular\\
+ {\bfseries Comfortaa Bold}%
+ }
+ \caption{Available styles for Comfortaa}
+ \label{styles}
+\end{figure}
This package provides support for this font in \LaTeX{}. It includes the
original TrueType fonts, as well as Type~1 versions, converted for this package
@@ -93,9 +103,9 @@ You can use the Comfortaa font in a \LaTeX{} document by adding the command
to the preamble. The package supplies the \code{\char`\\fcofamily} command to
switch the current font to Comfortaa.
-\subsubsection{Options}
+\subsection{Options}
-\paragraph{Comfortaa as default (sans-serif) font}
+\subsubsection{Comfortaa as default (sans-serif) font}
You can set \LaTeX{} to use Comfortaa as standard font throughout the whole
document by passing the \code{default} option to the package:
@@ -107,7 +117,7 @@ To set Comfortaa as default sans-serif only:
\usepackage[defaultsans]{comfortaa}
\end{verbatim}
-\paragraph{Font scaling}
+\subsubsection{Font scaling}
The font can be up- and downscaled by any factor. This can be used to make
Comfortaa more friendly when used in company with other type faces, e.g., to
@@ -120,16 +130,11 @@ the font according to \parameter{ratio} (1.0 by default), for example:
\subsection{Encodings}
The following encodings are supported:
-\begin{center}
- \begin{tabular}{ll}
- \toprule
- Latin&OT1, T1, TS1 (partial)\\
- \midrule
- Cyrillic&T2A, T2B, T2C, X2\\
- \midrule Greek&LGR\\
- \bottomrule
- \end{tabular}
-\end{center}
+\begin{description}
+\item[Latin] OT1, T1, TS1 (partial)
+\item[Cyrillic] T2A, T2B, T2C, X2
+\item[Greek] LGR (monotonic only)
+\end{description}
To use one or another encoding, give the \LaTeX{} name to the \package{fontenc}
package as usual, as in
\begin{verbatim}
@@ -138,37 +143,45 @@ package as usual, as in
\end{verbatim}
Note that, as usual with OT1 encoded fonts, kerning with accented characters is
-treated poorly, if at all. Note difference in kerning between e.g.
-\begin{center}
+treated poorly, if at all. Note difference in kerning between these two encoding
+in table~\vref{kerning}.
+\begin{table}
+\centering
\begin{tabular}{ll}
\toprule
- OT1-encoded&{\fcofamily To Ta Té}\\
+ OT1-encoded&{\fcofamily Te T\'e}\\
\midrule
- T1-encoded&{\fcofamily\fontencoding{T1}\selectfont To Ta Té}\\
+ T1-encoded&{\fcofamily\fontencoding{T1}\selectfont Te T\'e}\\
\bottomrule
\end{tabular}
-\end{center}
+ \caption{Kerning with OT1 and T1 encodings}
+ \label{kerning}
+\end{table}
It is therefore advised to always use the Comfortaa fonts in any encoding than
OT1 when typing diacritics.
\subsection{Available weights and variants}
-The following table lists the available font series and shapes with their
+Table~\vref{nfss} lists the available font series and shapes with their
\acronym{NFSS} classification. Parenthesized combinations are provided via
substitutions.
-\begin{center}
+\begin{table}
+ \centering
\begin{tabular}{llll}
\toprule
family&encoding&series&shape\\
\midrule
- \multirow{4}{*}{fco}&OT1,T1&\multirow{3}{*}{l, m, b (bx)}&\multirow{2}{*}{n, sl (it),}\\
- &T2A, T2B, T2C, X2,&&\multirow{2}{*}{sc, scsl (scit)}\\
+ \multirow{4}{*}{fco}&OT1,T1,&\multirow{4}{*}{l, m, b (bx)}&\multirow{3}{*}{n, sl (it), sc, scsl (scit)}\\
+ &T2A, T2B, T2C, X2,&&\\
&LGR&&\\
- \cmidrule{2-4}
- &TS1&l, m, b (bx)&n, sl (it)\\
+ \cmidrule{2-2}
+ \cmidrule{4-4}
+ &TS1&&n, sl (it)\\
\bottomrule
\end{tabular}
-\end{center}
+ \caption{Available font series and shapes for Comfortaa}
+ \label{nfss}
+\end{table}
Notice that the slanted shapes are faked ones, as well as the small capitals
(reduced to 80\%).