diff options
Diffstat (limited to 'Master/texmf-dist/source/fonts/fetamont/fetamont.dtx')
-rw-r--r-- | Master/texmf-dist/source/fonts/fetamont/fetamont.dtx | 229 |
1 files changed, 162 insertions, 67 deletions
diff --git a/Master/texmf-dist/source/fonts/fetamont/fetamont.dtx b/Master/texmf-dist/source/fonts/fetamont/fetamont.dtx index 6eacf1315d4..fbcfbb98886 100644 --- a/Master/texmf-dist/source/fonts/fetamont/fetamont.dtx +++ b/Master/texmf-dist/source/fonts/fetamont/fetamont.dtx @@ -22,7 +22,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1994/06/01] %<package>\ProvidesPackage{fetamont} -%<package>[2014/03/18 v1.3 class to use the fetamont font] +%<package>[2014/06/03 v1.4 class to use the fetamont font] %<T1ffm>\ProvidesFile{T1ffm.fd} %<T1ffmw>\ProvidesFile{T1ffmw.fd} % @@ -45,48 +45,88 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \changes{1.0} {2014/01/02}{initial version} -% \changes{1.1} {2014/01/03}{changed the filename ffmchar_ij.mf to ffmchar_ijlower.mf} -% \changes{1.2} {2014/01/09}{refined the paths and the outline production slightly; solved the BlueValues zones overlap problem; separated the map file from the dtx file; added a list of files to the README; improved the documentations} -% \changes{1.3} {2014/03/18}{refined the paths again slightly; added a randomize feature to the OpenType versions of the script faces; improved the typeface documentation} +% \changes{1.1} {2014/01/03}{changed the filename ffmchar_ij.mf to +% ffmchar_ijlower.mf} +% \changes{1.2} {2014/01/09}{refined the paths and the outline +% production slightly; solved the BlueValues zones overlap problem; +% separated the map file from the dtx file; added a list of files to +% the README; improved the documentations} +% \changes{1.3} {2014/03/18}{refined the paths again slightly; added a +% randomize feature to the OpenType versions of the script faces; +% improved the typeface documentation} +% \changes{1.4} {2014/06/03}{reduced the number of files drastically, +% this has changed the shape of letters like IJ in the script faces; +% improved the English of the typeface documentation; added a compiled +% version of the package documentation} % % \title{The Fetamont Package} % \author{Linus Romer} -% \date{\today{} --- v1.3} +% \date{\today{} --- v1.4} % % \maketitle % \tableofcontents % % \section{Introduction} -% The \emph{Logo} typeface, which is known from logos like \MF{} or \MP{}, used to be very limited in the number of glyphs. \emph{Fetamont} is a new typeface that extends the Logo typeface in two ways: +% The logo font, known from logos like \MF{} or \MP{}, has been very +% limited in its collection of glyphs. The new typeface \emph{Fetamont} +% extends the logo typeface in two ways: % \begin{itemize} -% \item Fetamont consists of 256 glyphs, such that the T1-encoding\footnote{The T1-encoding is also known as % the EC- or Cork-encoding} table is complete now. -% \item Fetamont has additional faces like ``light ultracondensed'' or ``script''. +% \item Fetamont consists of 256 glyphs, such that the T1 (a.k.a.\ EC, +% a.k.a.\ Cork) encoding table is complete now. +% \item Fetamont has additional faces like ``light ultracondensed'' or +% ``script''. % \end{itemize} -% Fetamont is distributed over CTAN under the terms of the \emph{\LaTeX{} Project Public License} (LPPL). -% -% This document describes the \LaTeX{} support for the Fetamont typeface. The design and the constructions of the typeface itself are described in \cite{romer14}. -% -% The OpenType versions of the script faces support the Randomize feature, which can be used with Con\TeX t/Lua\TeX. It is \emph{not} possible to use this feature with the package described here. +% The \verb|fetamont| package provides \LaTeX{} support for the +% Fetamont typeface. Both the package and the typeface are distributed +% on {\small CTAN} under the terms of the \emph{\LaTeX{} Project Public +% License} ({\small LPPL}). +% +% This document describes the \LaTeX{} support for the Fetamont +% typeface. The design and the constructions of the typeface itself are +% described in \cite{romer14}. +% +% The OpenType versions of the script faces support the Randomize +% feature, which can be used with Con\TeX t/Lua\TeX. It is \emph{not} +% possible to use this feature with the package described here. % \section{Usage} -% The package is loaded by |\usepackage{fetamont}|. There are no options provided yet for the |fetamont| package. -% -% If you use the \texttt{fetamont} package as a replacement for the \texttt{mflogo} package you will probably only need the control sequences |\MF|, |\MP| and |\MT| which produce the well known logos \MF, \MP{} and \MT. -% -% When you need other words written in the Fetamont typeface, you may use |\textffm| and |\textffmw|. E.~g. |\textffm{My Logo}| will produce \textffm{My Logo} and |\textffmw{Script}| will produce \textffmw{Script}. -% -% To gain access to all faces of Fetamont you may sometimes additionally need |\ffmfamily| or |\ffmwfamily| (see subsection~\ref{sec:accesstoallfaces}). +% The package is loaded by |\usepackage{fetamont}|. There are no +% options provided yet for the |fetamont| package. +% +% If you use the \texttt{fetamont} package as a replacement for the +% \texttt{mflogo} package you will probably only need the control +% sequences |\MF|, |\MP| and |\MT| which produce the well known logos +% \MF, \MP{} and \MT. +% +% When you need other words written in the Fetamont typeface, you may +% use |\textffm| and |\textffmw|. E.~g. |\textffm{My Logo}| will +% produce \textffm{My Logo} and |\textffmw{Script}| will produce +% \textffmw{Script}. +% +% To gain access to all faces of Fetamont you may sometimes +% additionally need |\ffmfamily| or |\ffmwfamily| +% (see subsection~\ref{sec:accesstoallfaces}). % \section{The many faces of Fetamont} % \subsection{Bold and heavy faces} -% The bold face of the original logo font family clearly fits better with \emph{Computer Modern Sans Bold}, whereas the demibold face is the better choice for a combination with \emph{Computer Modern Extended Bold}: +% The bold face of the original logo font family clearly fits better +% with \emph{Computer Modern Sans Bold}, whereas the demibold face is +% the better choice for a combination with \emph{Computer Modern +% Extended Bold}: % \begin{center} % \begin{tabular}{rl} -% {\ffmfamily\fontseries{b}\selectfont \huge META} & \textbf{\huge Serif}\\ -% \textsf{\textbf{\huge Sans}} & {\ffmfamily\fontseries{eb}\selectfont \huge META} +% {\ffmfamily\fontseries{b}\selectfont \huge META} +% & \textbf{\huge Serif}\\ +% \textsf{\textbf{\huge Sans}} +% & {\ffmfamily\fontseries{eb}\selectfont \huge META} % \end{tabular} % \end{center} -% Ulrik Vieth has already mentioned this unsatisfactory situation in \cite{vieth99}. He has assumed that \emph{Computer Modern Roman} will be used in boldface series much more frequently than \emph{Computer Modern Sans Serif}. So he assigned the demibold faces to the bold series in his |mflogo| package (see~\cite{vieth99}). +% Ulrik Vieth has already mentioned this unsatisfactory situation in +% \cite{vieth99}. He has assumed that \emph{Computer Modern Roman} will +% be used in boldface series much more frequently than \emph{Computer +% Modern Sans Serif}. So he assigned the demibold faces to the bold +% series in his |mflogo| package (see~\cite{vieth99}). % -% In order to be compatible to Ulrik Vieths assignment I have chosen the following naming scheme for weights: +% In order to be compatible to Ulrik Vieths assignment I have chosen +% the following naming scheme for weights: % \begin{center} % \begin{tabular}{lll} % original name & Fetamont name & symbol\\\hline @@ -97,26 +137,41 @@ % \end{tabular} % \end{center} % \subsection{Script faces} -% The ``crazy shapes'' by D.~E.~Knuth show impressively the randomization power of \MF. The Fetamont typeface has also the ability to use randomized paths. The results are the Fetamont script faces. They are drawn by a rotated ellipse pen to make it look more handwritten. The script faces may be used for comics or childish texts: +% The ``crazy shapes'' by D.~E.~Knuth show impressively the +% randomization power of \MF. The Fetamont typeface has also the +% ability to use randomized paths. The results are the Fetamont script +% faces. They are drawn by a rotated ellipse pen to make it look more +% handwritten. The script faces may be used for comics or childish +% texts: % \begin{center} % {\ffmwfamily\fontseries{l}\selectfont \huge ¿Donde?} % {\ffmwfamily\fontseries{m}\selectfont \huge \quad --- \quad} % {\ffmwfamily\fontseries{eb}\selectfont\huge ¡Aqui!} % \end{center} % \subsection{Condensed Faces} -% The titles in Knuth's books use a variant of the logo typeface that matches \emph{Computer Modern Sans Serif Demibold Condensed 40}. So I decided to add this variant as \emph{Fetamont Bold Condensed 40} and let also a light and medium variant benefit from the condensation. +% The titles in Knuth's books use a variant of the logo typeface that +% matches \emph{Computer Modern Sans Serif Demibold Condensed 40}. So I +% decided to add this variant as \emph{Fetamont Bold Condensed 40} and +% let also a light and medium variant benefit from the condensation. % \begin{center} % {\ffmfamily\fontseries{lc}\selectfont \huge Light Condensed 10}\\[2ex] % {\ffmfamily\fontseries{c}\selectfont \huge Medium Condensed 10}\\[2ex] % {\ffmfamily\fontseries{bc}\selectfont\huge Bold Condensed 40} % \end{center} % \subsection{Ultracondensed Face} -% The credits written on movie posters are often typeset in an ultracondensed face. Also fetamont provides such a face: +% The credits written on movie posters are often typeset in an +% ultracondensed face. Also fetamont provides such a face: % \begin{center} % {\ffmfamily\fontseries{lec}\selectfont \Huge Light Ultracondensed 10} % \end{center} % \subsection{Naming Scheme For The Fetamont Faces} -% The file name of every face begins with the prefix \verb|ffm|, which stands for «\emph{f}ree typeface \emph{f}eta\emph{m}ont». The suffixes normally contain a symbol for the weight: \verb|l| for light, \verb|r| for regular, \verb|b| for bold and \verb|h| for heavy. The number at the end stands for the optical size (e.~g. 10~pt). Depending on the face, the suffix is made of additional symbols: +% The file name of every face begins with the prefix \verb|ffm|, which +% stands for «\emph{f}ree typeface \emph{f}eta\emph{m}ont». The +% suffixes normally contain a symbol for the weight: \verb|l| for +% light, \verb|r| for regular, \verb|b| for bold and \verb|h| for +% heavy. The number at the end stands for the optical size +% (e.~g. 10~pt). Depending on the face, the suffix is made of +% additional symbols: % \begin{center} % \begin{tabular}{|cccc|cccc|} % \hline @@ -125,14 +180,17 @@ % & r9 & b9 & h9 & & o9 & bo9 & ho9\\ % l10 & r10 & b10 & h10 & lo10 & o10 & bo10 & ho10\\ % \hline -% \multicolumn{4}{|c|}{Condensed Upright} & \multicolumn{4}{c|}{Condensed Oblique}\\\hline +% \multicolumn{4}{|c|}{Condensed Upright} +% & \multicolumn{4}{c|}{Condensed Oblique}\\\hline % lc10 & c10 & & & lco10 & co10 & & \\ % & & bc40 & & & & bco40 & \\ % \hline -% \multicolumn{4}{|c|}{Ultracondensed Upright} & \multicolumn{4}{c|}{Ultracondensed Oblique}\\\hline +% \multicolumn{4}{|c|}{Ultracondensed Upright} +% & \multicolumn{4}{c|}{Ultracondensed Oblique}\\\hline % lq10 & & & & lqo10 & & & \\ % \hline -% \multicolumn{4}{|c|}{Script Upright} & \multicolumn{4}{c|}{Script Oblique}\\\hline +% \multicolumn{4}{|c|}{Script Upright} +% & \multicolumn{4}{c|}{Script Oblique}\\\hline % lw10 & w10 & bw10 & hw10 & lwo10 & wo10 & bwo10 & hwo10\\\hline % \end{tabular} % \end{center} @@ -144,145 +202,175 @@ % \\\hline\hline % ffml10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{l\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{l\} +% \textbackslash selectfont} % & % {\ffmfamily\fontseries{l}\selectfont Gauß} % \\ % ffmr10, ffmr9, ffmr8 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{m\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{m\} +% \textbackslash selectfont} % & -% {\ffmfamily\fontseries{m}\selectfont Gauß \footnotesize{Gauß} \tiny{Gauß}} +% {\ffmfamily\fontseries{m}\selectfont Gauß \footnotesize{Gauß} +% \tiny{Gauß}} % \\ % ffmb10, ffmb9, ffmb8 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{b\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{b\} +% \textbackslash selectfont} % & -% {\ffmfamily\fontseries{b}\selectfont Gauß \footnotesize{Gauß} \tiny{Gauß}} +% {\ffmfamily\fontseries{b}\selectfont Gauß \footnotesize{Gauß} +% \tiny{Gauß}} % \\ % ffmh10, ffmh9, ffmh8 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{eb\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{eb\} +% \textbackslash selectfont} % & -% {\ffmfamily\fontseries{eb}\selectfont Gauß \footnotesize{Gauß} \tiny{Gauß}} +% {\ffmfamily\fontseries{eb}\selectfont Gauß \footnotesize{Gauß} +% \tiny{Gauß}} % \\ % ffmlo10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{l\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{l\} +% \textbackslash slshape} % & % {\ffmfamily\fontseries{l}\slshape Gauß} % \\ % ffmo10, ffmo9, ffmo8 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{m\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{m\} +% \textbackslash slshape} % & -% {\ffmfamily\fontseries{m}\slshape Gauß \footnotesize{Gauß} \tiny{Gauß}} +% {\ffmfamily\fontseries{m}\slshape Gauß \footnotesize{Gauß} +% \tiny{Gauß}} % \\ % ffmbo10, ffmbo9, ffmbo8 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{b\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{b\} +% \textbackslash slshape} % & -% {\ffmfamily\fontseries{b}\slshape Gauß \footnotesize{Gauß} \tiny{Gauß}} +% {\ffmfamily\fontseries{b}\slshape Gauß \footnotesize{Gauß} +% \tiny{Gauß}} % \\ % ffmho10, ffmho9, ffmho8 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{eb\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{eb\} +% \textbackslash slshape} % & -% {\ffmfamily\fontseries{eb}\slshape Gauß \footnotesize{Gauß} \tiny{Gauß}} +% {\ffmfamily\fontseries{eb}\slshape Gauß \footnotesize{Gauß} +% \tiny{Gauß}} % \\\hline % ffmlc10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lc\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lc\} +% \textbackslash selectfont} % & % {\ffmfamily\fontseries{lc}\selectfont Gauß} % \\ % ffmc10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{c\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{c\} +% \textbackslash selectfont} % & % {\ffmfamily\fontseries{c}\selectfont Gauß} % \\ % ffmbc40 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{bc\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{bc\} +% \textbackslash selectfont} % & % {\ffmfamily\fontseries{bc}\selectfont Gauß} % \\ % ffmlco10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lc\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lc\} +% \textbackslash slshape} % & % {\ffmfamily\fontseries{lc}\slshape Gauß} % \\ % ffmco10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{c\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{c\} +% \textbackslash slshape} % & % {\ffmfamily\fontseries{c}\slshape Gauß} % \\ % ffmbco40 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{bc\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{bc\} +% \textbackslash slshape} % & % {\ffmfamily\fontseries{bc}\slshape Gauß} % \\\hline % ffmlq10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lec\}\textbackslash selectfont} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lec\} +% \textbackslash selectfont} % & % {\ffmfamily\fontseries{lec}\selectfont Gauß} % \\ % ffmlqo10 % & -% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lec\}\textbackslash slshape} +% \textttc{\textbackslash ffmfamily\textbackslash fontseries\{lec\} +% \textbackslash slshape} % & % {\ffmfamily\fontseries{lec}\slshape Gauß} % \\\hline % ffmlw10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{l\}\textbackslash selectfont} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{l\} +% \textbackslash selectfont} % & % {\ffmwfamily\fontseries{l}\selectfont Gauß} % \\ % ffmw10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{m\}\textbackslash selectfont} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{m\} +% \textbackslash selectfont} % & % {\ffmwfamily\fontseries{m}\selectfont Gauß} % \\ % ffmbw10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{b\}\textbackslash selectfont} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{b\} +% \textbackslash selectfont} % & % {\ffmwfamily\fontseries{b}\selectfont Gauß} % \\ % ffmhw10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{eb\}\textbackslash selectfont} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{eb\} +% \textbackslash selectfont} % & % {\ffmwfamily\fontseries{eb}\selectfont Gauß} % \\ % ffmlwo10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{l\}\textbackslash slshape} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{l\} +% \textbackslash slshape} % & % {\ffmwfamily\fontseries{l}\slshape Gauß} % \\ % ffmwo10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{m\}\textbackslash slshape} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{m\} +% \textbackslash slshape} % & % {\ffmwfamily\fontseries{m}\slshape Gauß} % \\ % ffmbwo10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{b\}\textbackslash slshape} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{b\} +% \textbackslash slshape} % & % {\ffmwfamily\fontseries{b}\slshape Gauß} % \\ % ffmhwo10 % & -% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{eb\}\textbackslash slshape} +% \textttc{\textbackslash ffmwfamily\textbackslash fontseries\{eb\} +% \textbackslash slshape} % & % {\ffmwfamily\fontseries{eb}\slshape Gauß} % \\ @@ -295,7 +383,10 @@ % % \subsection{The font definition files} % -% As the \emph{T1} encoding is used for the \emph{f}ree typeface \emph{f}eta\emph{m}ont, the font definition file is named |T1ffm.fd|. This is the default font family of Fetamont. Additionally, there is also a script font family (|T1ffmw.fd|). +% As the \emph{T1} encoding is used for the \emph{f}ree typeface +% \emph{f}eta\emph{m}ont, the font definition file is named |T1ffm.fd|. +% This is the default font family of Fetamont. Additionally, there is +% also a script font family (|T1ffmw.fd|). % % The italic faces are always silently substituted by oblique faces. % @@ -330,7 +421,8 @@ }{} % \end{macrocode} % -% Bold faces (three different optical sizes, bold extended faces are silently substituted): +% Bold faces (three different optical sizes, bold extended faces +% are silently substituted): % % \begin{macrocode} \DeclareFontShape{T1}{ffm}{b}{n}{ @@ -477,10 +569,12 @@ % % \subsection{The style file: \texttt{fetamont.sty}} % -% The following macros are adapted from the |mflogo| package by \cite{vieth99}. +% The following macros are adapted from the |mflogo| package +% by \cite{vieth99}. % % \begin{macro}{\ffmfamily} -% This is the declarative font changing command for the ``normal'' font family. +% This is the declarative font changing command for the ``normal'' +% font family. % \begin{macrocode} %<*package> \DeclareRobustCommand\ffmfamily{% @@ -490,7 +584,8 @@ % \end{macro} % % \begin{macro}{\ffmwfamily} -% This is the declarative font changing command for the script font family. +% This is the declarative font changing command for the script font +% family. % \begin{macrocode} \DeclareRobustCommand\ffmwfamily{% \not@math@alphabet\ffmwfamily\relax |