wolfram-mathematica - 如何在 "Working"样式环境而不是 "Printout"中导出图形?

标签 wolfram-mathematica mathematica-frontend

最近得知 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]]

screenshot

您可以看到导出的“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/

相关文章:

wolfram-mathematica - Gnuplot 和 Mathematica 中的颜色图

java - 如何以编程方式求解多元方程组?

wolfram-mathematica - 为什么不从自定义调色板运行 ClearAll ["Global` *"] 更新局部变量颜色?

wolfram-mathematica - 将 Mathematica 中的多个 3D 对象放在同一个 3D 框中

wolfram-mathematica - Set::setps:在赋值部分中不是一个符号。 >>

optimization - Mathematica 求幂并查找指定系数

wolfram-mathematica - Mathematica 的 linux 前端中\[Conjugate] 字体错误的解决方法

wolfram-mathematica - Times 和 NonCommutativeMultiply,自动处理差值

wolfram-mathematica - 特定级别的每个组的唯一上下文