Tag Info

Hot answers tagged


Stealing Lou's example, you can add a couple of options: CreateDocument[ Manipulate[ Plot[Sin[x (1 + a x)], {x, 0, 6}, ImageSize -> Full], {a, 0, 2}], CellMargins -> 0, ShowCellBracket -> False, WindowSize -> Full] If you want those options to be always valid, you can put SetOptions[EvaluationNotebook[],...] into ...


There are no spacings outside so Spacings -> {0, 0} should work. [...]


edit This form might be better at catching just the desired parentheses ToBoxes[expr] /. RowBox[{"(", a_SuperscriptBox, ")"}] :> RowBox[{a}] previous Not terribly clean, but this works DisplayForm[ToBoxes[expr] /. {"(" -> "", ")" -> ""}]


It appears that PaddedForm pads the possible sign that might occupy an extra space with another zero. PaddedForm[1, 2, NumberPadding -> {"0", ""}] 001 PaddedForm[1, 2, NumberPadding->{"0",""},NumberSigns->{"",""}] 01


Add ItemSize -> Full in the options of Grid. I tested it on your code and it works, meaning that the line is no longer broken in the exported pdf.


You should re-consider the format you use for storing the data. From the question it is clear that the file is intended to be imported by Mathematica. Then why do not use a line-by-line format and then import the file using ReadList? You can append the elements of myList one-by-one to the file using PutAppend. Then you can use ReadList to get them all back ...

Only top voted, non community-wiki answers of a minimum length are eligible