I'm trying to add an equation to my paper and the result is as I want. However, I get the warning:
Underfull \hbox (badness 10000) in paragraph at lines 4--12
What does it mean and how can I get rid of it?
Here is the code:
(time)=$\frac{\displaystyle\sum_{n=1}^{i} U_i*t_i}{U_top}$ \newline
\newline
\newlinecommand creates this warning because it finds an end of line caused by something external of the line break internal rules. Generally (depending on your code and the wanted output) using\newlineis not recommended except of special cases and if possible you should prefer a\vspace{\baselineskip}or a\linebreakor not-inline math etc. But This warning is nothing to worry about if you wish to have a new line at this specific place and you may ignore that. It is not an error. – koleygr Jul 15 '19 at 15:08\newlineor a\newlineat the end of a paragraph. – David Carlisle Jul 15 '19 at 15:11\[\textrm{time} = \frac{\displaystyle\sum_{n=1}^{i} U_i*t_i}{U_top}\]– barbara beeton Jul 15 '19 at 15:12=outside of math so will get the wrong spacing, and I would mark that as\[(\mathrm{time})=\frac{\sum_{n=1}^{i} U_i*t_i}{U_{\mathrm{top}}\]– David Carlisle Jul 15 '19 at 15:14\\here. – barbara beeton Jul 15 '19 at 15:15\\and\newlineare the same thing. – David Carlisle Jul 15 '19 at 15:16\noindent {\bfseries Question 1:}\newline This is the body of the questionthat I suppose this same warning is ok... Added some solutions too and suggested to avoid it for this case. – koleygr Jul 15 '19 at 15:18\\– David Carlisle Jul 15 '19 at 16:39