Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I scale the graphic by, say 2.0, I can see the graphic poking out from behind the \fbox.

share|improve this question
    
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  lockstep Sep 16 '11 at 14:33
    
Can you give us an example (source code)? –  JF Meier Sep 16 '11 at 14:33
    
How do I do it - as a file? –  Keith77777 Sep 20 '11 at 14:26
    
Sorry, I am generating a dvi file not a pdf. Already got the xcolor package included. This happens to ALL graphics and happened suddenly, but I cannot figure what it was that caused it. –  Keith77777 Sep 20 '11 at 15:51
add comment

1 Answer 1

The default \fbox draws the four lines of the frame and places the content in one go. Therefore some lines are placed before and some after the content. If the content is a trimmed image then the trimmed part will be printed over the lines placed before. Also, depending on the zoom level the PDF viewer might mix up both. You can't do much about the latter, but if you load the xcolor package than \fbox gets redefined so that the content is placed first and then the lines are drawn, so that they are always shown above it, as it is supposed to be.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.