I use lualatex with the package unicode-math instead of amsmath. How can I insert an equation without numbering? \nonumber option doesn't work with unicode-math package, and \begin{equation*} either.
Asked
Active
Viewed 5.3k times
9
Schweinebacke
- 26,336
eissen
- 91
2 Answers
9
This works for me with LuaLaTeX:
\documentclass{memoir}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage[noabbrev]{cleveref}
\begin{document}
\begin{align*}
A
&=B \\
&=BCD \\
&=B
\end{align*}
\begin{align}
A
&=B \label{eq:1}\\
&=B \notag\\
A
&=BCD \label{eq:2}\\
&=B \label{eq:3}\tag{foo}
\end{align}
References: \eqref{eq:1}, \cref{eq:2}, \cref{eq:2,eq:1}, \cref{eq:2,eq:1,eq:3}.
\end{document}
As far as I know \notag and \nonumber are synonyms.
You might want to have a look on What are good learning resources for a LaTeX beginner?.
CampanIgnis
- 4,624
-
3
-
-
This answer should begin with an edited version of one of the two comments on the question: " There is not reason not to use amsmath together with unicode-math (but load amsmath first)" - Ulrike Fischer "unicode-math is not a substitute for amsmath. The latter is not related in any way with math font selection. For technical reasons, it should be loaded before unicode-math" - egreg – Josiah Yoder May 18 '22 at 17:44

\documentclassand ending with\end{document}. – Bobyandbob Jun 04 '17 at 11:27\[and\]should work... – Rmano Jun 04 '17 at 11:39unicode-mathandamsmath? – Jun 04 '17 at 11:50unicode-mathis not a substitute foramsmath. The latter is not related in any way with math font selection. For technical reasons, it should be loaded beforeunicode-math. – egreg Jun 04 '17 at 14:15align → align*). – user202729 May 31 '23 at 13:13