I have this many (see below) underfull warnings that are caused by using the listing package and creating \begin{lstlisting}\end{} to make code appear presentable. Is there a may to fix the warnings?
I am using IEEETran document class and the lstlisting set up (see below). Can this be adjusted to fix the issues?
\lstset
{
breaklines=true,
tabsize=3,
showstringspaces=false
}
\lstdefinestyle{Common}
{
extendedchars = \true,
language = {Python},
frame = single,
% ===========================================================
framesep = 3pt,%expand outward.
framerule = 0.4pt,%expand outward.
xleftmargin = 3.7pt,%make the frame fits in the text area.
xrightmargin = 3.5pt,%make the frame fits in the text area.
% ===========================================================
rulecolor=\color{Red}
}
\lstdefinestyle{B}
{
style = Common,
backgroundcolor = \color{Black},
basicstyle = \scriptsize\color{White}\ttfamily,
keywordstyle = \color{Orange},
identifierstyle = \color{Cyan},
stringstyle = \color{Red},
commentstyle = \color{Green}
}
Warngins:
Underfull \vbox (badness 10000) has occurred while \output is active [4]
Underfull \vbox (badness 10000) has occurred while \output is active
Underfull \vbox (badness 10000) has occurred while \output is active [5]
Underfull \vbox (badness 10000) has occurred while \output is active
Underfull \vbox (badness 10000) has occurred while \output is active [6]
Underfull \vbox (badness 10000) has occurred while \output is active [7]
Underfull \vbox (badness 10000) has occurred while \output is active
Underfull \vbox (badness 10000) has occurred while \output is active [8]
Underfull \vbox (badness 10000) has occurred while \output is active [9]
Underfull \vbox (badness 10000) has occurred while \output is active
Underfull \vbox (badness 10000) has occurred while \output is active [10]
Underfull \vbox (badness 10000) has occurred while \output is active
Underfull \vbox (badness 10000) has occurred while \output is active [11]
\raggedbottombefore the listing will probably fix it though. – David Carlisle May 08 '13 at 19:27\raggedbottomworked. You should put it as an answer. – dustin May 10 '13 at 07:24