Questions tagged [printing]

Questions about printing from Mathematica. Includes questions about scaling output, printing to PDF, specifying headers and footers and other layout elements, the printing environment style sheet version etc.

Filter by
Sorted by
Tagged with
0
votes
0answers
60 views

Code breaks as soon as I try to print a variable

Edit I think I figured out what was wrong. Since I was adding in Print[m] after I ran the loop, I had to clear my variables if I wanted to run the loop again. I ...
0
votes
0answers
19 views

xAct: Print Box operator instead of two partial derivatives

I'm fairly new to Mathematica and xAct and am starting with some calculation verfication on it. At the moment I'm struggling with the output due to partial derivatives which are the d'Alembert ...
2
votes
1answer
69 views

Alternative to “Echo” to output intermediate steps

I want to see the intermediate steps of my Program.I have placed Echo in places where it matters such as before plugging in a relation and before simplifying the expression,so that i can see all the ...
0
votes
0answers
49 views

How to Print or Export to PDF without truncation in Mathematica 12.1

My notebook looks fine on screen, but Dataset output is truncated in printing. I've read similar queries (as long back as 6 years ago) and experimented thoroughly with no success (including all print ...
1
vote
2answers
49 views

Printing Array elements in the same line

Although I searched a bit on google but did not find a quick and easy answer. So suppose we have an array with, say 3 elements X[1]={a,b};X[2]={w,f,s};X[3]={t,y,u}; ...
0
votes
2answers
42 views

How to align TableForm entries at the decimal point and give it two-digit right-side floating point precision for monetary amounts?

My question essentially asks everything but I shall rephrase it to make certain it is well understood. 1. How to print all entries in rows of a column so that they align perfectly at the decimal ...
2
votes
1answer
61 views

having a logo or a graphics in the header or footer or a printout

I managed to add footers and headers to my document when I print it. But there seems to be no chance to have anything other than text. How can I add a graphics like a logo or an image? something like:...
4
votes
1answer
70 views

Printing several A4 pages in PDF

I want to create a pdf file with several pages. Each page should contain only an image without any margins. It works fine when I'm exporting just one image as pdf, but some weird margins appear when I'...
2
votes
0answers
60 views

Characters don't print right in WolframScript

Mathematica version: 12.1 & 11.3 Platform: Windows 10 Since windows's cmd is GBK, so my file is GBK. ...
1
vote
1answer
33 views

Get all step values from a while-loop

I did a loop (first of my life) for an iterative calculation. Is it possible to get all step values as a matrix. That means the "xValue" variable should be like {215.108,219.688,...} and not only the ...
0
votes
0answers
41 views

Possible bug in Headers and Footers dialog box?

I get error messages when I try to access the Print Settings > Headers and Footers dialog box, whether from an existing notebook or from a newly created one. I have just installed the newest version ...
1
vote
1answer
75 views

Printing Values Within a Function

Below is a function to calculate the overlap between two gaussian functions. ...
0
votes
1answer
49 views

An extraneous line appears in the printed version of a Mathematica-image in a pdf-document

My system/workflow Mathematica version 11 MikTeX 2.9: tex->dvi->ps->pdf->paper I have run into the following difficulty. I cannot tell whether the problem is caused by Mathematica, MikTeX, Adobe, or ...
7
votes
2answers
151 views

Exporting image and scale

Let us say I have a plot, for example that one: Plot[x^2,{x,0,5},AspectRatio->5] and I would like to export it as a PDF in such a way that if I print the PDF ...
5
votes
0answers
239 views

How to export high dpi PDF graphics at a low physical dimension with small file size?

Exporting PDFs While it is seemingly obvious how to export higher resolution pdf vector graphics: https://mathematica.stackexchange.com/search?q=pdf+export+high+resolution There is nothing to be ...
1
vote
1answer
48 views

Restore output to notebook

While playing around in settings, I believe I did something to cause all output to be printed to a pop up window. How do I restore the output to the notebook where the evaluation occurs? In options ...
0
votes
1answer
52 views

Modifying/optimizing a double sum with an If condition

