General\hbox{(See \cite{})} - warning

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

\hbox{(See \cite{})} - warning

Post by pallav »

Code: Select all

\begin{eqnarray}
a+b\neq  0 \qquad  \hbox{(See \cite{Wig90},~ p.278)}
\end{eqnarray}
This gives one warning. Plz help. If I omit the portion

Code: Select all

\hbox{(See \cite{Wig90},~ p.278)} 
, I get no warning. But I have to \cite in the same line of that equation like
a+b =/ 0 (See [28], p.278)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\hbox{(See \cite{})} - warning

Post by localghost »

First of all read why not to use the eqnarray environment [1]. And you have been told earlier to be more precise. The sentence »Gives a warning« is quite on top of my list of most hated sentences. So, take the log file and extract the exact wording of that warning. You can replace \hbox by \mbox or \text (provided by amsmath).

[1] The PracTeX Journal - TeX Users Group, Lars Madsen: Avoid eqnarray!


Thorsten
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Re: \hbox{(See \cite{})} - warning

Post by pallav »

Thank you
Post Reply