<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% \iffalse meta-comment
%
% miama.dtx --- LaTeX package for the typeface Miama Nueva.
%
% Copyright (C) 2016 - 2025 by Linus Romer
%
% 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 2011/06/27 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Linus Romer.
%
% \fi
%
% \iffalse
%&lt;package&gt;\NeedsTeXFormat{LaTeX2e}[1994/06/01]
%&lt;package&gt;\ProvidesPackage{miama}
%&lt;package&gt;[2025/01/15 v1.2 class to use the typeface Miama Nueva]
%&lt;t1fmm&gt;\ProvidesFile{t1fmm.fd}
%&lt;ot1fmm&gt;\ProvidesFile{ot1fmm.fd}
%&lt;x2fmm&gt;\ProvidesFile{x2fmm.fd}
%&lt;t2afmm&gt;\ProvidesFile{t2afmm.fd}
%&lt;t2bfmm&gt;\ProvidesFile{t2bfmm.fd}
%&lt;t2cfmm&gt;\ProvidesFile{t2cfmm.fd}
%&lt;t5fmm&gt;\ProvidesFile{t5fmm.fd}
%&lt;qxfmm&gt;\ProvidesFile{qxfmm.fd}
%&lt;qxfmm&gt;\ProvidesFile{lgrfmm.fd}
%
%&lt;*driver&gt;
\documentclass{ltxdoc}
\usepackage[LGR,QX,X2,T5,T2C,T2B,T2A,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern,array,url,metalogo,tikz}
\usepackage[scale=1]{miama}
\usetikzlibrary{hobby}

