welcome to the forum!
The
nonfloat
package has such a command.Stefan
nonfloat
package has such a command.\par\textit{Poem \themypoem. #1}
or comment it out.\ensuremath
command for your macros: latex2e.org/_005censuremath.html\bibliographystyle{unsrt}
works for me, and Nena above wrote that it worked for her too. Perhaps tell us what you are doing differently in your document.