From eb4c27cab3785100d25458da3de5eaf0ec4fd116 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Oct 2012 22:16:12 +0000 Subject: new font lm-math (24oct12) git-svn-id: svn://tug.org/texlive/trunk@28082 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/fonts/lm-math/GUST-FONT-LICENSE.txt | 30 ++++++++ Master/texmf-dist/doc/fonts/lm-math/INSTALL.txt | 59 +++++++++++++++ .../fonts/lm-math/MANIFEST-Latin-Modern-Math.txt | 60 +++++++++++++++ .../doc/fonts/lm-math/README-Latin-Modern-Math.txt | 83 +++++++++++++++++++++ .../doc/fonts/lm-math/math-test-context.tex | 64 ++++++++++++++++ Master/texmf-dist/doc/fonts/lm-math/math-test.tex | 63 ++++++++++++++++ .../fonts/lm-math/test-context-lmodern_math.pdf | Bin 0 -> 23086 bytes .../fonts/lm-math/test-context-lmodern_math.tex | 14 ++++ .../fonts/lm-math/test-lualatex-lmodern_math.pdf | Bin 0 -> 21628 bytes .../fonts/lm-math/test-lualatex-lmodern_math.tex | 22 ++++++ .../doc/fonts/lm-math/test-word-lmodern_math.docx | Bin 0 -> 18457 bytes .../doc/fonts/lm-math/test-word-lmodern_math.pdf | Bin 0 -> 24056 bytes .../fonts/lm-math/test-xelatex-lmodern_math.pdf | Bin 0 -> 16463 bytes .../fonts/lm-math/test-xelatex-lmodern_math.tex | 22 ++++++ 14 files changed, 417 insertions(+) create mode 100644 Master/texmf-dist/doc/fonts/lm-math/GUST-FONT-LICENSE.txt create mode 100644 Master/texmf-dist/doc/fonts/lm-math/INSTALL.txt create mode 100644 Master/texmf-dist/doc/fonts/lm-math/MANIFEST-Latin-Modern-Math.txt create mode 100644 Master/texmf-dist/doc/fonts/lm-math/README-Latin-Modern-Math.txt create mode 100644 Master/texmf-dist/doc/fonts/lm-math/math-test-context.tex create mode 100644 Master/texmf-dist/doc/fonts/lm-math/math-test.tex create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.pdf create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.tex create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.pdf create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.tex create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.docx create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.pdf create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.pdf create mode 100644 Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.tex (limited to 'Master/texmf-dist/doc/fonts/lm-math') diff --git a/Master/texmf-dist/doc/fonts/lm-math/GUST-FONT-LICENSE.txt b/Master/texmf-dist/doc/fonts/lm-math/GUST-FONT-LICENSE.txt new file mode 100644 index 00000000000..60b55002ee6 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/GUST-FONT-LICENSE.txt @@ -0,0 +1,30 @@ +% This is a preliminary version (2006-09-30), barring acceptance from +% the LaTeX Project Team and other feedback, of the GUST Font License. +% (GUST is the Polish TeX Users Group, http://www.gust.org.pl) +% +% For the most recent version of this license see +% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt +% or +% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt +% +% This work may be distributed and/or modified under the conditions +% of the LaTeX Project Public License, either version 1.3c of this +% license or (at your option) any later version. +% +% Please also observe the following clause: +% 1) it is requested, but not legally required, that derived works be +% distributed only after changing the names of the fonts comprising this +% work and given in an accompanying "manifest", and that the +% files comprising the Work, as listed in the manifest, also be given +% new names. Any exceptions to this request are also given in the +% manifest. +% +% We recommend the manifest be given in a separate file named +% MANIFEST-.txt, where is some unique identification +% of the font family. If a separate "readme" file accompanies the Work, +% we recommend a name of the form README-.txt. +% +% The latest version of the LaTeX Project Public License is in +% http://www.latex-project.org/lppl.txt and version 1.3c or later +% is part of all distributions of LaTeX version 2006/05/20 or later. + diff --git a/Master/texmf-dist/doc/fonts/lm-math/INSTALL.txt b/Master/texmf-dist/doc/fonts/lm-math/INSTALL.txt new file mode 100644 index 00000000000..db662b39c1c --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/INSTALL.txt @@ -0,0 +1,59 @@ +INSTALLING MATH FONTS + +To install a math font one should add it to the system fonts or install +it in the TeX Live directory structure (or both). + + +1. INSTALLING SYSTEM FONTS + +a. WINDOWS +Window 7 (or newer): Right click on the font file, choose install +option. Windows 98 (or newer): Go to Start, then Control Panel. +Double click on Fonts, and drag-and-drop the font file into the Fonts +applet window. In MS Windows up to XP, in the Fonts applet, you can +also choose File from the menu bar, then Install New Font. + +b. APPLE (MAC OS X) +The font can be installed by double-clicking on the font file and +following the on screen prompts in the Font Book application, or by +manually copying (or dragging) the font file to any of the standard +Fonts folders in Mac OS: ~/Library/Fonts/ (user fonts), /Library/Fonts/ +(local fonts) or /System/Library/Fonts/ (system fonts). + +c. LINUX (most of current distributions) +Just copy font file to a directory read by font-config. In most cases +the directory /usr/local/share/fonts will be adequate (you can also +copy the font file to ~/.fonts or /usr/share/fonts ). If the font +doesn't appear in the applications font list you can run the fc-cache +program in order to force a cache rebuild. + + +2. INSTALLING FONTS IN TEX LIVE + +To install fonts in the TeX Live system you have to copy it to the +appropriate directory: (TEXMF root)/texmf-local/fonts/opentype/public/ +(you may have to create this directory). When you want install fonts +for only one user, you can use the ~/texmf/fonts/opentype directory +(this directory also may be nonexistent). After coping the font file, +you have to run mktexlsr command to refresh the kpathsea caches. + +Most of the typesetting engines can use fonts installed either in OS or +in TeX Live. Microsoft Office (Word) uses, of course, only system fonts. +XeLaTeX can use both of them. LuaLaTeX and ConTeXt uses TeX Live fonts +by default, but if the OSFONTDIR environment variable is set, the +system fonts also can be found. + +For typesetting math using an OpenType font with (Lua|Xe)LaTeX, an up +to date version of the unicode-math package (and related LaTeX3 +packages) is crucial. + + +3. CHECKING THE INSTALLATION + +In order to verify whether the font installation was successful, you +may wish to run the TeX examples or open the relevant MS Word example +and compare the results (in case of the Word file, just a previewer is +sufficient) with the respective PDF files. + +Note that, unlike for TeX, an OTF font is to be referred rather by its +internalname(s) than by its file name. \ No newline at end of file diff --git a/Master/texmf-dist/doc/fonts/lm-math/MANIFEST-Latin-Modern-Math.txt b/Master/texmf-dist/doc/fonts/lm-math/MANIFEST-Latin-Modern-Math.txt new file mode 100644 index 00000000000..5703d701596 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/MANIFEST-Latin-Modern-Math.txt @@ -0,0 +1,60 @@ +########################################################################### +############ The TeX Gyre Collection of Fonts ############ +########################################################################### + +Font: Latin Modern Math +Authors: Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski +Version: 1.950 +Date: 11 X 2012 + +Copyright 2012 for TeX Gyre math extensions by B. Jackowski, +P. Strzelczyk and P. Pianowski (on behalf of TeX Users Groups). + +This work can be freely used and distributed under +the GUST Font License (GFL -- see GUST-FONT-LICENSE.txt) +which is actually an instance of the LaTeX Project Public License +(LPPL -- see http://www.latex-project.org/lppl.txt). + +This work has the maintenance status "maintained". The Current Maintainer +of this work is Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski. + +This work consists of the files listed in this file. + +Below, in three sections required by the GUST Font License, +font names and file names specific for the Latin Modern Math +font are listed. + +NOTE: the names of the directories are not subject to the renaming +restrictions. + +1. Fonts whose names should be changed in derived works as requested + by clause 1 of GUST-FONT-LICENSE.txt + + 1.1 OTF menu names + Latin Modern Math + LModernMath-Regular + +2. Files whose names should be changed in derived works as requested + by clause 1 of GUST-FONT-LICENSE.txt + + 2.1 otf/texgyretermes-math.otf + + 2.2 doc/MANIFEST-Latin-Modern-Math.txt + doc/README-Latin-Modern-Math.txt + doc/presentation-lmodern_math.pdf + doc/math-test.tex + doc/math-test-context.tex + doc/test-context-lmodern_math.pdf + doc/test-context-lmodern_math.tex + doc/test-lualatex-lmodern_math.pdf + doc/test-lualatex-lmodern_math.tex + doc/test-xelatex-lmodern_math.pdf + doc/test-xelatex-lmodern_math.tex + doc/test-word-tg_lmodern_math.docx + doc/test-word-tg_lmodern_math.pdf + +3. Files whose names need not be changed in derived works as requested + by clause 1 of GUST-FONT-LICENSE.txt + + doc/GUST-FONT-LICENSE.txt + doc/INSTALL.txt diff --git a/Master/texmf-dist/doc/fonts/lm-math/README-Latin-Modern-Math.txt b/Master/texmf-dist/doc/fonts/lm-math/README-Latin-Modern-Math.txt new file mode 100644 index 00000000000..43b274a0f17 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/README-Latin-Modern-Math.txt @@ -0,0 +1,83 @@ +########################################################################### +############ Latin Modern Collection of Fonts ############ +########################################################################### + +Font: Latin Modern Math +Authors: Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski +Version: 1.950 +Date: 11 X 2012 + +License: + % Copyright 2012 for the Latin Modern math extensions by B. Jackowski, + % P. Strzelczyk and P. Pianowski (on behalf of TeX Users Groups). + % + % This work can be freely used and distributed under + % the GUST Font License (GFL -- see GUST-FONT-LICENSE.txt) + % which is actually an instance of the LaTeX Project Public License + % (LPPL -- see http://www.latex-project.org/lppl.txt). + % + % This work has the maintenance status "maintained". The Current Maintainer + % of this work is Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski. + % + % This work consists of the files listed + % in the MANIFEST-Latin-Modern-Math.txt file. + +########################################################################### +############ A BRIEF DESCRIPTION OF THE FONT ############ +########################################################################### + +Latin Modern Math is a math companion for the Latin Modern family +of fonts (see http://www.gust.org.pl/projects/e-foundry/latin-modern) in +the OpenType format. + +The math OTF fonts should contain a special table, MATH, described in the +confidential Microsoft document "The MATH table and OpenType Features +for Math Processing". Moreover, they should contain a broad collection +of special characters (see "Draft Unicode Technical Report #25. +UNICODE SUPPORT FOR MATHEMATICS" by Barbara Beeton, Asmus Freytag, +and Murray Sargent III). In particular, math OTF fonts are expected +to contain the following scripts: a basic serif font (regular, bold, +italic and bold italic), a calligraphic font (regular and bold), +a double-struck font, a fraktur font (regular and bold), a sans-serif +font (regular, bold, oblique and regular oblique), and a monospaced font. + +The basic script is, obviously, Latin Modern. Some scripts, however, +are borrowed from other fonts (the current selection, however, may +be subject to change), belonging, however, to the "TeX circle": + + * the calligraphic and fraktur alphabets are excerpted from the renowned + Euler family (http://en.wikipedia.org/wiki/AMS_Euler); + + * the double struck script is excerpted from Alan Jeffrey's bbold font + (http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/bbold/bbold.pdf) + + * the sans serif and monospaced alphabets are excerpted from + the Latin Modern Sans and Latin Modern Mono fonts + (http://www.gust.org.pl/projects/e-foundry/latin-modern); + sans serif bold Greek symbols (required by the already mentioned + "Unicode Technical Report #25") were prepared using D.E. Knuth's + font sources with some manual tuning + +The main math component, that is, the math extension, was programmed +from scratch, with an attempt to retain the visual compatiblility +with the original D.E. Knuth's fonts. In particular, all symbols +(with a few exceptions) appearing in the D.E. Knuth's "canonical" fonts +have the same width (rounded) as the corresponding Knuthian ones. + +Note that the members of all the mentioned alphabets, except +the main roman alphabet, should be considerd symbols, not letters; +symbols are not expected to occur in a text stream; instead, +they are expected to appear lonely, perhaps with some embellishments +like subscripts, superscripts, primes, dots above and below, etc. + +To produce the font, MetaType1 and the FontForge library were used: +the Type1 PostScript font containing all relevant characters was +generated with the MetaType1 engine, and the result was converted +into the OTF format with all the necessary data structures by +a Python script employing the FontForge library. + +The TeX Gyre Math Project was launched and is supported by +TeX USERS GROUPS (CS TUG, DANTE eV, GUST, NTG, TUG India, TUG, UK TUG). +Hearty thanks to the representatives of these groups and also +to all people who helped with their work, comments, ideas, +remarks, bug reports, objections, hints, consolations, etc. diff --git a/Master/texmf-dist/doc/fonts/lm-math/math-test-context.tex b/Master/texmf-dist/doc/fonts/lm-math/math-test-context.tex new file mode 100644 index 00000000000..91284ab06c1 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/math-test-context.tex @@ -0,0 +1,64 @@ + +\startformula + \widehat{bcd} \ \widetilde{efg} \ \dot A \ {\bi\dot A \check t} + \ \check{\cal A} \check{\cal a} \ \mathbf{\acute \imath} +\stopformula + +%Angle brackets: +\startformula + \langle a \rangle \left\langle \frac{a}{b} \right\rangle + \left\langle \frac{\frac{a}{b}}{c} \right\rangle +\stopformula + +%Big operators: +\startformula + (x + a)^n = \sum_{k=0}^n {n \choose k} x^k a^{n-k} +\stopformula + +%%Horizontal brackets: +\let\overbracket\overbrace +\let\overparen\overbrace +\startformula + \underbrace{\overbracket{aaaaaaa}}_{\rm Siedém} + \underbrace{\overparen{aaaaa}}_{\rm pięć} +\stopformula + +%Squares: +\startformula + \sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{2}}}}}} = + \frac{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{2}}}}}}}}}{\frac{2}{3}} +\stopformula + +%Cardinal numbers +\startformula + \aleph_{0}<2^{\aleph_0}<2^{2^{\aleph_0}} +\stopformula + +%Powers +\startformula +x^{\alpha} e^{\beta x^{\gamma} e^{\delta x^{\epsilon}}} +\stopformula + +%Integrals +\startformula + \oint_C\mathbf{F}\cdot d\mathbf{r}=\int_S\mathbf{\nabla}\times\mathbf{F}\cdot d\mathbf{S}\qquad + \oint_C\vec{A}\cdot\vec{dr}=\iint_S(\nabla\times\vec{A})\,\vec{dS} +\stopformula + +%Sum +\startformula + (1+x)^n=1+\frac{nx}{1!}+\frac{n(n-1)x^2}{2!}+\cdots +\stopformula + +%Equations +\startformula +\startmathalignment + \int_{-\infty}^\infty e^{-x^2}dx \NC =\NC \left[\int_{-\infty}^\infty e^{-x^2}dx + \int_{-\infty}^\infty e^{-y^2}dy\right]^{1/2} \NR + \NC =\NC \left[\int_{0}^{2\pi} \int_0^\infty e^{-r^2}r\,dr\,d\theta\right]^{1/2}\NR + \NC =\NC \left[\pi\int_{0}^\infty e^{-u}du\right]^{1/2}\NR + \NC =\NC \sqrt{\pi} +\stopmathalignment +\stopformula + +\endinput \ No newline at end of file diff --git a/Master/texmf-dist/doc/fonts/lm-math/math-test.tex b/Master/texmf-dist/doc/fonts/lm-math/math-test.tex new file mode 100644 index 00000000000..8fac66bb174 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/math-test.tex @@ -0,0 +1,63 @@ +\pagestyle{empty} + +%Accents: +\begin{displaymath} + \widehat{bcd} \ \widetilde{efg} \ \dot A \ \mathbf{\dot A \check t} + \ \check{\mathcal{A}} \check{\mathcal{a}} \ \mathbf{\acute \imath} +\end{displaymath} + +%Angle brackets: +\begin{displaymath} + \langle a \rangle \left\langle \frac{a}{b} \right\rangle + \left\langle \frac{\frac{a}{b}}{c} \right\rangle +\end{displaymath} + +%Big operators: +\begin{displaymath} + (x + a)^n = \sum_{k=0}^n {n \choose k} x^k a^{n-k} +\end{displaymath} + +%%Horizontal brackets: +\begin{displaymath} + \underbrace{\overbracket{aaaaaaa}}_\text{Siédém} + \underbrace{\overparen{aaaaa}}_\text{pięć} +\end{displaymath} + +%Squares: +\begin{displaymath} + \sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{2}}}}}} = + \frac{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{2}}}}}}}}}{\frac{2}{3}} +\end{displaymath} + +%Cardinal numbers +\begin{displaymath} + \aleph_{0}<2^{\aleph_0}<2^{2^{\aleph_0}} +\end{displaymath} + +%Powers +\begin{displaymath} +x^{\alpha} e^{\beta x^{\gamma} e^{\delta x^{\epsilon}}} +\end{displaymath} + +%Integrals +\begin{displaymath} + \oint_C\mathbf{F}\cdot d\mathbf{r}=\int_S\mathbf{\nabla}\times\mathbf{F}\cdot d\mathbf{S}\qquad + \oint_C\vec{A}\cdot\vec{dr}=\iint_S(\nabla\times\vec{A})\,\vec{dS} +\end{displaymath} + +%Sum +\begin{displaymath} + (1+x)^n=1+\frac{nx}{1!}+\frac{n(n-1)x^2}{2!}+\cdots +\end{displaymath} + +%Equations +\setlength\arraycolsep{0.15em} +\begin{eqnarray*} + \int_{-\infty}^\infty e^{-x^2}dx &=& \left[\int_{-\infty}^\infty e^{-x^2}dx + \int_{-\infty}^\infty e^{-y^2}dy\right]^{1/2}\\ + &=& \left[\int_{0}^{2\pi} \int_0^\infty e^{-r^2}r\,dr\,d\theta\right]^{1/2}\\ + &=& \left[\pi\int_{0}^\infty e^{-u}du\right]^{1/2}\\ + &=& \sqrt{\pi} +\end{eqnarray*} + +\endinput \ No newline at end of file diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.pdf b/Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.pdf new file mode 100644 index 00000000000..b5e8e15be3e Binary files /dev/null and b/Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.pdf differ diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.tex b/Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.tex new file mode 100644 index 00000000000..52d8490f792 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/test-context-lmodern_math.tex @@ -0,0 +1,14 @@ + +\starttypescript [math][lmodern,modern][all] + \definefontsynonym[MathRoman][file:lmmath-1950.otf][features=math\mathsizesuffix] +\stoptypescript +\setupbodyfont[modern] + +\setuppagenumbering[state=stop] + +\starttext + +\input math-test-context.tex + +\stoptext + diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.pdf b/Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.pdf new file mode 100644 index 00000000000..d475c9b6f2b Binary files /dev/null and b/Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.pdf differ diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.tex b/Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.tex new file mode 100644 index 00000000000..186986f28aa --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/test-lualatex-lmodern_math.tex @@ -0,0 +1,22 @@ +\documentclass[12pt,a4paper]{article} + +\usepackage{amsmath}[2000/07/18] %% Displayed equations +\usepackage{amssymb}[2002/01/22] %% and additional symbols + +\usepackage{fontspec} +\setromanfont[Ligatures=TeX]{Latin Modern Roman} +\usepackage{unicode-math} + +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Pagella Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{Asana Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{Cambria Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{XITS Math} +\setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{Latin Modern Math} + +\begin{document} + +\input math-test.tex + +\end{document} + diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.docx b/Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.docx new file mode 100644 index 00000000000..a2fd75dc43e Binary files /dev/null and b/Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.docx differ diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.pdf b/Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.pdf new file mode 100644 index 00000000000..f057d3b2728 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/lm-math/test-word-lmodern_math.pdf differ diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.pdf b/Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.pdf new file mode 100644 index 00000000000..6918a3a8e61 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.pdf differ diff --git a/Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.tex b/Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.tex new file mode 100644 index 00000000000..c5937b16b7e --- /dev/null +++ b/Master/texmf-dist/doc/fonts/lm-math/test-xelatex-lmodern_math.tex @@ -0,0 +1,22 @@ +\documentclass[12pt,a4paper]{article} + +\usepackage{amsmath}[2000/07/18] %% Displayed equations +\usepackage{amssymb}[2002/01/22] %% and additional symbols + +\usepackage{fontspec} +\setromanfont[Ligatures=TeX]{Latin Modern Math} +\usepackage{unicode-math} + +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Pagella Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{Asana Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{Cambria Math} +% \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{XITS Math} +\setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{Latin Modern Math} + +\begin{document} + +\input math-test.tex + +\end{document} + -- cgit v1.2.3