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)

5
votes
1answer
42 views

Multiple documentation notebooks open at the same time

Is it possible to view multiple documentation notebooks at the same time without launching multiple kernels? I'm sure it must be possible.
0
votes
1answer
32 views

Modifying a spacing of cells and background of a notebook

A simple question: How do I reduce this spacing and how to change the background? I think it is in the Options Inspector, but I cannot find the exact location to make the modification. As for the ...
1
vote
1answer
52 views

Deleting duplicate cells from notebook

I need to delete all duplicate cells in my notebook, keeping just one occurrence of each pair (or tuple). No need to choose which to keep. Is there a (simple) way to do it?
1
vote
1answer
62 views

Brackets of matrices don't size

I have a simple question. Switching from v9 to v10 I find that the brackets of matrices in text and input cells don't fit the size of the matrix, they are just small ordinary brackets. There must be ...
1
vote
0answers
45 views

Adding a link to notebook 2 in a notebook 1 [closed]

How to add a link to open a notebook2 with any name in a notebook1 I tried with Hyperlink without success.
2
votes
1answer
41 views

How to have vanishing cell bracket for all notebook

I know that it is possible to make the cell brackets appear only when the mouse is upon them but I do not know how to do that. Of course for one cell it is shown in the documentation but not for an ...
0
votes
0answers
34 views

Inserting Mathematical evaluation in text

I just have discovered that it was possible to incorporate calculation in a cell text with hilighting the formula and typping Ctrl + Shilt + Enter. Ok, but in the particular following case the output ...
9
votes
1answer
146 views

Collect all inputs from Documentation Center

Is it possible to collect all inputs programmatically from every function in the Documentation Center in a list and wrap them in a HoldComplete? My case: With some ...
-4
votes
1answer
43 views

I want to run 5 different simulation cases over an entire Mathematica Workbook?

