Questions on Notebooks (*.nb, *.ma in earlier versions), structured interactive documents produced by Mathematica that can contain text, graphics, sound, calculations, typeset expressions, and user interface elements.

learn more… | top users | synonyms (1)

11
votes
3answers
202 views

How to sort cells in a notebook based on cell tags?

Suppose I have a notebook with cells tagged with both numbers and words with numbers always list first, and some cells without cell tags e.g.: ...
0
votes
1answer
40 views

AutoGeneratedPackage Formatting

If you do Ctrl+Shift+o you open an option inspector. And then you can enable ...
0
votes
0answers
35 views

Changing Default Notebook Window Magnification level [duplicate]

I have searched for an answer to this problem in Mathematica documentation, googling, and here on this Mathematica.SE forum. So far, no answer that I can find. When a new Notebook window is opened, ...
0
votes
0answers
23 views

Trouble while opening the notebook [closed]

http://www.physics.umd.edu/courses/CourseWare/EssentialMathematica/Primary%20topics/plotting.nb I have downloaded this notebook and opened it in my wolfram 9 ,but the problem is I am very new at ...
1
vote
2answers
55 views

Set Options on a system function has effect on all notebooks

I have a Notebook A with default context: "Unique to this Notebook". In there I set an option: SetOptions[Interpolation, InterpolationOrder -> 1] This has ...
1
vote
1answer
52 views

working with notebooks ('looping' a notebook and storing the results of each step in another notebook)

A notebook contains a series of numerical calculations (numerical integrations, numerical solution of systems of equations etc). Many parameters are involved. The final result is in the form of a ...
1
vote
1answer
84 views

StringForm and NotebookWrite

I'm trying to get my head around NotebookWrite for the last few days. I can't understand why ...
8
votes
4answers
567 views

Is there a notebook autosave frequency configuration?

I've had Mathematica crash on me a number of times, and have had to recreate notebook contents from the last save point. I was looking for something in the preferences like an autosave frequency ...
22
votes
2answers
552 views

Saving my code before cell evaluations: Insurance against front end hanging

I guess my programming working style is not unique. I develop programs one cell at a time, and when I have some confidence about what I did, I put all my mess together refining the code, building up ...
5
votes
1answer
834 views

Automatic recovery after crash

I want Mathematica to periodically autosave my notebooks to the temp folder. And in case of front-end crash i want to see the dialog after restart with the following choices: recover from autosaved ...
2
votes
1answer
39 views

Save imported sound into a notebook (so I can e-mail it)

At the end of my code I'd like to put an imported (wav) sound. I would then play it with EmitSound[my_sound] when this cell will ...
0
votes
1answer
86 views

Front-end: How can one programmatically extract window titles?

