diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/testfiles/L603b.ltx')
-rw-r--r-- | Master/texmf-dist/source/latex/unicode-math/testfiles/L603b.ltx | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/testfiles/L603b.ltx b/Master/texmf-dist/source/latex/unicode-math/testfiles/L603b.ltx new file mode 100644 index 00000000000..40f1aaa8606 --- /dev/null +++ b/Master/texmf-dist/source/latex/unicode-math/testfiles/L603b.ltx @@ -0,0 +1,45 @@ +\input{umtest-preamble} + +\usepackage{amsmath} +\usepackage{unicode-math} + +\setmathfont{Cambria Math} + +\ExplSyntaxOn + +\NewDocumentCommand \mathstylename { } { + \mathtt { + \prg_case_int:nnn { \luatexmathstyle } { + { \displaystyle } { \token_to_str:N \displaystyle } + { \luatexcrampeddisplaystyle } { \token_to_str:N \crampeddisplaystyle } + { \textstyle } { \token_to_str:N \textstyle } + { \luatexcrampedtextstyle } { \token_to_str:N \crampedtextstyle } + { \scriptstyle } { \token_to_str:N \scriptstyle } + { \luatexcrampedscriptstyle } { \token_to_str:N \crampedscriptstyle } + { \scriptscriptstyle } { \token_to_str:N \scriptscriptstyle } + { \luatexcrampedscriptscriptstyle } { \token_to_str:N \crampedscriptscriptstyle } + } { + outside math + } + } +} + +\ExplSyntaxOff + +\begin{document} + +$\mathstylename \over \mathstylename$ + +$\luatexUstack{\mathstylename \over \mathstylename}$ + +$\frac{\mathstylename}{\mathstylename}$ + +$\dfrac{\mathstylename}{\mathstylename}$ + +$\tfrac{\mathstylename}{\mathstylename}$ + +$\binom{\mathstylename}{\mathstylename}$ + +$\genfrac{/}{)}{}{}{\mathstylename}{\mathstylename}$ + +\end{document} |