I would like to better understand double summations where one of the sums depends on the upper limit of the previous sum. This appears frequently in representation theory (to the extent of my ...
3
votes
0answers
67 views

How to make print messages show up immediately on console when inside a long loop?

I noticed something changed, I am not sure when this started, if it is with 12.0 or 11.3. I like to use Print inside either Do ...
1
vote
2answers
57 views

Checking that a certain function is equal to zero for all $|i-j|>1$

Suppose s[i] and e[i] are $m\times m$ matrices, where $i=1,\ldots, n$. I would like to check for all $|i-j|>1$, ...
1
vote
0answers
18 views

GeoGraphics not appearing in pdf if GeoMarker used in function

Why does print to pdf work fine for GeoGraphics[Here] but only the GeoMarker shows up for ...
3
votes
1answer
124 views

Individualised test paper generation (and marking)

I would like to use mathematica to create individualised tests that can be printed out for students to complete(handwritten). I would also like to be able to generate individualised printed answers. ...
4
votes
0answers
215 views

How do I prevent plot range clipping errors in a pdf printout?

Bug introduced in 11.3 or earlier I am using Mathematica 11.3 on a Windows 10 computer. I plotted several data sets of mine in a ListLinePlot. While the .pdf file looks perfectly in the current Adobe ...
0
votes
1answer
41 views

to print the result in two tables

I have this code ...
4
votes
1answer
112 views

Export paginated table

I have a large data set which I need to export as a table to a PDF file. At the moment, I do this by exporting as CSV, applying some styling in Excel (display as table, autofit column width, etc.), ...
6
votes
1answer
203 views

Printing a notebook without background color to save ink

I sometimes need to print hard copies of my notebooks, but I really like having a background color to make the notebooks easier on my eyes. Is it possible to automatically remove the background color ...
2
votes
4answers
172 views

What is better coding for turning list into sequence without curly brackets?

There are less satisfying Q/A for what I am asking but none that actually answer the question. Suppose one has a=1; b={2,3}; And one wants to print a sequence ...
3
votes
0answers
127 views

Print to PDF from Acrobat PDF printer (in Windows )

...
3
votes
0answers
117 views

When print or save as PDF the font size is too large

When I print or save as pdf the font size is too large I have printed the whole notebook to pdf or saved it to pdf, but the font size was too large, and I have set the ...
0
votes
2answers
98 views

Redirecting All Prints (including those in subkernel) to file

How do I redirect all printed text to a file instead of the FrontEnd? This question was answered in Temporarily redirect the output of Print[ ] to a second file, except that this does not capture text ...
2
votes
1answer
257 views

How to view the print/PDF printable page edge in a Notebook?

Motivation: I don't normally print or save as PDF notebooks, but when I do, it's annoying to see that some plots exceded the page width as defined in the print configurations. It would be nice to see ...
8
votes
2answers
1k views

wolframscript — How to print in color

I want to print to the console in color from a wolframscript. I tried just using a Style: ...
1
vote
1answer
50 views

Setting the style of the output in a text file

My problem is related to FormatType of the Output of Print[]. Look at this example code <...
2
votes
3answers
391 views

Stop notebook from auto-scrolling upon printing

Bug fixed in 12.0 I've long been peeved that the front end scrolls automatically during evaluations, and I've finally sat down to pin down the exact behavior. It seems that the front end auto-...
1
vote
1answer
1k views

How to suppress printing statments in function call

I defined a function in Mathematica using Module similar to ...
1
vote
1answer
429 views

How to print strings and numbers inside a While? [duplicate]

I'm trying to print the dimensions of some Vector spaces, but I want to print strings with it so I can read the results more easily. I tried this ...
0
votes
1answer
783 views

How do you print a function's content?

Sorry if this is a newbie question, but I could not find a solution. Say I have two functions, like: ...
0
votes
1answer
40 views

Is there a way to use CellPrint on dataset objects?

I am trying to assign a cell tag onto my cell with contents in the form of a dataset. However, I am receiving the following error: The wrong number of arguments (12) was given to a box ("BoxData") ...
2
votes
1answer
76 views

How to print a collapsed cell group?

I would like to print a group of cells exactly like what I get from this: ...
1
vote
0answers
56 views

Page Breaks display incorrectly and other Print Out Appearance issues

on the left is Mathematica with its Page Break on display and on the right the PDF file with worng breaking. How is this happening? The Page Break has been automaticly generated and if i were to add ...
1
vote
0answers
49 views

Getting the scaling right when printing to pdf

I have created a report in Mathematica containing Datasets, charts, plots and text. It looks nice on my screen, but everything becomes too large when I print it to PDF. How can I make everything ...
9
votes
2answers
362 views

How to cap ImageSize at the notebook width?

Graphics[{Circle[]}, ImageSize -> Automatic] creates a figure which is 360 pixels wide (same as Medium), if it fits in the ...
1
vote
0answers
52 views

DisplayFormula font is hard to read in print

My equations that use DisplayFormula style are a bit hard to read when printed on paper. Some lines look very thin. For example, a negative signs are so thin it is easy to miss them. Is there a way to ...
2
votes
1answer
1k views

How to properly print a table

to bootstrap my experience with Mathematica I'm trying to use it to print a table of values where the columns are different trigonometric functions and the rows contain different the values of said ...
5
votes
1answer
164 views

Can I mimic Mathematica's Messages functionality?

In a nutshell I'm trying to mimic Mathematica's Message window functionality in that I'm trying to Print to a notebook other than the invoking notebook. That is, as my process is running from ...
1
vote
0answers
112 views

Printing to a specific printer / changing default printer

I have multiple printers for different media formats / sizes connected to a single Windows 7 machine running Mathematica 11.0.1.0. I'd like to be able to direct ...
1
vote
2answers
87 views

How can I Influence the number of digits when printing a polynomial expression or when I want to make it a String?

I have an expession (it is the result of Fit) but I want to print or display an abbreviated form with all numbers in it rounded to say 6 decimal digits. ...
0
votes
2answers
407 views

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

In a Module, I want to print the result of some data fit. I use something like this: ...
4
votes
1answer
103 views

What are the UnitConvert units for ItemSize and FieldSize?

I have discovered the unit for ImageSize is "DesktopPublishingPoints" as setting ...
3
votes
2answers
181 views

Lock .nb cells of a file

I'm working on my research and I defined a few function that I don't want anyone to take from my code. And I must submit the Mathematica file to a public place. Is there any way to lock my nb file by ...
1
vote
1answer
296 views

Printing problem: PDF output has a plot error

In my Mathematica file I have several plots that I put together in a grid. One of the plots is coded with the following code: ...