A solução foi remover * do ambiente da equação. Então
\begin{equation}
\label{D}
\tag{D}
w''+e^{-z}\cdot w'+\alpha \cdot w=0
\end{equation}
funciona bem.
Eu gostaria de digitar uma equação, colocar um rótulo D nela e fazer uma referência a ela. Eu tentei:
\begin{equation*}
\label{D}
w''+e^{-z}\cdot w'+\alpha \cdot w=0
\end{equation*}
with $\alpha\in\mathbb{C}$ and showed that precisely when a solution to~\ref{D}
Mas quando o Texmaker compilou o documento, o fim da linha é
and showed that precisely when a solution to
Então eu mudei o código para
\begin{equation*}
\label{D}
\tag{D}
w''+e^{-z}\cdot w'+\alpha \cdot w=0
\end{equation*}
with $\alpha\in\mathbb{C}$ and showed that precisely when a solution to~\ref{D}
mas ainda faltava o D Depois disso, tentei remover a linha \ tag {D} para recompilar a primeira versão do código. Agora consegui ver a saída correta:
and showed that precisely when a solution to D.
Então, isso é um bug no LaTeX ou no TexMaker porque não consegui ver a letra D na primeira vez?
Eu tenho o Ubuntu 17.04 e
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2017.8.16) 15 SEP 2017 09:29
e
Texmaker 4.5
(compiled with Qt 5.6.1 and Poppler 0.44.0)
Copyright (c) 2003-2015 by Pascal Brachet
A solução foi remover * do ambiente da equação. Então
\begin{equation}
\label{D}
\tag{D}
w''+e^{-z}\cdot w'+\alpha \cdot w=0
\end{equation}
funciona bem.