I would like to programmatically get the titles that appear at the top of notebook windows, particularly for notebooks that have not yet been saved (if they have been saved, I can get the information ...
1
vote
1answer
46 views

Converting a testing notebook to a notebook

I build a testing notebook and it got too slow and unreliable with many test cases. I want to have a new (classical) notebook with all the the inputs I have in the testing one. Is there an automatic ...
2
votes
1answer
35 views

Deleting empty cells and selecting cells matching a pattern

Is there any way for me to automatically select all cells that are completely empty? You know, those cells that you create but end up cutting what's in them and paste it somewhere else, so after a ...
0
votes
1answer
102 views

How to make the 3D borders like these around Notebook content? [closed]

I wonder how to make the borders of the notebook windows to appear with 3D bevel like on this picture? This is what I want: This is what I have:
5
votes
1answer
771 views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
15
votes
2answers
492 views

How to write plain Greek in a text cell

If I create a text cell and type some greek text, most of the symbols are italics as if the cell had an Input style. It doesn't happen with latin characters. I recollect that it is impossible to fix ...
5
votes
1answer
73 views
3
votes
3answers
206 views

Preventing notebook cells from being broken across two pages when printing

Sometimes I create a number of plots together, e.g. by GraphicsGrid[]. If it happens that I have to print the notebook, very often the cell is broken, half on one ...
2
votes
1answer
51 views

Identically styled cells from ToBoxes and Cell do not align

I'm trying to generate some worksheets using NotebookWrite so that I can control the page breaks, but have got stuck on the alignment as there appears to be a ...
4
votes
2answers
115 views

Display full path of current notebook on title bar?

Is there a setting in Mathematica notebook interface to get the title bar to display the full path to the current notebook?
8
votes
3answers
1k views

Keyboard shortcut to evaluate notebook

(If this is entirely trivial, although I couldn't find an answer as much as I searched the archives, I will delete the question.) How could I add a keyboard shortcut to evaluate the entire notebook ...
2
votes
2answers
97 views

Increase precision for a entire notebook

I am quite a newbie and it is taking me so much time to understand what I need to do to achieve something really simple and I still haven't found it. I run a dynamic model of a metabolic pathway in ...
2
votes
0answers
79 views

How to avoid the initialization cell evaluation dialog box?

I have a Mathematica notebook, a 940 NB file divided into 25 Sections. When I evaluate a cell with Shift+Enter, I always get a dialog box as shown below: Question: Is it possible to avoid it by ...
2
votes
1answer
220 views

Export notebook file without launching front-end

I am using a Mathematica script to programmatically generate a Mathematica notebook. The script generates a Notebook expression and then uses ...
0
votes
1answer
34 views

How do I know if NotebookLocate did not find the cell tag?

Is there a way to programmatically detect whether or not NotebookLocate[{"file", "cell tag"}] has found the cell? And then if not found, stay at current selection ...
3
votes
1answer
64 views

Export notebook as epub?

Is there a way (preferably easy!) to have Mathematica export a notebook or CDF as an epub document, to be read on an e-reader? It would certainy seem possible to export as HTML, and then use ...
0
votes
0answers
28 views

Empty Snapshots when uploading WDP Demonstration

I have a problem when uploading a demonstration for the WDP. Upload works fine, the demo does too but the snapshots do not behave. Particularly, the demonstration plots some curves generated by data ...
8
votes
3answers
89 views

Create a closed notebook

When using nb = CreateDocument[], is there an option that prevents the notebook from opening automatically? And is there a command that opens the notebook when ...
0
votes
0answers
33 views

Word wrapping in Code cells

The style for Code cells has no word wrapping. I don't like this as code lines either have to broken manually (with ugly, poorly indented results) or left largely invisible beyond the right of the ...
7
votes
1answer
111 views

Auto highlighting input cells depending on input expression (eg its Head)

Is it possible to programmatically highlight (eg, by change background color) an input cell conditional on the input expression's Head (or other attributes) upon evaluation? For example, would like ...
1
vote
0answers
46 views

Changing face as you type in an expression in notebook

I've a Mathematica notebook for my class notes. When writing plain text in cells, I can dynamically bold and unbold with the ctrl+b shortcut. However, when in a mathematical expression, this shortcut ...
1
vote
1answer
134 views

Running a Mathematica Notebook from command line and saving the output [closed]

I am working on a project that requires some calculations to be done in Mathematica. I don't know Wolfram language and I don't have the time to learn it (I am using a 30-day trial) so I have a python ...
5
votes
2answers
297 views

What kind of Mathematica license do i need to create cdf documents for my students and put them on my (academic) page at the university?

I'm an enthusiastic university teacher willing to exploit Mathematica for teaching purposes. I would like to know what kind of Mathematica license would let me: create notebooks and cdf documents to ...
8
votes
0answers
254 views

Keyboard issues with Mathematica 9.0.1 for Linux [closed]

After working for a while with Manipulate function and increasing the number of variables to be manipulated, keyboard stops working properly in the Notebook. It ...
0
votes
0answers
29 views

System of Nonlinear equations with Gamma and Incomplete Gamma function

The next two nonlinear equations are cumulative ratios of a production system. The mathematical model includes two essential parameters (n, tau) that can be obtained by solving this system. I'm ...
4
votes
1answer
82 views

Saving notebook, excluding output cells, without losing “working notebook” output cells

In order to discuss this, I think it's easiest to start with two definitions. (If there's a standard terminology, please comment.) Working notebook: a notebook that is open and in memory. Disk ...
1
vote
0answers
83 views

SyntaxForm not correctly parsed by FrontEnd

When using TagBox with SyntaxForm, I noticed sometimes it is not well parsed by the ...
0
votes
0answers
23 views

Programmatically control notebook resize area

How might I programmatically control the notebook resize area? In particular, I want to be able to execute "Restore Down" when the window is maximized.
3
votes
1answer
175 views

Mathematica takes too long to solve this

I have the following system of equations: ...
2
votes
0answers
95 views

How do I write “such that” in mathematica? [closed]

I have a mathematical statement as follows : Tri := {(t1,t2): t1,t2>=0,t1+t2<=1} How can I tell Mathematica that I need to define vectors (t1,t2) 'such ...
0
votes
0answers
33 views

Retrieve style definitions [duplicate]

How can I retrieve the style definitions of a certain style within a cell, notebook or stylesheet? For example how can I retrieve the FontColor and ...
2
votes
2answers
111 views

Text to speech in notebooks?

Mac OS, MMA 10 -- I accidentally discovered that typing CtrlV between cells reads out the cell below, or, if you have text selected, reads out the text. CtrlV would be Edit > Paste on Windows, so ...
0
votes
0answers
32 views

How to modify MagnificationPopUp menu values in notebooks [duplicate]

The default options in a MagnificationPopUp menu (50, 75, 50, 100, 125, 200, 300) are sometimes not sufficient to meet all user's needs. This may have more applicability when creating user ...
3
votes
1answer
138 views

Triangle that collapse cells

I'm not very good in English , so is hard to explain but how put the triangle in the left that deploy or collapse a group of cells ?
1
vote
1answer
56 views

Get rid of “Testing Notebook” toolbar

I was messing around with different styles and tried the MUnit style. I converted back to Standard Report but I still see the toolbar for testing notebook. Is there a way to get rid of it?
3
votes
1answer
427 views

Why isn't autosave enabled by default?

While I've come across several ways to implement/enable autosave (see: Is there a notebook autosave frequency configuration?, Saving my code before cell evaluations: Insurance against front end ...
4
votes
0answers
120 views

Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors

I have found that attempting to Save Selection As... in a magnified Notebook fails with errors. On my system it can be easily reproduced by: opening any documentation page setting Notebook ...
5
votes
1answer
69 views

Custom default ImageSize while allowing inheriting

When displaying graphics in the Mathematica front end, and leaving ImageSize at the default, the result will always keep its previous size. For example, ...
6
votes
1answer
132 views

Replace content of selected cells, each getting different new content

Let's say I select 2 different cells and then attempt to replace their content using NotebookWrite inside a button. How might I replace each cell's content ...