Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 12258

Questions on converting data, graphics, sound etc. from Mathematica into other file formats.

1 vote
1 answer
231 views

How does pdf export compute the size of the bounding box of Inset?

[FileNameJoin[{NotebookDirectory[], "foop1.pdf"}], p1] Export[FileNameJoin[{NotebookDirectory[], "foop2.pdf"}], p2] Export[FileNameJoin[{NotebookDirectory[], "foop3.pdf"}], p3] In Mathematica, only the … However, when I export to pdf, foop1.pdf looks like this (screenshot): and foop2.pdf and foop3.pdf look similar. What's going on? …
Jason Gross's user avatar
2 votes
0 answers
88 views

How can I split a column across pages in PDF export?

Suppose I have two cells. The first cell is styled with "Section", and has contents "Section". The second cell is Column[Table[StringJoin["a", ToString[n]], {n, 0, 50}]] // TraditionalForm and th …
Jason Gross's user avatar
0 votes
Accepted

How can I get Mathematica to not mis-align plot labels when exporting to pdf without rasteri...

I'm coming the the conclusion that pdf export is buggy in computing bounding boxes. I discovered I can fix the offset by adding: /. … Offset[{14, 0}, {x, y}], {Left, Center}] Addendum: From https://mathematica.stackexchange.com/a/163490/12258, another option which seems to help but not fully solve the problem (see also How does pdf export
Jason Gross's user avatar
0 votes
1 answer
199 views

How can I get Mathematica to not mis-align plot labels when exporting to pdf without rasteri...

["/tmp/foo2-p.pdf", p] Export["/tmp/foo2-rp.pdf", rp] Export["/tmp/foo2-p.png", p] Export["/tmp/foo2-rp.png", rp] I get the following images: foo2-p.pdf: foo2-rp.pdf: foo2-p.png: foo2-rp.png … : If I rasterize first, or if I export to png, then the long names are horizontally aligned with the other names. …
Jason Gross's user avatar
2 votes
0 answers
121 views

How does PDF export handle text alignment?

, I have come to discover that PNG export agrees with Mathematica rendering but disagrees with PDF export about the size of text, and that this disagreement is very pronounced for font size 12, but much … [FileNameJoin[{NotebookDirectory[], "foo-p16.pdf"}], p16] Export[FileNameJoin[{NotebookDirectory[], "foo-p16.png"}], p16] Export[FileNameJoin[{NotebookDirectory[], "foo-p12.pdf"}], p12] Export[FileNameJoin …
Jason Gross's user avatar