Linked Questions

10
votes
3answers
3k views

How to export notebook in colored PDF form [duplicate]

Possible Duplicate: Saving a notebook as PDF, preserving syntax highlighting I would like to export my notebook code in a colored PDF form. What I do is select the brace in the right side of the ...
1
vote
0answers
39 views

Which style sheet options should be set to export to a color PDF? [duplicate]

I have a Mathematica 10.4 notebook that I need to export to a color PDF. In looking through the other postings, I have tried setting the PrintingStyleEnvironment to Printout but cannot seem to export ...
6
votes
1answer
3k views

What´s the best way to COPY/PASTE Mathematica code into Word?

As you can see in the image the code, with a standard copy/paste you obtain squares instead of "Return=New Line". What´s the best way to copy and paste Mathematica code into Word? One choice is a ...
7
votes
2answers
799 views

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

I want to print a notebook that owns syntax color,I use the Szabolcs's method SetOptions[$FrontEndSession, PrintingStyleEnvironment -> "Working"] Then I can ...
5
votes
2answers
672 views

Background color of Code cell lost when convert a notebook file to pdf

Well, I have a notebook with the built-in stylesheet Preprint, which I'd like to convert it to pdf. Everything works well except for the code cells(I use the shortcut key alt+8 to create cells of code ...
8
votes
2answers
505 views

How to Enable Syntax Coloring of Pattern Match Variable Only (i.e. Without Coloring any Associated Pattern)?

Syntax coloring for the following function definition foo[x_List] := ... will color green (and italicize by default) the argument name ...
13
votes
1answer
665 views

Saving a notebook as a $\LaTeX$ file, with syntax highlighting preserved

How can I save a notebook as a $\LaTeX$ file, while preserving the syntax highlighting (such as input/output boxes)?
4
votes
1answer
473 views

Hide all code cells in notebook with Style: Input

I am using a standard notebook file in which code is showing different plots. How can I hide all code cells with Sytle: Input so that I can Export the Notebook to a pdf file which is showing only the ...
1
vote
1answer
285 views

Export notebook as PDF with all formats

I would like to export my notebook to a PDF File. I was wondering if it is possible to keep the whole layout, like In[1]:= on the left side. The cell brackets on ...
1
vote
1answer
104 views

Saving a notebook as CDF, preserving syntax highlighting

My question is virtually the same as Saving a notebook as PDF, preserving syntax highlighting except that I'd like to save my file (a tutorial on Mathematica) as a .CDF file and thus keep the syntax ...