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.
6
votes
2answers
215 views
How do I get the equivalent of the $\LaTeX$ \tag{} in Mathematica?
How do I get the equivalent of the $\LaTeX$ \tag{} in Mathematica?
$a+b=x \tag{1}$
I'm not necessarily asking how to use the $\LaTeX$ \tag{} itself in ...
2
votes
1answer
102 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 ...
1
vote
0answers
285 views
How to fix corrupted notebooks? [closed]
How to fix this error? Here is the error message:
"There appears to be an error in the file named below. You should close it without saving, then check the "Parse and load entire notebook into memory ...
6
votes
1answer
110 views
How to edit a HYPERLINK once created inside a notebook?
When a hyperlink is created in a notebook, there does not seem to be an easy way to actually edit the hyperlink (maybe to correct the URL).
To make some text HYPERLINK, one selects the text using the ...
4
votes
3answers
186 views
More structure in Source Code/Notebooks
Mathematica is great for small and quick projects and has a great syntax. However as soon as a project grows I run into trouble. How do you scale and maintain projects in Mathematica? What is beyond ...
7
votes
2answers
135 views
Save notebook without including Front End version information
How can a notebook be saved without including the front end version?
If you open a .nb file, you'll see something like
...
5
votes
0answers
88 views
Embed a Microsoft RichEdit 8 control in a Mathematica notebook using .NETLink?
Does anyone know whether or not it's possible to embed a RichEdit 8 control within a Mathematica Notebook using .NETLink?
The goal here would be able to both view and edit mathematical text typeset ...
2
votes
2answers
89 views
How do I make Mathematica copy a cell after I re-evaluate it?
When I edit a cell in the notebook and re-evaluate it, it "overwrites" the input and the output of the previous edit. I want it to copy my edited version to the bottom or something and give me a ...
3
votes
0answers
117 views
Notebook function formatting
I've recently started a course in which I am learning how to solve different problems using Mathematica. A large part of the course covers creating your own functions. The thing is I don't like how my ...
5
votes
3answers
212 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 ...
4
votes
1answer
91 views
how to select all cells with specific property such as the ones that are closed
I have to close many cells each time before I export a notebook to HTML since I do not want to display many code cells and other cells.
I select each cell one by one, and do ...
8
votes
3answers
201 views
Quickly display a color graphically
When manipulating colors, the output is shown as a textual expression like Hue[1/5], RGBColor[2/3, 1, 1/3], ...
0
votes
1answer
72 views
Move selection to next Output and export to CDF
In my quest to a custom "Save as HTML" (please see context here) I am now able to iterate through the notebook, grab Input cells decorated with a CellTag that, by convention, is going to be a file ...
8
votes
3answers
317 views
How can I type left (sub)superscript?
I want to type in my variable next to its plot and I'm typing the text in using Inset. However my variable has superscripts to the left. Say it looks like this:
$ ...
9
votes
3answers
182 views
Typeset unbalanced brackets
In LaTeX, you can typeset expressions containing unbalanced brackets, by balancing them with an invisible delimiter \left. or ...
3
votes
1answer
164 views
Can Mathematica check spelling during typing?
I can't see a way to get Mathematica to check my spelling as I type. Is this feature not supported? I've done everything I can think of with my options:
Is there a setting I'm missing?
6
votes
3answers
172 views
Keep palette visible when Mathematica application loses focus
When the Mathematica application loses focus, palette windows disappear (normal notebooks and dialogs (CreateDialog) stay). This is usually convenient because the ...
5
votes
3answers
186 views
How to effectively diff a notebook?
How to effectively diff a notebook with another version of it? This is usually needed/encountered in revision control, but can be generally useful. What i currently do is disable notebook history, ...
10
votes
2answers
166 views
How can I access a variable in one evaluator from another evaluator?
I have two notebooks, each with a different kernel. Is there a way to grab the value of a variable in KernelA from KernelB?
10
votes
0answers
218 views
Publishing a Mathematica notebook
I am considering publishing a Mathematica notebook, used for analysis of some data, as a “supporting information” file alongside a research paper. What are the common practices for doing so, and what ...
5
votes
2answers
186 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 ...
2
votes
2answers
130 views
Is there a way to “lock” some cells in a notebook?
Is there a way to "lock" some cells in a notebook so they can't be edited? It's usually input cell that's documenting some functionality. I'd like other readers of the notebook to be able to execute ...
0
votes
0answers
58 views
How to create a dynamically self-updating table of content for a notebook? [duplicate]
Possible Duplicate:
Generating a table of contents
How to create a dynamically self-updating table of content for a notebook? The TOC should contain the titles for the section, subsection, ...
1
vote
0answers
67 views
Context “Unique to This Notebook” makes variables black even if they're not defined?
I'm trying to use this technique to keep variables separated between different notebooks. It seems to be working fine, except that variables turn black as soon as they are evaluated — any ideas why ...
5
votes
1answer
126 views
Reading Early Version Notebooks
I have some very old Mathematica notebooks file (.m) files from Version 2. When I try to open them using Mathematica 8.0 (on a Linux system) Mathematica instantly shuts down (no error message - just ...
3
votes
1answer
75 views
automatically add Global` to $ContextPath for all notebooks when using CellContext->Notebook
I have some definitions in my init.m. E.g. my init.m contains this:
...
0
votes
0answers
95 views
Bug: Notebook changes its name by itself and loses information in closed cells [closed]
I encountered an annoying bug (Mathematica 8.04 for Mac).
The notebook changes its name to "Untitled-1" and all the closed cells lose its information. Then I have to close it and open the last saved ...
5
votes
1answer
280 views
Excel-like UI in Mathematica
This is NOT about importing/exporting Excel data to/from Mathematica.
This is purely a UI question.
The Mathematica notebook interface is very "linear" — I type in an input cell and Mathematica ...
3
votes
2answers
172 views
Page breaks appearing as thick line on actual print-out
I'm using Insert->Page Break to do just that, but thick black lines are appearing on the actual printed copy wherever I indicated a break. Can this be turned off?
9
votes
1answer
116 views
How to make certain mathematical characters be written as bold by default
In a notebook, when writing \[RightVector] over a variable I always end up bolding it to make it more visible. But it'd be easier if it could be set up to bold that ...
7
votes
1answer
428 views
How to add more levels to Outline notebooks
The Outline stylesheet only seems to cover 6 levels of depth. Is there any way to increase that?
Here's an example. Hitting tab on the last level just indents its content, but doesn't add another ...
3
votes
0answers
71 views
Sometimes notation gets auto-converted from traditional to raw input and won't convert back
For example, I'm typing this:
When upon hitting the last character it gets converted to:
And trying to Convert To TraditionalForm has no effect. This glitch has happened a few times and on ...
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
2answers
234 views
Attaching a file to a notebook
Is there a way to attach a file into a notebook and open it later with, for instance, a double click (or another action button)?
In Mathematica windows version, the insert menu has the "object..." ...
6
votes
0answers
305 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
211 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 ...
24
votes
5answers
1k views
Can the banner in the Home Edition be removed?
The Mathematica Home Edition shows a banner at the top of every notebook:
Is there a way to (permanently) get rid of it, without violating the EULA?
Edit
Yesterday, I sent this message to WRI ...
14
votes
3answers
457 views
Are there suitable versioning systems for Mathematica notebooks?
I am considering a project using Mathematica and openCL. I know that the openCL C source code can be tracked.
Has anyone used a versioning site or software so multiple developers can modify a common ...
7
votes
1answer
118 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
77 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 ...
11
votes
1answer
247 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)?
0
votes
2answers
403 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 ...
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 ...
7
votes
1answer
205 views
How to suppress undesirable kerning rules in math inline cells?
Update: (11/29/2012) Looks like Mathematica 9 has the same behavior.
The following graphic shows how Mathematica kerns italic characters in an inline math formula cell (first row) where an ...
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 ...
3
votes
3answers
253 views
Is it possible to typeset left and right angle brackets?
I would like to typeset the following in a Mathematica notebook:
$$\langle P \rangle$$
Is it possible to typeset left and right angle brackets? In $\LaTeX$, they are given by ...
3
votes
1answer
148 views
Mathematica 8 and window names for modified files
I do not know if this is particular to Mac OS, but with version 8, the window name of a notebook no longer changes (with an appended *) when it is modified, as it used to do with version 7 (as well as ...




