summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-04 14:49:42 +0000
committerKarl Berry <karl@freefriends.org>2010-06-04 14:49:42 +0000
commit71a6d5a629f5f8ace98683599c31144e37056bcf (patch)
tree9d5a8fa1ed3980952ac9af4c7b96b076050166a0 /Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx
parent523bbb55c8eaa157834d8b3f94a791c320fd6705 (diff)
new latex package unicode-math (3jun10)
git-svn-id: svn://tug.org/texlive/trunk@18723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx b/Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx
new file mode 100644
index 00000000000..9082f0c045b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/unicode-math/unicode-math-testsuite.ltx
@@ -0,0 +1,38 @@
+\documentclass{article}
+\usepackage{xltxtra,fancyvrb,geometry,calc}
+\geometry{margin=2cm,a4paper}
+\setmainfont{TeX Gyre Pagella}
+\setmonofont{Consolas}
+
+\newcommand\inserttest[1]{%
+ \section{Test #1}
+ \begin{minipage}{0.5\textwidth}
+ \VerbatimInput{testfiles/umtest#1.ltx}
+ \end{minipage}
+ \hfill
+ \begin{minipage}{8cm+4pt}
+ \fboxsep=1pt
+ \fboxrule=1pt
+ \fbox{\includegraphics[width=8cm]{testfiles/umtest#1.safe.png}}
+ \end{minipage}
+}
+
+\pagestyle{empty}
+\begin{document}
+\title{The \textsf{unicode-math} test suite}
+\author{Will Robertson}
+\date{Compiled: \today}
+\maketitle
+\thispagestyle{empty}
+
+\section*{Preamble}
+
+\begin{minipage}{0.5\textwidth}
+The following pieces of output are generated from the code shown.
+As well as being good minimal examples, these tests are useful to ensure that new bugs don't affect old behaviour.
+When the test suite is run, the new output is compared pixel by pixel with that shown here and warnings produced if the outputs are not identical.
+\end{minipage}
+
+\input{testfiles/umtest-suite.tex}
+
+\end{document} \ No newline at end of file