summaryrefslogtreecommitdiff
path: root/fonts/lm-math/doc/test-lualatex-latinmodern_math.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/lm-math/doc/test-lualatex-latinmodern_math.tex')
-rw-r--r--fonts/lm-math/doc/test-lualatex-latinmodern_math.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/fonts/lm-math/doc/test-lualatex-latinmodern_math.tex b/fonts/lm-math/doc/test-lualatex-latinmodern_math.tex
new file mode 100644
index 0000000000..be65140041
--- /dev/null
+++ b/fonts/lm-math/doc/test-lualatex-latinmodern_math.tex
@@ -0,0 +1,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}
+