diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/faq-fonts.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/faq-fonts.tex | 116 |
1 files changed, 107 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/faq-fonts.tex b/Master/texmf-dist/doc/generic/FAQ-en/faq-fonts.tex index 8a34b2066d9..c60bce4f54a 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/faq-fonts.tex +++ b/Master/texmf-dist/doc/generic/FAQ-en/faq-fonts.tex @@ -1,4 +1,4 @@ -% $Id: faq-fonts.tex,v 1.20 2012/11/24 10:56:03 rf10 Exp $ +% $Id: faq-fonts.tex,v 1.21 2014/01/22 17:29:03 rf10 Exp $ \section{Fonts} @@ -195,7 +195,8 @@ formats. The constraint is, of course, that your previewer and printer driver should support such fonts (\TeX{} itself \emph{only} cares about metrics, not the actual character programs). -If you also need mathematics, then you are severely limited by the +If you also need mathematics, then your choice is more limited, in +particular by the demands that \TeX{} makes of maths fonts (for details, see the papers by \begin{wideversion} @@ -210,12 +211,15 @@ by \URL{http://tug.org/TUGboat/Articles/tb14-3/tb40horn.pdf} or \URL{http://tug.org/TUGboat/Articles/tb19-2/tb59bouc.pdf}, respectively). \end{narrowversion} -For mathematics, then, there are rather few choices (though the list is -at last growing). There are several font families available that are -based on Knuth's original designs, and some that complement other -commercial text font designs; one set (MicroPress's `informal math') -stands alone. ``Free'' font families that will support \TeX{} -mathematics include: +There are several options available, which are +based on Knuth's original designs. Others complement other +commercial and free text font designs; one set (MicroPress's `informal math') +stands alone. + +Users should also consider the possibilities of typesetting +\Qref*{maths using OpenType fonts}{Q-otf-maths}. + +``Free'' font families that will support \TeX{} mathematics include: \begin{booklist} \item[Computer Modern](75 fonts~--- optical scaling) Donald E. Knuth\\ The \acro{CM} fonts were originally designed in \MF{}, but are also @@ -711,7 +715,58 @@ print file (\PS{} or \acro{PDF}) for their output device. \item[\nothtml{\normalfont}URW ``35 fonts'' collection]\CTANref{urw-base35} \item[utopia \nothtml{\normalfont}fonts]\CTANref{utopia} \end{ctanrefs} -\LastEdit{2013-04-11} +\LastEdit{2014-01-22} + +\Question[Q-otf-maths]{Unicode Maths using OpenType fonts} + +The \acro{ISO} standard Universal Coding Scheme (UCS), which is +commonly known as Unicode, was adopted early by the designers of +TrueType (\acro{TTF}) and OpenType (\acro{OTF}) fonts. The +flexibility of the fonts offers hope, for the first time, of a uniform +method for typesetting essentially any language. + +\tex{} users have been eagerly adopting the fonts, for some time, +using \xetex{} (now a rather stable system) and \luatex{} (which is, +at the time of writing, still being developed). + +While \tex{} users were investigating the use of these text fonts, +\acro{ISO} was extending Unicode to provide a means of expressing +mathematics. As this work proceeded, MicroSoft and (separately) a +consortium of publishing companies were developing OpenType maths +fonts. (Microsoft contributed on the development of the concepts, +within the \acro{ISO} process.) MicroSoft's OpenType Maths font, +\FontName{Cambria Math} has been available for purchase for some time. + +The first free OpenType Maths font to appear was % !line break +\FontName{Asana Math}, which was eventually followed by +the publishers' consortium's offer of an interim version +of their font, \FontName{STIX}, which has been +redeveloped to provide a more usable whole, \FontName{XITS}, by a group +of \tex{} users. + +Other fonts are appearing, including % ! line break +\FontName{TeX Gyre Termes Math} (based on Times-like fonts) and +\FontName{Tex Gyre Pagella Math} (based on Palatino-like fonts), +and \FontName{LM Math} extending the OpenType version of the +\FontName{Latin Modern} font family. + +Actually using a unicode maths font is quite a complicated business, +but the \latex{} package \Package{unicode-math} (supported +by the \Package{fontspec} package) does the essential groundwork. +\begin{ctanrefs} +\item[Asana-Math \nothtml{\rmfamily}font]\CTANref{asana-math}[asana-math] +\item[fontspec.sty]\CTANref{fontspec} +\item[lm-math \nothtml{\rmfamily}fonts]\CTANref{lm-math} +\item[STIX \nothtml{\rmfamily}fonts]\CTANref{stix} +\item[unicode-math.sty]\CTANref{unicode-math} +\item[tex-gyre-math-pagella \nothtml{\rmfamily}font]distributed as + part of \CTANref{tex-gyre-math}[tex-gyre-math-pagella] +\item[tex-gyre-math-termes \nothtml{\rmfamily}font]distributed as part + of \CTANref{tex-gyre-math}[tex-gyre-math-termes] +\item[XITS \nothtml{\rmfamily}fonts]\CTANref{xits} +\end{ctanrefs} +\LastEdit*{2014-01-22} +% more to come... \Question[Q-charshift]{Weird characters in \ProgName{dvips} output} \keywords{fi ligature pound pounds sterling elephants} @@ -986,6 +1041,49 @@ no support for using fonts according to the \acro{OT}1 encoding. \item[\nothtml{\rmfamily}Latin Modern fonts]\CTANref{lm} \end{ctanrefs} +\Question[Q-getnff]{Getting `free' fonts not in your distribution} + +Some fonts are free to use, but may not be sold. This creates a +dilemma for distributions: users may want the fonts, but since the +distribution is also available on a \acro{DVD} for sale, the fonts may +not be in the distribtution. + +The \acro{CTAN} archives hold such fonts, together with all the +necessary support files, but even with the support files ready-made, +installing a font is a tedious business. + +For \texlive{} users, this dilemma is solved by the +\ProgName{getnonfreefonts} script. Download the script installer from +\url{http://tug.org/fonts/getnonfreefonts/}; the web page tells you +how to run the installer to get the script, and what fonts are +currently available + +Once the script is installed, you can ask it what it has available by +saying: +\begin{quote} +\begin{verbatim} +getnonfreefonts -l +\end{verbatim} +\end{quote} +and you can ask it to install a font (in your local texmf tree) by: +\begin{quote} +\begin{verbatim} +getnonfreefonts luximono +\end{verbatim} +\end{quote} +(for example; the printed version of the \acro{FAQ} uses luximono, so +that the example was to hand\dots{}). + +(System adminstrators may use \ProgName{getnonfreefonts-sys}, which +will install the font in the `public' \texttt{texmf} tree, so that all +users of the system may use the new font.) + +The script will download the relevant font files from \acro{CTAN}, +extract them from their \extension{zip} file, install them and update +the font maps. It even goes so far as to apologise for how long it's +taking! +\LastEdit*{2013-10-22} + \subsection{\MF{} fonts} \Question[Q-useMF]{Getting \MF{} to do what you want} |