Skip to main content
15 votes
Accepted

Graphics not correctly produced when saving to PDF in Version 12

It seems like there are two main problems. One is the shape of the polygons ...
MelaGo's user avatar
  • 8,681
12 votes

Magnification, ScreenResolution, ScreenInformation and Printing: Please shine some Light into it!

The issue is that for reasons that are mysterious, Mathematica has been using an incorrect value of the ScreenResolution parameters on Windows machines since time ...
Pirx's user avatar
  • 4,139
9 votes
Accepted

How to cap ImageSize at the notebook width?

I'm not sure it is what you want, but have you tried CurrentValue[EvaluationNotebook[], "GraphicsBoxOptionsImageSizeRaw"] = 500 This instantly resizes all ...
halirutan's user avatar
  • 113k
9 votes
Accepted

Exporting image and scale

ImageSize has a form (still undocumented) ImageSize -> a -> b to have a user units ...
kglr's user avatar
  • 396k
8 votes
Accepted

Printing a notebook without background color to save ink

Printing uses the "Printout" screen environment. So, you can control this behavior automatically with a stylesheet. Something like: ...
Carl Woll's user avatar
  • 131k
8 votes

Monitoring Table or Do with Print

Monitor[Table[Pause[0.1], {i, 0, 100}], i]
Roman's user avatar
  • 47.5k
7 votes
Accepted

Restore output to notebook

What does: CurrentValue[{MessageOptions, "KernelMessageAction"}] "PrintToNotebook" return for you? If it is not "PrintToNotebook", try resetting it with: <...
Carl Woll's user avatar
  • 131k
6 votes

Lock .nb cells of a file

If you want to make some functions available for use, but you do not want the users to be able to read your source code: Put the functions into a package Make sure that all the functions are ...
Szabolcs's user avatar
  • 235k
6 votes
Accepted

Decrease magnification for printing

With a little spelunking, you can find how the environment is initially setup: Cell[StyleData[All, "Printout"], Magnification->0.72]‌​ So, add that to your ...
rcollyer's user avatar
  • 34k
6 votes

CForm not getting exp(), pow, log() functions

I would unprotect Power and use Format: ...
Carl Woll's user avatar
  • 131k
6 votes

Is it possible to Print expressions in reverse order?

It turns out that the ordering of the output of Print cells is determined by whether the cells printed have the options ...
Carl Woll's user avatar
  • 131k
6 votes
Accepted

wolframscript — How to print in color

Here is a Wolfram script that uses ANSI escape codes to change the color. This works in a Gnome terminal (Linux). ...
LouisB's user avatar
  • 12.5k
6 votes
Accepted

Can I change how certain expressions are displayed/printed upon evaluation?

Format is very useful for changing the display form of expressions in general: Format[young[x___], StandardForm] := Grid[x] ...
thorimur's user avatar
  • 9,010
6 votes
Accepted

Apply HoldForm on only a part of an expression

In addition to the solutions of Nasser and Syed you could inactivate the Det function like this: ...
Alexei Boulbitch's user avatar
6 votes

Is there a function similar to Print which really respects tabs and newlines?

I am looking for something which acts like Print, preferably with the same syntax... ... ImportString strictly requires a ...
Alexey Popkov's user avatar
5 votes
Accepted

Is it possible to retrieve a previous un-evaluated, un-normalized input?

Edit: See here for a better answer. Just a slight modification of Mechanical snail's answer here, (I need a more creative username...) to make the output match the input exactly. ...
Jason B.'s user avatar
  • 68.4k
5 votes

How to cap ImageSize at the notebook width?

This is not a general solution but an improvement for Dynamic approach. It will run completely FrontEnd side: ...
Kuba's user avatar
  • 137k
5 votes
Accepted

How to print a collapsed cell group?

The low level cell expression is Cell. All those Text/ExpressionCells typset to Cell at the ...
Kuba's user avatar
  • 137k
5 votes
Accepted

How to suppress printing statments in function call

You can use Block[{Print}, function[] ] A better solution is not to use Print. A common debugging technique is to use a <...
Szabolcs's user avatar
  • 235k
5 votes
Accepted

How to print parentheses?

...
Bob Hanlon's user avatar
  • 158k
5 votes
Accepted

Horizontal version of Print[]

Updated to reverse the result of OP's loop This makes a list (which needs to be reversed): ...
MelaGo's user avatar
  • 8,681
4 votes

Is it possible to retrieve a previous un-evaluated, un-normalized input?

Another idea is to CellPrint the InString output: ...
Carl Woll's user avatar
  • 131k
4 votes
Accepted

Inserting page break to output cell from code

To insert a pagebreak after each output cell, you can add CellPrint@Cell["", "PageBreak"]; after your Print statements as shown below: ...
dan7geo's user avatar
  • 1,410
4 votes

Lock .nb cells of a file

A Cell can be made so that it is not possible to delete using the computer keyboard or the edit menu. To do this, use ...
b3m2a1's user avatar
  • 46.9k
4 votes

Switching Style for more than one Print item (like escape sequences)

A little bit unclear to me but maybe this: ...
Kuba's user avatar
  • 137k
4 votes

Print expressions using local variables in Module without Dollar sign: is that possible

The basic issue is the use of ToString and InputForm. There is no need for them, since Print ...
Carl Woll's user avatar
  • 131k
4 votes
Accepted

What are the UnitConvert units for ItemSize and FieldSize?

UnitConvert will not be of much help to you, since ItemSize and FieldSize are dependent on ...
ihojnicki's user avatar
  • 3,051
4 votes

Removing In/Out Labels before printing

Mathematica version: 12.2.0.0 Edit>Preferences>"Advanced" tab>"Open Option Inspector" "Show option value" dropdown = Select if you want the change to effect your ...
happyZucchini_'s user avatar
4 votes

Is it possible to change the fontsize when printing a notebook in the working environment?

For those like me who were confused even after reading Alexey Popkov's answer, let me provide more detail: Click Format -> Edit stylesheet A window will open that says "Private stylesheet for ...
Nic Scozzaro's user avatar
4 votes
Accepted

CForm not getting exp(), pow, log() functions

...
kglr's user avatar
  • 396k

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