Questions tagged [notebooks]

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.

Notebooks (*.nb, *.ma in earlier versions) are structured interactive documents produced by Mathematica that can contain text, (animated) graphics, sound, calculations, typeset expressions, and user interface elements. They are expressions themselves, and are represented in the front end as windows (e.g. editable notebook windows or dialog windows).

Questions about editing notebook files (i.e. items in an OS) should use the tag .

Relevant documentation:

1322 questions
40
votes
3 answers

How to set default magnification for all windows

This is certainly a newbie question but I could not find the answer by searching. I am using Mathematica 8 under Windows 7. I want to use default magnification of 150% for all notebooks and help files which I open in Mathematica. At present I have…
user371
36
votes
2 answers

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 to use that again, but have to search through what…
Peeter Joot
  • 6,398
  • 4
  • 36
  • 55
32
votes
3 answers

What are the advantages of using .nb rather than .m files?

I can edit a notebook within the mathematica front end and then Save As a .m file, which produces output like this: (* ::Package:: *) (* ::Section::Closed:: *) (*Preliminaries*) (* ::Input:: *) (*ClearAll["Global`*"]*) (* ::Text:: *) (*Some text…
Ubiquitous
  • 863
  • 2
  • 7
  • 15
27
votes
1 answer

How to restore corrupted files?

I have a file that I can't reopen because MMa was "Not Responding" and I had to shut it down. I found links online to this: http://support.wolfram.com/kb/12423 I executed those two instructions in a new notebook, but no "NotebookRestore dialogue"…
Jerry Guern
  • 4,602
  • 18
  • 47
27
votes
2 answers

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..." entry and I can indeed embed an object into my…
P. Fonseca
  • 6,665
  • 2
  • 28
  • 60
25
votes
3 answers

How to find pieces of code responsible for syntax errors?

Especially: How to find the piece of code responsible for a missing parenthesis problem caused by a misplaced SuperScriptBox For last 30 minutes (and I was lucky today, sometimes I spend 5 times as much time) I have been removing code little by…
Nasser
  • 143,286
  • 11
  • 154
  • 359
22
votes
3 answers

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, use less styling, and diff them as text files.
user13253
  • 8,666
  • 2
  • 42
  • 65
18
votes
1 answer

my Mathematica has turned orange and not able to find out why

I do not know what happened. But when I rebooted my PC, now Mathematica comes up orange colored. I shut down the PC and tried again, it is still orange. Here is screen shot: I also did a reset. Holding down the ctrl-shift key. And it is still…
Nasser
  • 143,286
  • 11
  • 154
  • 359
18
votes
0 answers

How to keep the ctrl+shift+k help menu remain in display while typing?

In Mathematica 9, one can type ctrl+shift+k to display menu which has all the possible signatures/definitions for the function or command in question. One can select one of those, which is pasted in place, Then the menu disappears right after that.…
Nasser
  • 143,286
  • 11
  • 154
  • 359
17
votes
2 answers

How do I count the most used functions across a set of notebooks?

WolframLanguageData allows us to view the most used functions across several code bases like Wolfram Alpha, the documentation, or Stack Exchange. I was curious about the results for my own collection of notebooks. I have an answer that I'll post…
Michael Hale
  • 2,313
  • 18
  • 20
14
votes
4 answers

Is there a way to make links to functions in a notebook?

Frequently I'm working on a function that's at the top of my notebook in a "functions" section, but I'm looking at the output of it in a lower "body" section of the notebook. When I want to edit the function, I have to scroll all the way to the top,…
YungHummmma
  • 3,042
  • 15
  • 30
12
votes
0 answers

How to use Mathematica in academic paper writing?

The Mathematica notebook is a great avenue for inspiring and realising research ideas. However, I do feel there are several missing jigsaws in the picture of writing academic paper fully in Mathematica: citation management: there is one but in fact…
sunt05
  • 4,367
  • 23
  • 34
12
votes
1 answer

Commands to stop and continue evaluation without Debugger

I would like to stop the evaluation somehwere at a specifiy line in a notebook. Then I could for example check the state of some variables. After that I would like to continue the evaluation from the position where it was stopped. Is this possible…
lio
  • 2,396
  • 13
  • 26
11
votes
1 answer

Why is plot legend unsafe?

It has been fixed in version 10. Every time I open a notebook contains a legend, I get the message warning that it's not safe. The file contains potentially unsafe dynamic content. Why does this happen and how to fix it?
xslittlegrass
  • 27,549
  • 9
  • 97
  • 186
11
votes
1 answer

How do I unlock a Mathematica Notebook?

I downloaded Wolfram's Intro to Mathematica in Notebook format. I like to experiment as I study but you can't edit the notebooks. They are locked for some reason. So I still have to open a work notebook, taking up more room on my small screen, and…
cybervigilante
  • 599
  • 2
  • 7
1
2 3
11 12