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)

2
votes
0answers
56 views

Is there a notebook to create entries for OEIS?

Is there a notebook to create entries for OEIS? I seem to recall something like this a few years ago, but I haven't been able to find one. It might be from MathWorld. Any suggestions? Edit If I had ...
2
votes
0answers
82 views

Mathematica shift-enter problem

Would really appreciate if someone can help with this problem: When I first open a Mathematica note book, say you do 1+2 and press shift-enter. As expected, I get "3" as the output. Now suppose you ...
0
votes
1answer
64 views
3
votes
2answers
145 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
1
vote
1answer
46 views

Programmatically selecting non adjacent Cells

One can of course Ctrl + MouseClick to select 1st and 3rd cell. But how to select non adjacent Cells programmatically? I was looking for neat examples here or in ...
2
votes
1answer
77 views

How can I make new outline cells be created above the current cell on return?

When you hit enter inside an item styled cell (e.g. Cell["", "Outline1"]), a new cell of the same type is created underneath the cell you are currently editing. ...
2
votes
2answers
51 views

How to programatically set options for a selected word?

I want to create a palette with buttons and have it apply to the selected word. No matter what combination I try it always applies it to the entire cell. Imagine that in the sentence: ...
0
votes
0answers
30 views

When printing a notebook in Mathematica 10, code sections do not wrap

I have a Mathematica 10 notebook where I am using code sections. The text in the code section does not wrap when printing. Is there a setting that I should use to allow the code to wrap?
2
votes
1answer
70 views

How to mimic Org-Mode with cell dingbats?

I love using org-mode to organize my to-do lists, the functionality is amazing, but it suffers from being stuck inside the emacs terminal... I'm hoping to replicate some basic features into a ...
4
votes
0answers
109 views

How to write markdown with Mathematica?

Usually I typeset with Latex and Compute with Mathematica and then copy the outputs as Latex code and insert them in Latex, so I have to switch between Latex and Mathematica frequently. Thanks to the ...
4
votes
1answer
126 views

How can you resize all the images in a notebook section?

I've pasted a large number of photos and they are too big which makes scrolling hard. Is there a way to automatically have mathematica size them to 10% or something reasonable without have to click on ...
4
votes
1answer
70 views

Getting the Box of a Button

I have a useful snippet of code that I use for anything in my Notebook that takes a while to execute and doesn't need to be executed for subsequent cells: ...
2
votes
1answer
80 views

How to dynamically filter cells in a notebook?

I have a notebook in outline form and a docked cell with a TextField[] for searching. I'd hide and show cells in a notebook to filter the cells based on the search string (any maybe type of cell and ...
0
votes
0answers
29 views

Possible bug in shallow representations of expressions in messages

I got the following message in Mathematica 10.0.2: I do not have questions about the message itself, but rather about its representation. The program was maninulating with mathematical expressions ...
0
votes
1answer
43 views

Issue with integration from 0 to infinity with constants [closed]

I am trying to take the integration for $\int_0^{+\infty}e^{-\alpha t}sin(\beta t)d t$. Here is a screen shot of what I did: The solution to this integeation should be ...
3
votes
1answer
107 views

How to execute a notebook in background

I am developing an algorithm that take time to return results. I thought if I could run this notebook in background and continue to develop the rest of my work. It is possible to do that?
0
votes
1answer
86 views

My matematica notebook dosen't work,its bring syntax error ,why?

i have many matematica notebooks and all of them are working clearly besides one which is the most important for me.There is my whole project.Please someone help me.What should i do???
5
votes
2answers
321 views

Adjusting size and positioning of math notation in a Mathematica notebook? [duplicate]

Writing mathematics in a notebook is OK, but consider the following image: In LaTeX, I can write: $$y^2=\frac{1+2\sin^{-1}x}{2}$$ which displays as: ...
2
votes
1answer
26 views

Setting Page Scale [duplicate]

When a notebook opens in Mathematica, the lower right corner allows me to set a percentage for the page, 150% being my preference for my old eyes. Is there a way to set all pages, including help ...
1
vote
1answer
36 views

Specify format to NotebookSave

When I save a Mathematica notebook using the front-end Save dialog, I can specify the format: However, the documentation for the NotebookSave command indicates ...
2
votes
2answers
117 views

Adding NotebookDirectory to $Path when notebook opens

I'm trying to get relative notebook paths work without evaluating $Path = Append[$Path, NotebookDirectory[]]; each time I open a notebook. A bonus would be to keep ...
9
votes
2answers
151 views

What are the purposes of functions in FrontEnd` context which are duplicates of those in System`?

I noticed that for notebook-related heads, there are usually a pair of same functions, one in System context, another in ...
6
votes
2answers
464 views

How Can Notebook Know When it Called by Another Notebook?

I would like a notebook to behave slightly differently depending on whether it is evaluated from another notebook; i.e., ...
2
votes
1answer
95 views

Mathematica notebook is corrupt

Well great, I had some work done (though it wasn't much, it was just laid out nicely) in a cdf file. My computer decided to shut down on my randomly while I was working on it (some kind of error). I ...
2
votes
1answer
85 views

Executing Multiple Notebooks at Once

I wish to run a few notebooks (with distinct contexts) at once using MMA 10 on Windows 8.1. I wish to run at least one of the notebooks interactively, adding and executing lines of code. If another ...
4
votes
1answer
278 views

“Choose how to enter input” - leave me alone

How to get rid of: I can't find the appriopriate entry in Option Inspector or in WolframPredictiveInterface
0
votes
0answers
38 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, ...
1
vote
1answer
60 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
2answers
62 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 ...
4
votes
2answers
80 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
99 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
52 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
43 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 ...
1
vote
1answer
61 views

AutoGeneratedPackage Formatting

If you do Ctrl+Shift+o you open an option inspector. And then you can enable ...
2
votes
1answer
56 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
122 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?
5
votes
1answer
92 views

Notebook's WindowSize interference with contents' Dynamic ImageSizes

Consider the following MWE: ...
3
votes
2answers
118 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
94 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 ...
0
votes
1answer
37 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 ...
4
votes
1answer
69 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 ...
0
votes
0answers
47 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 ...
8
votes
3answers
92 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 ...
7
votes
1answer
114 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
48 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
239 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
306 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 ...
0
votes
0answers
33 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 ...
1
vote
0answers
86 views

SyntaxForm not correctly parsed by FrontEnd

When using TagBox with SyntaxForm, I noticed sometimes it is not well parsed by the ...