====== Unicode Maths using OpenType fonts ======


The [[wpfr>ISO/CEI_10646|ISO standard Universal Coding Scheme]] (UCS),
which is commonly known as [[wpfr>Unicode]], was adopted early by the designers
of TrueType (TTF) and OpenType (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 [[https://www.latex-fr.net/1_generalites/glossaire/qu_est_ce_que_xetex|XeTeX]] and
[[https://www.latex-fr.net/1_generalites/glossaire/qu_est_ce_que_luatex|LuaTeX]].

While TeX users were investigating the use of these text fonts,
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 ISO process).  MicroSoft's OpenType Maths font,
''[[wpfr>Cambria_(police_d'écriture)|Cambria Math]]'' ([[wp>Cambria_(typeface)#Cambria_Math|article en anglais plus détaillé]])
has been available for purchase for some time.

The first free OpenType Maths font to appear was 
''[[wp>Asana-Math|Asana Math]]'', which was eventually followed by
the publishers' consortium's offer of an interim version
of their font, ''[[wp>STIX_Fonts_project|STIX]]'', which has been
redeveloped to provide a more usable whole, ''[[wp>XITS_font_project|XITS]]'',
by a group of TeX users.

Other fonts are appearing, including 
''[[http://www.gust.org.pl/projects/e-foundry/tex-gyre|TeX Gyre]] Termes Math''
(based on Times-like fonts) and ''Tex Gyre Pagella Math'' (based on Palatino-like fonts),
and ''[[http://www.gust.org.pl/projects/e-foundry/latin-modern|LM Math]]'' extending
the OpenType version of the ''[[wpfr>Computer_Modern|Latin Modern]]'' font family.

Actually using a unicode maths font is quite a complicated business,
but the LaTeX package [[ctanpkg>unicode-math]] (supported
by the [[ctanpkg>fontspec]] package) does the essential groundwork.


-----
//Sources://
  * [[faquk>FAQ-otf-maths|Unicode Maths using OpenType fonts]],
  * [[https://www.tug.org/TUGboat/tb27-2/tb87hagen-gyre.pdf|TUGboat Vol. 27 (2006), n°2: The New Font Project:  TEX Gyre]],
  * [[https://tug.org/TUGboat/tb39-3/tb123jackowski-gyre.pdf|TUGboat Vol. 39 (2018), n°3: TEX Gyre text fonts revisited]].

{{htmlmetatags>metatag-keywords=(LaTeX,fontes mathématiques,police mathématique,luatex,xetex,composition des mathématiques)
metatag-og:title=(Unicode Maths using OpenType fonts)
metatag-og:site_name=(FAQ LaTeX francophone)
}}