\providecommand{\hextable}[1]{
\begin{center}
{\renewcommand{\arraystretch}{2}
\begin{tabular}{rcccccccccccccccc}
\textnormal{#1} &amp; \textnormal{0} &amp; \textnormal{1} &amp; \textnormal{2} &amp; \textnormal{3} &amp; \textnormal{4} &amp; \textnormal{5} &amp; \textnormal{6} &amp; \textnormal{7} &amp; \textnormal{8} &amp; \textnormal{9} &amp; \textnormal{A} &amp; \textnormal{B} &amp; \textnormal{C} &amp; \textnormal{D} &amp; \textnormal{E} &amp; \textnormal{F}\\\hline
\textnormal{0} &amp;\char0 &amp;\char1 &amp;\char2 &amp;\char3 &amp;\char4 &amp;\char5 &amp;\char6 &amp;\char7
&amp;\char8 &amp;\char9 &amp;\char10 &amp;\char11 &amp;\char12 &amp;\char13 &amp;\char14 &amp;\char15\\
\textnormal{1} &amp;\char16 &amp;\char17 &amp;\char18 &amp;\char19 &amp;\char20 &amp;\char21 &amp;\char22 &amp;\char23
&amp;\char24 &amp;\char25 &amp;\char26 &amp;\char27 &amp;\char28 &amp;\char29 &amp;\char30 &amp;\char31\\
\textnormal{2} &amp;\char32 &amp;\char33 &amp;\char34 &amp;\char35 &amp;\char36 &amp;\char37 &amp;\char38 &amp;\char39
&amp;\char40 &amp;\char41 &amp;\char42 &amp;\char43 &amp;\char44 &amp;\char45 &amp;\char46 &amp;\char47\\
\textnormal{3} &amp;\char48 &amp;\char49 &amp;\char50 &amp;\char51 &amp;\char52 &amp;\char53 &amp;\char54 &amp;\char55
&amp;\char56 &amp;\char57 &amp;\char58 &amp;\char59 &amp;\char60 &amp;\char61 &amp;\char62 &amp;\char63\\
\textnormal{4} &amp;\char64 &amp;\char65 &amp;\char66 &amp;\char67 &amp;\char68 &amp;\char69 &amp;\char70 &amp;\char71
&amp;\char72 &amp;\char73 &amp;\char74 &amp;\char75 &amp;\char76 &amp;\char77 &amp;\char78 &amp;\char79\\
\textnormal{5} &amp;\char80 &amp;\char81 &amp;\char82 &amp;\char83 &amp;\char84 &amp;\char85 &amp;\char86 &amp;\char87
&amp;\char88 &amp;\char89 &amp;\char90 &amp;\char91 &amp;\char92 &amp;\char93 &amp;\char94 &amp;\char95\\
\textnormal{6} &amp;\char96 &amp;\char97 &amp;\char98 &amp;\char99 &amp;\char100 &amp;\char101 &amp;\char102 &amp;\char103
&amp;\char104 &amp;\char105 &amp;\char106 &amp;\char107 &amp;\char108 &amp;\char109 &amp;\char110 &amp;\char111\\
\textnormal{7} &amp;\char112 &amp;\char113 &amp;\char114 &amp;\char115 &amp;\char116 &amp;\char117 &amp;\char118 &amp;\char119
&amp;\char120 &amp;\char121 &amp;\char122 &amp;\char123 &amp;\char124 &amp;\char125 &amp;\char126 &amp;\char127\\
\textnormal{8} &amp;\char128 &amp;\char129 &amp;\char130 &amp;\char131 &amp;\char132 &amp;\char133 &amp;\char134 &amp;\char135
&amp;\char136 &amp;\char137 &amp;\char138 &amp;\char139 &amp;\char140 &amp;\char141 &amp;\char142 &amp;\char143\\
\textnormal{9} &amp;\char144 &amp;\char145 &amp;\char146 &amp;\char147 &amp;\char148 &amp;\char149 &amp;\char150 &amp;\char151
&amp;\char152 &amp;\char153 &amp;\char154 &amp;\char155 &amp;\char156 &amp;\char157 &amp;\char158 &amp;\char159\\
\textnormal{A} &amp;\char160 &amp;\char161 &amp;\char162 &amp;\char163 &amp;\char164 &amp;\char165 &amp;\char166 &amp;\char167
&amp;\char168 &amp;\char169 &amp;\char170 &amp;\char171 &amp;\char172 &amp;\char173 &amp;\char174 &amp;\char175\\
\textnormal{B} &amp;\char176 &amp;\char177 &amp;\char178 &amp;\char179 &amp;\char180 &amp;\char181 &amp;\char182 &amp;\char183
&amp;\char184 &amp;\char185 &amp;\char186 &amp;\char187 &amp;\char188 &amp;\char189 &amp;\char190 &amp;\char191\\
\textnormal{C}&amp;\char192 &amp;\char193 &amp;\char194 &amp;\char195 &amp;\char196 &amp;\char197 &amp;\char198 &amp;\char199
&amp;\char200 &amp;\char201 &amp;\char202 &amp;\char203 &amp;\char204 &amp;\char205 &amp;\char206 &amp;\char207\\
\textnormal{D}&amp;\char208 &amp;\char209 &amp;\char210 &amp;\char211 &amp;\char212 &amp;\char213 &amp;\char214 &amp;\char215
&amp;\char216 &amp;\char217 &amp;\char218 &amp;\char219 &amp;\char220 &amp;\char221 &amp;\char222 &amp;\char223\\
\textnormal{E} &amp;\char224 &amp;\char225 &amp;\char226 &amp;\char227 &amp;\char228 &amp;\char229 &amp;\char230 &amp;\char231
&amp;\char232 &amp;\char233 &amp;\char234 &amp;\char235 &amp;\char236 &amp;\char237 &amp;\char238 &amp;\char239\\
\textnormal{F} &amp;\char240 &amp;\char241 &amp;\char242 &amp;\char243 &amp;\char244 &amp;\char245 &amp;\char246 &amp;\char247
&amp;\char248 &amp;\char249 &amp;\char250 &amp;\char251 &amp;\char252 &amp;\char253 &amp;\char254 &amp;\char255\\\hline
\end{tabular}
}
\end{center}
}

\providecommand{\hextablehalf}[1]{
\begin{center}
{\renewcommand{\arraystretch}{2}
\begin{tabular}{rcccccccccccccccc}
\textnormal{#1} &amp; \textnormal{0} &amp; \textnormal{1} &amp; \textnormal{2} &amp; \textnormal{3} &amp; \textnormal{4} &amp; \textnormal{5} &amp; \textnormal{6} &amp; \textnormal{7} &amp; \textnormal{8} &amp; \textnormal{9} &amp; \textnormal{A} &amp; \textnormal{B} &amp; \textnormal{C} &amp; \textnormal{D} &amp; \textnormal{E} &amp; \textnormal{F}\\\hline
\textnormal{0} &amp;\char0 &amp;\char1 &amp;\char2 &amp;\char3 &amp;\char4 &amp;\char5 &amp;\char6 &amp;\char7
&amp;\char8 &amp;\char9 &amp;\char10 &amp;\char11 &amp;\char12 &amp;\char13 &amp;\char14 &amp;\char15\\
\textnormal{1} &amp;\char16 &amp;\char17 &amp;\char18 &amp;\char19 &amp;\char20 &amp;\char21 &amp;\char22 &amp;\char23
&amp;\char24 &amp;\char25 &amp;\char26 &amp;\char27 &amp;\char28 &amp;\char29 &amp;\char30 &amp;\char31\\
\textnormal{2} &amp;\char32 &amp;\char33 &amp;\char34 &amp;\char35 &amp;\char36 &amp;\char37 &amp;\char38 &amp;\char39
&amp;\char40 &amp;\char41 &amp;\char42 &amp;\char43 &amp;\char44 &amp;\char45 &amp;\char46 &amp;\char47\\
\textnormal{3} &amp;\char48 &amp;\char49 &amp;\char50 &amp;\char51 &amp;\char52 &amp;\char53 &amp;\char54 &amp;\char55
&amp;\char56 &amp;\char57 &amp;\char58 &amp;\char59 &amp;\char60 &amp;\char61 &amp;\char62 &amp;\char63\\
\textnormal{4} &amp;\char64 &amp;\char65 &amp;\char66 &amp;\char67 &amp;\char68 &amp;\char69 &amp;\char70 &amp;\char71
&amp;\char72 &amp;\char73 &amp;\char74 &amp;\char75 &amp;\char76 &amp;\char77 &amp;\char78 &amp;\char79\\
\textnormal{5} &amp;\char80 &amp;\char81 &amp;\char82 &amp;\char83 &amp;\char84 &amp;\char85 &amp;\char86 &amp;\char87
&amp;\char88 &amp;\char89 &amp;\char90 &amp;\char91 &amp;\char92 &amp;\char93 &amp;\char94 &amp;\char95\\
\textnormal{6} &amp;\char96 &amp;\char97 &amp;\char98 &amp;\char99 &amp;\char10 &amp;\char101 &amp;\char102 &amp;\char103
&amp;\char104 &amp;\char105 &amp;\char106 &amp;\char107 &amp;\char108 &amp;\char109 &amp;\char110 &amp;\char111\\
\textnormal{7} &amp;\char112 &amp;\char113 &amp;\char114 &amp;\char115 &amp;\char116 &amp;\char117 &amp;\char118 &amp;\char119
&amp;\char120 &amp;\char121 &amp;\char122 &amp;\char123 &amp;\char124 &amp;\char125 &amp;\char126 &amp;\char127\\\hline
\end{tabular}
}
\end{center}
}

\GetFileInfo{miama.sty}
\RecordChanges
\PageIndex
\begin{document}
 \DocInput{miama.dtx}
\end{document}
%&lt;/driver&gt;
% \fi
% \CheckSum{0}
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&amp;
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \&lt;
%%   Equals        \=     Greater than  \&gt;     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%
% \changes{1.0}{2015/11/01}{initial version}
% \changes{1.1}{2019/06/18}{added a new option key scaled as alias for scale and therefore changed from kvoptions to xkeyval}
% \changes{1.2}{2025/01/15}{corrected the miama.map file}
%
% \title{The \miama{Miama} Package}
% \author{Linus Romer}
% \date{\today{} --- v1.2}
% \begin{center}
%  \begin{tikzpicture}[scale=.2]
%  \definecolor{blaulinie}{RGB}{0,64,255}
%  \definecolor{blaum}{RGB}{187,204,255}
%  \definecolor{blaumiama}{RGB}{34,51,68}
%   \foreach \i in {0,.01,...,1}{\draw[ultra thin,blaulinie,opacity={4/51}] (\i*6,35-\i)  
%    to [curve through={(8-7*\i,26-4*\i) (12-9*\i,13+5*\i) (33-21*\i,9+11*\i)}] 
%    (40+2*\i,10-10*\i);}
%   \draw (13.7,6) node[above right,blaum,text height=1.5ex, text depth=0.25ex]
%    {\scalebox{7.1}{\miama{M}}};
%   \draw (18.3,6.5) node[above right,blaumiama,text height=1.5ex, text depth=0.25ex]
%    {\scalebox{2.5}{\miama{Miama}}};
%  \end{tikzpicture}
%
%  \vspace{1cm}
%
%  \textsc{\large \LaTeX\ package for Miama Nueva}\\[1ex]
%  {Linus Romer, \today{} --- 1.2}
% \end{center}
%
%  \vspace{2cm}
%
% \tableofcontents
%
%
% \section{Introduction}
% In 2008, I began working on a typeface called Â«MiamaÂ» and have published it 
% later under this name. From 2014 to 2016, I have changed Â«MiamaÂ» strongly,
% such that the newer versions are called Â«Miama NuevaÂ».
%
% The \verb|miama| package provides \LaTeX{} support for the 
% \emph{Miama Nueva} typeface. The package and the typeface are 
% distributed on {\small CTAN} under the terms of the \emph{\LaTeX{} 
% Project Public License} ({\small LPPL}) and the 
% \emph{Open Font License} ({\small OFL}), respectively .
%
% \section{Usage}
% After the addition of \verb|\usepackage{miama}| to the preamble of your
% \LaTeX{} document, you may use either \verb|\miama{sample text}| or \verb|{\fmmfamily sample text}| 
% to produce a 
% \begin{center}\miama{sample text}.\end{center}
% To be honest, you do not really need to load the package in your preamble 
% in order to use \emph{Miama Nueva}. Suffice it to write 
% \verb|\fontfamily{fmm}\selectfont|. This could be relevant, if you use
% a different fontencoding for parts of your document.
%
% \medskip
%
% \noindent
% The logos \TeX\ and \LaTeX\ do not work well in \emph{Miama Nueva}. 
% You may use \verb|\miama{\fmmTeX}| (\miama{\fmmTeX}) and 
% \verb|\miama{\fmmLaTeX}| (\miama{\fmmLaTeX}) instead.
%
% \medskip
%
% \noindent
% If you use \XeLaTeX, the OpenType font can be found by its file name. Hence, 
% \begin{center}
%  \verb|\setromanfont{miama.otf}|
% \end{center}
% will set the document in \emph{Miama Nueva}.
%
% \section{Options}
% At the moment, there is only a scaling option available: 
% \texttt{scale=}$\langle\mathrm{value}\rangle$. 
% The x--height of the unscaled \emph{Miama Nueva} equals approximately 
% the x--height of \emph{Computer Modern}:
% \begin{center}
%      acenorsuvwxz\miama{acenorsuvwxz}
% \end{center}
% However, the ascenders and descenders of \emph{Miama Nueva} are much longer:
% \begin{center}
%    gdfkjlp\miama{gdfkjlp}
% \end{center}
% Hence, the \texttt{miama} package scales the font to $0.5$ by default. This value
% may be changed by e.g. \verb|\usepackage[scale=1]{miama}|. The key word \verb|scaled| may be used as alias for \verb|scale|.
%
% \section{Sample Texts}
% The first article of the human rights in different languages.
%
% \smallskip
%
% French:{
% \fontfamily{fmm}\fontencoding{T1}\selectfont
% \begin{center}
% Tous les Ãªtres humains naissent libres et Ã©gaux en dignitÃ© et en droits. 
% Ils sont douÃ©s de raison et de conscience et doivent agir les uns envers 
% les autres dans un esprit de fraternitÃ©.
% \end{center}}
% Russian: {\fontfamily{fmm}\fontencoding{T2A}\selectfont
% \begin{center}
% Ð’ÑÐµ Ð»ÑŽÐ´Ð¸ Ñ€Ð¾Ð¶Ð´Ð°ÑŽÑ‚ÑÑ ÑÐ²Ð¾Ð±Ð¾Ð´Ð½Ñ‹Ð¼Ð¸ Ð¸ Ñ€Ð°Ð²Ð½Ñ‹Ð¼Ð¸ Ð² ÑÐ²Ð¾ÐµÐ¼ Ð´Ð¾ÑÑ‚Ð¾Ð¸Ð½ÑÑ‚Ð²Ðµ 
% Ð¸ Ð¿Ñ€Ð°Ð²Ð°Ñ…. ÐžÐ½Ð¸ Ð½Ð°Ð´ÐµÐ»ÐµÐ½Ñ‹ Ñ€Ð°Ð·ÑƒÐ¼Ð¾Ð¼ Ð¸ ÑÐ¾Ð²ÐµÑÑ‚ÑŒÑŽ Ð¸ Ð´Ð¾Ð»Ð¶Ð½Ñ‹ Ð¿Ð¾ÑÑ‚ÑƒÐ¿Ð°Ñ‚ÑŒ 
% Ð² Ð¾Ñ‚Ð½Ð¾ÑˆÐµÐ½Ð¸Ð¸ Ð´Ñ€ÑƒÐ³ Ð´Ñ€ÑƒÐ³Ð° Ð² Ð´ÑƒÑ…Ðµ Ð±Ñ€Ð°Ñ‚ÑÑ‚Ð²Ð°.
% \end{center}}
% Vietnamese: {\fontfamily{fmm}\fontencoding{T5}\selectfont
% \begin{center}
% Táº¥t cáº£ má»i ngÆ°á»i sinh ra Ä‘á»u Ä‘Æ°á»£c tá»± do vÃ&nbsp; bÃ¬nh Ä‘áº³ng vá» nhÃ¢n pháº©m 
% vÃ&nbsp; quyá»n. Má»i con ngÆ°á»i Ä‘á»u Ä‘Æ°á»£c táº¡o hoÃ¡ ban cho lÃ½ trÃ­ vÃ&nbsp; lÆ°Æ¡ng tÃ¢m 
% vÃ&nbsp; cáº§n pháº£i Ä‘á»‘i xá»­ vá»›i nhau trong tÃ¬nh báº±ng há»¯u.
% \end{center}}
% Polski: {\fontfamily{fmm}\fontencoding{QX}\selectfont
% \begin{center}
% Wszyscy ludzie rodzÄ… siÄ™ wolni i rÃ³wni pod wzglÄ™dem swej godnoÅ›ci i 
% swych praw. SÄ… oni obdarzeni rozumem i sumieniem i powinni 
% postÄ™powaÄ‡ wobec innych w duchu braterstwa.
% \end{center}}
% Greek: {\fontfamily{fmm}\fontencoding{LGR}\selectfont
% \begin{center}
% 'ÎŸÎ»Î¿Î¹ Î¿Î¹ Î¬Î½Î¸ÏÏ‰Ï€Î¿Î¹ Î³ÎµÎ½Î½Î¹Î¿ÏÎ½Ï„Î±Î¹ ÎµÎ»ÎµÏÎ¸ÎµÏÎ¿Î¹ ÎºÎ±Î¹ Î¯ÏƒÎ¿Î¹ ÏƒÏ„Î·Î½ Î±Î¾Î¹Î¿Ï€ÏÎ­Ï€ÎµÎ¹Î± 
% ÎºÎ±Î¹ Ï„Î± Î´Î¹ÎºÎ±Î¹ÏŽÎ¼Î±Ï„Î±. Î•Î¯Î½Î±Î¹ Ï€ÏÎ¿Î¹ÎºÎ¹ÏƒÎ¼Î­Î½Î¿Î¹ Î¼Îµ Î»Î¿Î³Î¹ÎºÎ® ÎºÎ±Î¹ ÏƒÏ…Î½ÎµÎ¯Î´Î·ÏƒÎ·, ÎºÎ±Î¹ 
% Î¿Ï†ÎµÎ¯Î»Î¿Ï…Î½ Î½Î± ÏƒÏ…Î¼Ï€ÎµÏÎ¹Ï†Î­ÏÎ¿Î½Ï„Î±Î¹ Î¼ÎµÏ„Î±Î¾Ï Ï„Î¿Ï…Ï‚ Î¼Îµ Ï€Î½ÎµÏÎ¼Î± Î±Î´ÎµÎ»Ï†Î¿ÏƒÏÎ½Î·Ï‚.
% \end{center}}
% \fontencoding{T1}\selectfont\noindent
% Due to the limitation to 256 characters per font, greek letters like 
% \fontencoding{LGR}\selectfont \miama{\footnotesize á¼¨} 
% \fontencoding{T1}\selectfont
% are decomposed in two parts (accent and base glyph). 
% Sometimes, this leads to bad horizontal positionings e.g.
% \fontencoding{LGR}\selectfont  \miama{\footnotesize á¼ˆ}. 
% \fontencoding{T1}\selectfont
% Unfortunately, one cannot solve this problem by kerning
% these pairs, because this would leed to a troublesome spacing
% with the preceding glyph. I recommend using \XeLaTeX\ when 
% writing greek.
% 
% \newpage
%
% \section{Font Tables}
% The \verb|miama| package has full support for the following 
% encodings: T1, X2, T2A, T2B, T2C, T5, QX, LGR, OT1.
% {\small\setlength{\tabcolsep}{0.5em}
% {\fmmfamily\fontencoding{T1}\selectfont\hextable{T1}}
% {\fmmfamily\fontencoding{X2}\selectfont\hextable{X2}}
% {\fmmfamily\fontencoding{T2A}\selectfont\hextable{T2A}}
% {\fmmfamily\fontencoding{T2B}\selectfont\hextable{T2B}}
% {\fmmfamily\fontencoding{T2C}\selectfont\hextable{T2C}}
% {\fmmfamily\fontencoding{T5}\selectfont\hextable{T5}}
% {\fmmfamily\fontencoding{QX}\selectfont\hextable{QX}}
% {\fmmfamily\fontencoding{LGR}\selectfont\hextable{LGR}}
% {\fmmfamily\fontencoding{OT1}\selectfont\hextablehalf{OT1}}
% }
% \StopEventually{\PrintIndex}
%
% \section{Package Implementation}
%
% \subsection{The Font Definition Files}
% The names of the font definition files 
% follow the Karl-Berry-naming scheme. The suffix \emph{fmm} (for \emph{f}ree typeface 
% \emph{M}ia\emph{m}a Nueva) is preceded by the font encoding. Thus, we end
% up with the file names |t1fmm.fd|, |ot1fmm.fd|, |x2fmm.fd|, |t2afmm.fd|, |t2bfmm.fd|, |t2cfmm.fd|, |t5fmm.fd|, |qxfmm.fd| and |lgrfmm.fd|.
%
%    Font definitions for the T1 encoding (Cork encoding):
%
%     \begin{macrocode}
%&lt;*t1fmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{T1}{fmm}{}
%    \end{macrocode}
%
%    We scale the font:
%
%    \begin{macrocode}
\DeclareFontShape{T1}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-t1}{}
%    \end{macrocode}
%
%    Other faces are silently substituted:
%
%    \begin{macrocode}
\DeclareFontShape{T1}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T1}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T1}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T1}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T1}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/t1fmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the OT1 encoding:
%
%     \begin{macrocode}
%&lt;*ot1fmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{OT1}{fmm}{}
\DeclareFontShape{OT1}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-ot1}{}
\DeclareFontShape{OT1}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{OT1}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{OT1}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{OT1}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{OT1}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/ot1fmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the X2 encoding:
%
%     \begin{macrocode}
%&lt;*x2fmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{X2}{fmm}{}
\DeclareFontShape{X2}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-x2}{}
\DeclareFontShape{X2}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{X2}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{X2}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{X2}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{X2}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/x2fmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the T2A encoding:
%
%     \begin{macrocode}
%&lt;*t2afmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{T2A}{fmm}{}
\DeclareFontShape{T2A}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-t2a}{}
\DeclareFontShape{T2A}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2A}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2A}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2A}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2A}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/t2afmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the T2B encoding:
%
%     \begin{macrocode}
%&lt;*t2bfmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{T2B}{fmm}{}
\DeclareFontShape{T2B}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-t2b}{}
\DeclareFontShape{T2B}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2B}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2B}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2B}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2B}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/t2bfmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the T2C encoding:
%
%     \begin{macrocode}
%&lt;*t2cfmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{T2C}{fmm}{}
\DeclareFontShape{T2C}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-t2c}{}
\DeclareFontShape{T2C}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2C}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2C}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2C}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T2C}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/t2cfmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the T5 encoding:
%
%     \begin{macrocode}
%&lt;*t5fmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{T5}{fmm}{}
\DeclareFontShape{T5}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-t5}{}
\DeclareFontShape{T5}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T5}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T5}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T5}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{T5}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/t5fmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the QX encoding:
%
%     \begin{macrocode}
%&lt;*qxfmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{QX}{fmm}{}
\DeclareFontShape{QX}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-qx}{}
\DeclareFontShape{QX}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{QX}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{QX}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{QX}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{QX}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/qxfmm&gt;
%    \end{macrocode}
%
%    Analogous font definitions for the LGR encoding:
%
%     \begin{macrocode}
%&lt;*lgrfmm&gt;
\expandafter\ifx\csname fmm@scale\endcsname\relax
    \let\fmm@@scale\@empty