I want to loop over the case numbers, so run cases 1 -5 without manually changing. caseNumber = 1; Which[caseNumber == 1, dataString = "Jan", caseNumber == 2, dataString = "Feb", caseNumber == 3, ...
1
vote
1answer
111 views

How to transfer a notebook with imported data to another computer?

I've been working on a notebook at home with imported data from some Excel files and plan on working on it on another computer. I have the .nb file and the .xls files, and my imported data is a ...
1
vote
0answers
58 views

How to place window on second screen?

I am trying to open a window on a second screen (a thunderbolt display attached to a macbook pro) that is the full size of the second screen. Here is the command I use: ...
3
votes
2answers
52 views

Find a specific function in several notebooks [duplicate]

I searched several questions in this forum about: How to search a specific function ... For example, I have a folder with several notebooks. And several of these notebooks, I used, for instance, <...
0
votes
1answer
45 views

Working with WolframCloud

I'm using WolframCloud from my smartphone and I'm having trouble to select all the cells of my notebook to delete them. There is a command that selects all the cells in a notebook? I tried using the ...
3
votes
1answer
57 views

How to wait a Cell in a Notebook to be executed until another Notebook's Cell expressions executed?

I have two Notebooks and I call the second Notebook from the main but main Notebook's expressions continue executing. I want them to wait until the second Notebook's expressions execution is finished! ...
0
votes
0answers
32 views

The problem encounterend while calling a sub notebook from the main notebook

I have two notebooks; one of them is the main notebook which will call the second notebook several times in a loop and inside this loop, matrix called as ALLB, defined in the main notebook, will get ...
3
votes
1answer
70 views

Can I get a list of more than fifteen of the most recent notebooks opened?

When I go to the pull-down options for “File”, one of them is “Open Recent”. It lists the last 15 notebooks opened. Is their any procedure to follow to get more (than 15) of the latest opened ...
15
votes
0answers
130 views

Any manual on cell grouping management?

Recently I come back to the problem of cell grouping and performed extensive search on this site and on MathGroup archive for information on how to use the possible values of the ...
6
votes
1answer
80 views

Testing Framework applications in the FrontEnd area

I understand that user interaction with GUI can't be tested automatically but some things can be tested using low-level notebook programming functions. Are there any guidelines or limitations of using ...
9
votes
3answers
129 views

questions with hidden but revealable hints and answers

I would like to create a notebook with questions that have attached hints and answers. The hints and answers should be hidden, but the display should clearly indicate (e.g., with a button) that each ...
1
vote
0answers
22 views

Print SlideShow

I have a notebook as SlideShow with a cell containing graphics and formatted text as a DockedCell. Now I want to print the notebook WITH the docked cell, maybe one slide per page. How could this be ...
0
votes
1answer
56 views

How to modify a file opened by NotebookOpen [closed]

I need to run a file several times, each time with a different value for a certain variable. I use the following script to automate the process, but I have no idea how to make changes in the file ...
3
votes
2answers
96 views

Locate code in a notebook

A situation of using notebooks that always puzzles me is when you want to point out a certain "code block" with your collaborators: since the notebook is not organised in a pure text format, the code ...
7
votes
2answers
98 views

How to open and explore the codes of the system Palettes files

The built in Palettes of Mathematica are simply .nb files which can be found in the following place: ...
10
votes
0answers
69 views

Issue with undo after copying a string inside a string

Bug introduced in 10.0 and persisting through 10.4.1 or later Here's a small but annoying issue related to undo and copying of strings. Steps required to get the problem: Type ...
0
votes
0answers
29 views

Mathematica does not responding [duplicate]

These days, when I opened mathematica 10.4 in Windows 10, I even cannot type three characters, and it stucks. Yes, every time when I type the third number or character, it stops. I found that, even, I ...
1
vote
0answers
42 views

Stop front-end from auto-scrolling notebook to show output [closed]

I have made a simple "percent complete" output to track my For loop, where I incrementally print values and then delete the output right before printing the next ...
0
votes
1answer
47 views

Module, block or whatever to scope variables without explicitly listing them? [duplicate]

In larger notebooks I have often trouble with conflicting variable names. To combat this there are Modules and blocks. But with those you always have to list the variables you are using. I don't ...
7
votes
1answer
106 views

How to convert arbitrary raw boxes directly into String?

This question is motivated by the recent question about searching inside of the NB files. According to the Documentation, ToString expects a high-level WL ...
7
votes
4answers
197 views

Searching a phrase in all *.nb files

I have so many *.nb files in a folder. In one of them I have written a phrase, unfortunately I cannot remember that file. I am searching about it and the file in ...
1
vote
2answers
176 views

Save as PDF without cell numbers

I want to save a notebook file as PDF, but without cell numbers. For instance, take this document, then select “save as PDF” and the result is, How can I remove the cell numbers ...
2
votes
0answers
66 views

Find and Replace in Notebook using a Pattern [closed]

I would love to be able to use the power of Mathematica's patterns to find and replace within my code. I have searched for this on google, and so far I've come up with this: http://reference.wolfram....
0
votes
1answer
50 views
4
votes
2answers
201 views

Running Mathematica Notebook files in command mode

The question is, how can I run a .nb file in the kernel mode of Mathematica? I am not an expert in Mathematica, but one of our users who use this program says that ...
3
votes
1answer
56 views

How to use CounterFunction to paginate with roman numerals

I want to paginate some pages with roman page numbers. The documentation says it is possible with CounterFunction[] - presumably to use with ...
8
votes
2answers
111 views

Why a function returns two different values if copied into a Notebook or imported with Get from a Wolfram Mathematica Package?

I have some Mathematica code that shows a behaviour I really cannot understand. The code only contains a bunch of function definitions. If I paste it in the Notebook Front End and I evaluate it, I ...
1
vote
1answer
82 views

How insert hyperlink to file with relative path?

Into a text cell of my current (previously saved) notebook, I want to place a hyperlink to a particular file target.html in a particular subdirectory ...
4
votes
0answers
25 views

How to get the output of running mathematica after loosing the interface? [closed]

I was running a mathematica code in cluster using notebook interface by remote login. Suddenly, the internet got down and I lost the connection. Also the notebook interface is lost. After getting the ...
5
votes
1answer
95 views

How to get “one Cell - one line” code format inside of NB files?

The PageWidth option controls the way the Cell's content is displayed, not the manner it's written in a ...
14
votes
4answers
398 views

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 ...
8
votes
2answers
87 views

Reading Cells or Boxes expression by expression

Let's say we have a cell: (*newline*) (*newline*) Plot[ x, {x, 0, 1} ] (*newline*) Plot[x, {x, 0, 2}] How to read it expression by expression? ...
1
vote
1answer
57 views

Input in Manipulate

Plot[Evaluate[ Input["Please input a function of x to plot with one parameter \ \[Alpha] to manipulate"]], {x, 0, 1}] This work without doubt. But ...
5
votes
1answer
78 views

How can I make an invisible Cell?

Notebooks have a Visible option, but Cell // Options doesn't mention any equivalent for <...
2
votes
1answer
68 views

Prevent evaluation after ToExpression

How can I produce both typesetting and evaluation of a LaTeX expression? Illustrative example: The evaluation of HoldForm[Sqrt[2.0]] == Sqrt[2.0] looks ok (aside ...
4
votes
1answer
58 views

To embed metadata in a notebook, keeping them both human readable and easily parsable

I' m trying to set up a gizmo to manage the large notebooks collection, in my Mathematica workspace. The main idea is to embed indexing metadata in each notebook and manage them by means of function ...
10
votes
1answer
127 views

Creating Saveable->False notebooks

Bug introduced in 10.3 or earlier and persisting through 10.4.1 Reproduced on Windows 7, 10 Bug confirmed by WRI: [...] It does appear that the Saveable Notebook Option on Windows is not ...
3
votes
0answers
36 views

How can I set notebook's options without opening it?

At present moment, to batch apply a change in a set of notebook I use a "brute force", rough, method: ...
2
votes
1answer
54 views

Export of all notebook files as text files

I want to export all my notebook files located in a root directory as text files. Below is a simple code that I use. Ho can I export "only" the necessary text content of each notebook file? ...
3
votes
1answer
38 views

Show In/Out names in some notebooks but not others?

I often have a working notebook and a "publication notebook". Figures and results are copied to the publication notebook to which explanatory text is added. The publication notebook can then be saved ...
4
votes
1answer
69 views

How to preview the notebook file in a file explorer just like the preview of pdf file

I use Mathematica for daliy small program and visualization, so I have many samll notebook files. I use long file name to tag and distinguish these files, but sometimes I use short file name (maybe ...
4
votes
1answer
91 views

Is there a global setting for Mathematica's base fonts?

I want to customize my Mathematica front end to specify the default monospace, serif, and sans-serif fonts; disable scaling and anti-aliasing on bitmapped fonts. Regarding (1), by far, I'm most ...