summaryrefslogtreecommitdiff
path: root/fonts/lm-math/doc/test-xelatex-latinmodern_math.tex
blob: be65140041d35f3e76afdd07bb7a5833f8810177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%% This is a test file for LaTeX/Unicode-Math for both LuaLaTeX and XeLaTeX

\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]{Latin Modern Math}

\begin{document}

\input math-test.tex

\end{document}