2

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?

1

1 Answer 1

3

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.

4
  • that error solved, but I get this: Segmentation fault (core dumped) ) Error 35584 (driver return code) generating output;
    – mokazemi
    Commented Apr 29, 2017 at 15:40
  • @MohammadKazemi You'll probably need to ask a new question. While you're doing that, I would strongly suggest you put all the relevant code in the question, not in a pastebin link. You'll get more and better answers that way.
    – Teepeemm
    Commented Apr 29, 2017 at 15:48
  • @MohammadKazemi a segmentation fault is never due to a user error/ No input should ever segfault. It must be a bug in xetex or xdvipdfmx (depending which one crashed) and you should report it to the maintainers. Commented Apr 29, 2017 at 17:07
  • 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
    Commented Aug 23, 2017 at 15:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .