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.
7
votes
2answers
81 views
Substituting confidential tagged cells by a “content removed” cell
When producing a notebook with both code and text, I often end up with pieces of code, or even entire chapters, that I don't want to be shown on the final output.
I generally hide or close them by ...
2
votes
0answers
78 views
“automated” image embedding app
Based on the following image attach procedure, can a Dynamic app be developed that:
at start, only shows a small import button
once clicked, opens a choose image ...
7
votes
0answers
306 views
How can I export aligned equations to $\LaTeX$?
Using Palettes -> Writing Assistant -> Math Cells, you can enter aligned equations such as:
...
6
votes
1answer
217 views
Indenting bulleted lists in Notebooks
I currently use Word for notes, making nested bulleted lists as I go. I've just started using Mathematica and would like to do the same in its Notebooks, but it doesn't look like it has that ...
0
votes
2answers
412 views
How can I delete cells with error messages?
I'm new to Mathematica and am unfamiliar with the notebook interface. I haven't been able to delete cells with error messages.
For example, when I try to ask Mathematica to compute something, it ...
7
votes
1answer
121 views
Determine page count programmatically [duplicate]
Possible Duplicate:
Generating a table of contents
By selecting File > Printing Settings > Headers and Footers from the menu, I am able to enter << Total Pages >> to print the total ...
0
votes
1answer
79 views
Importing RSS to Notebook: How to get images instead of long ugly links?
This question on importing news headlines via a RSS feed reminded me of an old question I've been meaning to ask.
Past attempts at finding a use for Mathematica's RSS to Notebook capabilities were ...
0
votes
0answers
49 views
Split panes to compare a single notebook's code & aid navigation & usability [duplicate]
Possible Duplicate:
Open two copies of the same notebook
As my question on docking palettes had a workable solution, I thought I'd ask another from the Meta discussion: A wishlist for ...
0
votes
0answers
164 views
Derivatives in scripts [closed]
I have consistently been harrowed by this tiny issue.
When I Try to run my Mathematica script, I get this error message:
...
2
votes
1answer
117 views
How to make a notebook that will be window maximized when open?
I use
CreateDocument[cells, opts]
to create a notebook. When the notebook is open, it has a small default windows size and I need to manually maximize it every ...
8
votes
0answers
106 views
Is there a convenient/automatic way of uploading a notebook into SE?
This post discusses how to streamline the other way - extracting code from a fragmented and longish SE answer but I imagine a two-way workflow like:
Fashion an answer/question in an SE-templated ...
8
votes
1answer
189 views
How do you insert more columns into Table cells?
How do you insert more columns into Table cells as shown below?
To get to this table, go to File -> New -> Styled Notebook -> Textbook -> New -> Scroll down to the Table Cells.
4
votes
1answer
120 views
Tweaking Prime[n] to return 1 when n==0
I manually evaluate this cell to set Prime[0]
Unprotect[Prime]
Prime[0] = 1
Protect[Prime]
I manually evaluate this cell to reset Prime[0]
...
24
votes
2answers
574 views
Good ways to organize and document collections of mathematica notebooks?
I've now been using Mathematica for about a year, and am starting to get a somewhat unwieldy collection of notebooks. Sometimes I've figured out how to do a particular task in one of them, and want ...
13
votes
2answers
461 views
Is it possible to embed the Mathematica editor?
Is it possible to embed a Mathematica window into a .NET application? I mean not just the interop, but actually making the notebook editor window part of a .NET form. Is this possible?
6
votes
2answers
171 views
How to see the 'source code' of DockedCells? ALT: How to 'show expression' of DockedCell?
Here is a CDF file with the dockedcells toolbar (at the top). I'm trying to see how he created and positioned the logo, the formatting buttons, table of contents, etc, through a source code of it, but ...
20
votes
1answer
309 views
Open two copies of the same notebook
Is there a way to open one notebook in two (or more) different windows? This can be helpful when working with a long notebook and one wants to edit one part of it while looking at a different part. ...
6
votes
0answers
73 views
Clear Citation Style Cache
How can I clear the "Citation Styles Cache" created when you use the EndNote citation management feature for the first time in Mathematica. The Citation Management tutorial indicates that such a ...
2
votes
2answers
120 views
Evaluation of Notebook chosen by FileNameSetter
Please consider the following:
I have created a GUI where I can choose the path of a notebook (which I need for later calculation) via
...
16
votes
3answers
324 views
How to get complete Documentation Center graph of guide pages?
On the very last image below you can see a typical path of walking through Documentation Center guide pages. What is the best way to get the graph data and visualize the whole structure of these ...
2
votes
2answers
180 views
Creating a “Live” Index Notebook --to load other Notebooks
I am new here, so let me know if this question is inappropriate. I've been stuck for many hours on this puzzle. I know it should be easy, but for me...?
I want to create a Notebook (call it "Index ...
10
votes
1answer
227 views
Is it possible to colorize brackets in the notebook editor to see matches more easily?
I've seen that if I click on a square bracket [, I can then use "Check Balance" in the right click menu to see where the matching bracket is.
Is there a way to see ...
16
votes
1answer
219 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 ...
24
votes
1answer
305 views
Tool to locate bloat in a notebook?
In developing a notebook, I often find I have created a very boated file that takes a long time to save. I would like to slim it down. It is usually the result of graphics and images, but they may be ...
3
votes
3answers
92 views
In Grid and using Frame, how can I only frame the header cells?
Suppose that I use Grid to display a table tab. I did the following, which frames all cells:
...
4
votes
1answer
91 views
How do I force columns in a Grid to be equally spaced?
Suppose that I have this table tab, which I display using Grid. Is it possible to force the columns to be equally spaced? All ...
6
votes
2answers
161 views
Prevent text from wrapping in a notebook
By default in the Notebook interface the text wraps.
Is it possible to prevent this wrapping?
5
votes
1answer
262 views
Security of Mathematica Demonstrations
Apologies if this is overly paranoid.
I recently discovered the Wolfram Demonstrations Project and intend to play with them to understand some of the power of Mathematica.
I have one slight concern: ...
8
votes
4answers
205 views
Create horizontal list in notebook
I want to create a multiple choice question paper and list the options horizontally. I am only looking at very simple document with horizontal list. What I want:
What is 1+1?
a) 2 b) 4 c) 3 d) 7
...
11
votes
1answer
200 views
How to make an unremovable modal window?
Is there any way to securely stick a notebook window (e.g. a dialog) on screen that it cannot be closed/removed/hidden by any of the standard OS shortcuts, like AltF4 or AltTab under Windows? The ...
7
votes
1answer
133 views
Inlining calculations in a notebook
Context
In $\LaTeX$, I can write something like:
Thus, we have $x = \sqrt{2}$, ...
the $ ... $, as opposed to $$ ... $$, inline the LaTeX symbols.
Now, with ...
6
votes
1answer
99 views
When are EvaluationNotebook[] and ButtonNotebook[] different?
I am looking for a concrete code example where EvaluationNotebook[] and ButtonNotebook[] will return different results.
The ...
5
votes
4answers
123 views
Dialog inside dialog not DialogReturn-ing properly
How can I prevent the DialogInput from failing (or returning early) as soon as I close the "Close this" dialog?
...
7
votes
1answer
191 views
Customizing the Screen Environment
Is it possible to make Mathematica notebooks as stylish as this below with custom backgrounds and predictive text coloring? As shown in the snippet below? And possibly have the option to save the ...
10
votes
2answers
345 views
Is it possible to insert an animated image into Mathematica notebook?
I find it very convenient to use Mathematica notebooks to organise the codes + results.
I was wondering if it is possible to insert an animated image (say an animated gif) in the middle of a ...
12
votes
1answer
283 views
CDF, Player, PlayerPro, or something else?
I have a notebook, which contains a dozen or so custom functions all leading to the production of a simple static report, something like this:
I want to distribute this to a single user who will ...
17
votes
2answers
339 views
When to make (file.nb) instead of (file.cdf)?
I started with File > New > FreeCDF so I can save my work in a format compatible with the CDF Player. I can use Mathematica to make new cells, evaluate input and so in the CDF file. What are the ...
3
votes
3answers
155 views
Subscripts in programatically generated section headers
Consider the following command:
TextCell["\!\(\*SubscriptBox[\(H\), \(2\)]\)", "Section"]
How can I display the string as section header and get the DisplayForm? ...
6
votes
2answers
304 views
Building documentation with interactive examples in Wolfram Mathematica
There are interactive examples in the documentation in Wolfram Mathematica. Thus to compile them we just need Shift+Enter. I want to develop such examples for functions from my own package, how can I ...
16
votes
1answer
329 views
NotebookFind and String Pattern Expressions
Is there a way that NotebookFind can be used to match string pattern expressions rather than just strings?
The documentation for ...
4
votes
1answer
132 views
Searching Notebooks for String Patterns using Workbench v2
The Workbench webpage describing new features in version 2 lists the ability to "Search notebook documents with the Mathematica pattern search utility" under the heading Mathematica Front End ...
8
votes
1answer
133 views
Accessing the Options of the parent Cell
From within the Kernel, it is possible to access a Cell's options using CurrentValue. For instance, in a ...
0
votes
1answer
169 views
Graphics copy paste
Background. I have a function ( stored in a package ) that creates 2D graphic images, its prototype looks like this:
...
7
votes
1answer
174 views
Setting up TextStyle with initialization cells in Mathematica 6+
It used to be quite straightforward to change the default settings of a notebook in terms of inputs, outputs, text styles and font sizes in previous versions of Mathematica using initialization cells ...
3
votes
2answers
409 views
Quickly editing the stylesheet and saving it
I have a private stylesheet I'm using. I edit it by going to the menu Edit->Edit Stylesheet and then clicking on the private stylesheet cell. I can modify whatever I want but it never gets saved.
The ...
9
votes
1answer
172 views
How to create a notebook element that can replace itself?
I would like to create a notebook element that can replace itself.
Here's an example to illustrate:
...
7
votes
3answers
120 views
How to avoid spaces between numbers when displaying TagBox(es)
The instruction :
DisplayForm[RowBox[List[0,1,Superscript[2,3],Superscript[1,2],a]]]
displays a gap between the first two items of the list
but if one is ...
3
votes
1answer
230 views
Option to change cursor/caret shape
While editing on a Mathematica notebook, I often find myself needing to do something else outside of Mathematica for a few hours. After finishing such outside tasks, I resume to work on the notebook.
...
8
votes
1answer
517 views
Relative paths for portable notebooks in Mathematica
I cannot find how to use relative paths in Mathematica. My directory structure is simple.
...
20
votes
4answers
648 views
Saving data inside a notebook so that I don't have to run it again?
Piggybacking on this, I am somehow not fully convinced that I can't save data generated by a calculation in a mathematica file so that when I re-launch said file, I wouldn't have to run my ...

