# Underfull \hbox (badness 10000) has occurred while \output is active

I'm using TeXLive 2016 in ubuntu. I get this message for every line when I run my code:

Underfull \hbox (badness 10000) has occurred while \output is active


and it makes a pdf with size 0 byte.

that's my code.

this code works well without this lines:

    \def\@oddhead{%
\begin{RTL}%group
\psset{unit=1cm}%
\rput[tl](-4.5,2.5){\includegraphics{t1.pdf}}%
\end{RTL}%group
}


what's the problem?

• – user Aug 23 '17 at 12:43

add \hfill before the final }
the \@oddhead macro has to fill the entire page head to the full width of \textwidth your pstricks construct (why pstricks there?) is a fixed width box so you need to add some stretchy white space afterwards.
• that error solved, but I get this: Segmentation fault (core dumped) ) Error 35584 (driver return code) generating output; – Mohammad Kazemi Apr 29 '17 at 15:40
• Explaining \hfill, it is a horizontal stretched space in a line so that the rest gets "pushed" toward the right margin. https://en.wikibooks.org/wiki/LaTeX/Text_Formatting#Stretched_spaces – user Aug 23 '17 at 15:48