I am using Adobe Acrobat Professional v. 9, on Windows 8.1. Here's a minimum (not) working example:


\usepackage{mdframed} % noteboxes, boxes, etc.


        Here, I am testing out a notebox.


This is the output of that example:

enter image description here

It is worth noting that the zoom level of the PDF affects the output. The above screenshot was taken at 150% zoom. Here it is at 100% zoom:

enter image description here

Everything works well in Foxit reader, at all zoom levels:

enter image description here

For some reason though, it is difficult to show the top and left-side lines in the screenshot (even though they appear properly in the PDF viewer), I think because the framed environment has a slight "shadowing" effect that seems to mess things up. Here's the screenshot at a much higher zoom level (1200%), again from Foxit reader:

enter image description here

Here is a 1200% level screenshot from the same region in Adobe Acrobat. Surprise! It shows up:

enter image description here

So I am a little confused, and not quite sure what is going on. **How can I set up a robust "boxed text" environment?

closed as off-topic by cfr, user31729, Svend Tveskæg, Werner, egreg Apr 7 '15 at 22:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – cfr, Community, Svend Tveskæg, Werner, egreg
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    I would say: This is the well-known pdf-viewer issue that lines are not shown correctly. As far as I know this is not connected to LaTeX at all – user31729 Apr 7 '15 at 19:42
  • 2
    Try with a different viewer and you'll probably not see the problem. This is dependent on your viewer and not a (La)TeX problem. – Werner Apr 7 '15 at 19:42
  • 2
    Looks like your viewers have problems showing thin lines with low resolutions - that's a known problem and Adobe's products have an extra setting for this. – Martin Schröder Apr 7 '15 at 20:15
  • @ChristianHupfer Could the comments to this question make up a good enough answer, with the additional statement that in order to make mdframed boxes display robustly given the failings of pdf viewers, one should bump up the lineweight of the borders? – user89 Apr 13 '15 at 1:57
  • @users89: I'll do later on. Bumping up the linewidth is true for any of such packages as mdframed. – user31729 Apr 13 '15 at 4:09

Browse other questions tagged or ask your own question.