最近得知 Export
in Mathematica uses by default the "Printout"
screen style environment rather than "Working"
when exporting to PDF .它有时会导致 FontSize
fluctuations in the resulting PDF这很烦人。
尝试例如:
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]]
您可以看到导出的“T”具有笔记本中出现的“T”大小的 80%。这就是
"Printout"
环境默认开启。有没有办法强制
Export
使用默认 "Working"
环境?附言出于某种原因,使用
Magnification->1
设置私有(private)样式表“打印输出”环境不影响 Export
.
最佳答案
解决方案似乎是:
SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Working"]
关于wolfram-mathematica - 如何在 "Working"样式环境而不是 "Printout"中导出图形?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6093559/