mathematica-frontend

How to export graphics in “Working” style environment rather than “Printout”?

柔情痞子 提交于 2019-11-27 08:43:37
I have learned recently that Export in Mathematica uses by default the "Printout" screen style environment rather than "Working" when exporting to PDF . It sometimes results in FontSize fluctuations in the resulting PDF which are very annoying. Try for example: Show[First@ImportString[ExportString[Style[T, 100], "PDF"], "PDF"], Prolog -> Inset[Style[T, 100], FormatType -> StandardForm]] Show[First@ImportString[ExportString[Style[T, 100], "PDF"], "PDF"], Prolog -> Inset[Style[T, 100, Magnification -> .8], FormatType -> StandardForm]] You can see that the exported "T" has 80% of the size of "T"

Conversion of expressions by the FrontEnd

五迷三道 提交于 2019-11-27 06:52:33
问题 As I learned recently there are some types of expressions in Mathematica which are automatically parsed by the FrontEnd. For example if we evaluate HoldComplete[Rotate[Style[expr, Red], 0.5]] we see that the FrontEnd does not display the original expression: Is it possible to control such behavior of the FrontEnd? And is it possible to get complete list of expressions those are parsed by the FrontEnd automatically? EDIT We can see calls to MakeBoxes when using Print : On[MakeBoxes]; Print

SaveDefinitions considered dangerous

我们两清 提交于 2019-11-26 22:40:22
问题 SaveDefinitions is a nice option of Manipulate . It causes Manipulate to store any definitions used for its creation inside the Manipulate panel. A Manipulate made this way can be copied to an empty notebook and will still work on its own. Additionally, your working notebook containing many such Manipulates also doesn't turn into a flurry of pink boxes with printed error messages below it upon opening. Great! However, all this goodness has its dark side which can bite you real hard if you are

How to export graphics in “Working” style environment rather than “Printout”?

流过昼夜 提交于 2019-11-26 14:16:25
问题 I have learned recently that Export in Mathematica uses by default the "Printout" screen style environment rather than "Working" when exporting to PDF. It sometimes results in FontSize fluctuations in the resulting PDF which are very annoying. Try for example: Show[First@ImportString[ExportString[Style[T, 100], "PDF"], "PDF"], Prolog -> Inset[Style[T, 100], FormatType -> StandardForm]] Show[First@ImportString[ExportString[Style[T, 100], "PDF"], "PDF"], Prolog -> Inset[Style[T, 100,