\else
    \edef\fmm@@scale{s*[\csname fmm@scale\endcsname]}%
\fi
\DeclareFontFamily{LGR}{fmm}{}
\DeclareFontShape{LGR}{fmm}{m}{n}{&lt;-&gt; \fmm@@scale miama-lgr}{}
\DeclareFontShape{LGR}{fmm}{m}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{LGR}{fmm}{m}{it}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{LGR}{fmm}{b}{n}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{LGR}{fmm}{b}{sl}{&lt;-&gt; ssub * fmm/m/n}{}
\DeclareFontShape{LGR}{fmm}{b}{it}{&lt;-&gt; ssub * fmm/m/n}{}
%&lt;/lgrfmm&gt;
%    \end{macrocode}
%
% \subsection{The style file: \texttt{miama.sty}}
%    The \verb|scale| option (or \verb|scaled|) is being defined with a default of $0.5$.
%    \begin{macrocode}
%&lt;*package&gt;
\newcommand*{\fmm@scale}{0.5}  
\RequirePackage{xkeyval}
\DeclareOptionX{scaled}{\renewcommand*{\fmm@scale}{#1}}
\DeclareOptionX{scale}{\renewcommand*{\fmm@scale}{#1}}
\ProcessOptionsX\relax
%    \end{macrocode}
%    Two commands to make font changes easier:
% \begin{macro}{\fmmfamily}
%    This is the declarative font changing command for \emph{Miama Nueva}. 
%    \begin{macrocode}
\DeclareRobustCommand\fmmfamily{%
  \not@math@alphabet\fmmfamily\relax
  \fontfamily{fmm}\selectfont}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\miama}
%    This is basically the same as |\fmmfamily| but takes one argument.
%    \begin{macrocode}
\DeclareTextFontCommand{\miama}{\fmmfamily}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\fmmTeX}
%    \TeX\ logo in Miama (\miama{\fmmTeX}):
%    \begin{macrocode}
\DeclareRobustCommand{\fmmTeX}{%
  T\kern-.3em\lower.5ex\hbox{E}%
  \kern.05emX}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\fmmLaTeX}
%    \LaTeX\ logo in Miama (\miama{\fmmLaTeX}):
%    \begin{macrocode}
\DeclareRobustCommand{\fmmLaTeX}{%
  L\kern-.1em%
  {\sbox\z@ T%
    \vbox to\ht\z@{\hbox{%
      \check@mathfonts
      \fontsize\sf@size\z@
      \math@fontsfalse\selectfont A}%
    \vss}%
  }%
  \kern-.15em%
  \fmmTeX}
%&lt;/package&gt;
%    \end{macrocode}
% \end{macro}
%
% \PrintChanges
%
% \PrintIndex
%
% \Finale
\endinput
</pre></body></html>