Skip to content

Commit

Permalink
test(math): Add a test case for primes and asterisks
Browse files Browse the repository at this point in the history
  • Loading branch information
Omikhleia authored and Didier Willis committed Nov 19, 2024
1 parent 241604d commit f888fec
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/math-primes-asterisk.sil
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

\begin[papersize=a5]{document}
\use[module=packages.math]

% TeX * = \ast
\math[mode=display]{a * b \quad a \ast b \quad a^* \quad a^\ast \quad a^\ast_0}

% TeX ' and '' and ''' expand to superscripted \prime
\math[mode=display]{a' \quad a'' \quad a''' \quad a'_0 \quad a''_0 \quad a'''_0}

% TeX-like prime commands used in superscript lead to the same result
\math[mode=display]{a^\prime \quad a^\dprime \quad a^\prime_0 \quad a^\dprime_0}

\end{document}
3 changes: 3 additions & 0 deletions tests/math-unary-binary-minus.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Begin page
End page
Finish

0 comments on commit f888fec

Please sign in to comment.