9

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.

Schweinebacke
  • 26,336
eissen
  • 91

2 Answers2

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.

enter image description here

You might want to have a look on What are good learning resources for a LaTeX beginner?.

CampanIgnis
  • 4,624
  • 3
    The OP wants NO numbers... – TeXnician Jun 04 '17 at 12:41
  • @TeXnician: agreed and edited. – CampanIgnis Jun 04 '17 at 12:49
  • 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
-1

Use the starred equation*:

\documentclass[11pt,a4paper]{article}
\usepackage{amsmath,esint}

\begin{document} \begin{equation} E=mc^2 \end{equation} \end{document}

JamesT
  • 3,169