Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Switch <em>Screen Environment</em> to "Printout" (menu <code>Format -&gt; Screen Environment -&gt; Printout</code>) and this graphics on-screen will look exactly as it looks in exported PDF. Do not resize the graphics inside Notebook by hands! Just increase magnification to see fine details.</p> <p>The reason for this behavior is that <a href="http://groups.google.com/group/comp.soft-sys.math.mathematica/msg/7f5cb9e2d4677855" rel="nofollow noreferrer"><code>Export</code> in Mathematica uses by default the "Printout" screen style environment rather than "Working" when exporting to PDF</a>. </p> <p>P.S. This question is related: "<a href="https://stackoverflow.com/questions/6093559/how-to-export-graphics-in-working-style-environment-rather-than-printout">How to export graphics in “Working” style environment rather than “Printout”?</a>". Also related: "<a href="https://stackoverflow.com/questions/4198961/what-is-in-your-mathematica-tool-bag/6124065#6124065">General PDF/EMF export problems and solutons</a>". Try <a href="https://stackoverflow.com/questions/6093559/how-to-export-graphics-in-working-style-environment-rather-than-printout/6093783#6093783">the solution suggested by Mr.Wizard</a> if you wish to export graphics as it looks by default.</p> <p><strong>EDIT</strong></p> <p>More clear example:</p> <pre><code>g1 = Graphics[{White, EdgeForm[Directive[Thick, Black]], LightGray, Rectangle[{1, 23}, {2, 27}]}, Epilog -&gt; {Inset[ Text[Style["Information Here", FontSize -&gt; 50]], {1, 25}, {Center, Top}, Automatic, {0, 1}], Inset[Text[Style["some more stuff", FontSize -&gt; 50]], {2, 25}, {Center, Bottom}, Automatic, {0, 1}]}] </code></pre> <p>Try to switch between <em>Screen Environments</em> and you will see the difference. Try to <code>Export</code> to PDF and compare:</p> <pre><code>Export["C:\\1.pdf", g1] </code></pre> <p>Now evaluate:</p> <pre><code>SetOptions[$FrontEndSession, PrintingStyleEnvironment -&gt; "Working"] </code></pre> <p>Export again:</p> <pre><code>Export["C:\\2.pdf", g1] </code></pre> <p>and compare...</p> <p><img src="https://i.stack.imgur.com/pXnN7.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/TkZAf.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload