Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

When I write my notebooks I usually use English in the text cells. However, in some cases, I need to write in Russian or German. Then the German or Russian text appears underlined. Please find below ...
Alexei Boulbitch's user avatar
5 votes
0 answers
69 views

There's an option in the options inspector to display a timestamp upon evaluation of a cell: Notebook Options → Evaluation Options → EvaluationCompletionAction → AddTimeStamp. That causes the date and ...
Rain's user avatar
  • 768
17 votes
1 answer
625 views

This is more of a community question than an answerable problem. If it's out of bounds I'll be happy to withdraw it. But, one year out, I'm curious as to other WL users' experiences with the ...
Tom Barson's user avatar
0 votes
0 answers
82 views

I'm trying a notebook in 14.3.0 for the first time and trying to select cells for deletion, etc. But whenever I move my cursor to the cell bracket, the scroll bar expands and blocks the pointer from ...
Mark Harder's user avatar
0 votes
0 answers
75 views

I would like to invisibly open a notebook, return the notebook object, use it in subsequent intermediate evaluations within the active overall evaluation, and then close the notebook object at the end ...
Tapiocaweasel's user avatar
4 votes
1 answer
241 views

Tested in $Version (* "14.3.0 for Microsoft Windows (64-bit) (July 8, 2025)" *) The issue can be reproduced in the following manner. First, execute the ...
xzczd's user avatar
  • 71.6k
0 votes
0 answers
44 views

If I have a notebook (in this case its a .wl file, idk if that matters) that I close some cell groups in, and then I close that and open it later, typically the same cells are opened/closed as when I ...
Tapiocaweasel's user avatar
0 votes
0 answers
54 views

I have some code, currently in a notebook, which should produce some output in the same directory as the notebook, for which I am using NotebookDirectory[]. I would ...
Liam Baker's user avatar
1 vote
0 answers
110 views

I lost three days of work because Mathematica doesn't save notebooks to the hard drive unless you change their names. All multiple saving of the notebooks were purely virtual, and when Mathematica ...
stef's user avatar
  • 11
0 votes
0 answers
66 views

I’m using Section and Subsection styles in a Mathematica Notebook to organize code. I want to control whether Input cells under ...
Chin Ching CHAN's user avatar
1 vote
1 answer
173 views

Is there a way to quickly print all of the plots (and nothing else) in a notebook?
Tom's user avatar
  • 11
1 vote
0 answers
65 views

How can one set the default tab-width for code cells and the default cells in a .wl notebook. At the moment, the default is 4. Note: I know this is a basic question, but neither Google, Stack Exchange,...
Gert's user avatar
  • 1,783
5 votes
1 answer
164 views

I would like user-assigned symbols to be colored dark blue instead of black, to distinguish them from built-in symbols. Is this possible? I wasn't able to find any option available for this in the ...
Diffycue's user avatar
  • 1,973
0 votes
1 answer
148 views

I am using mathematica 12.3.1.0 Linux x86 (64bit) When I am writing some script on mathematica notebook, at some random points, the undo function stop tracking of what I have been doing. For example, ...
Tom's user avatar
  • 131
1 vote
1 answer
98 views

Hello I am pretty new to Mathematica, using v 14.1, I usually use it primarily for writing as notes for future reminding how I did certain problems to remind me of understanding it if I had forgotten, ...
Asim's user avatar
  • 152
1 vote
0 answers
86 views

I have a notebook with many sections, subsections and subsubsections. I want to evaluate the notebook or a section but would like to have certain subsections or subsubsections not evaluate. How do I ...
Hugh's user avatar
  • 17.2k
0 votes
0 answers
64 views

When I am working in a very long notebook, the mouse wheel scrolls much faster than it does in a short notebook. This is very annoying because scrolling around gets more and more difficult the longer ...
Ben's user avatar
  • 323
2 votes
0 answers
190 views

I work on Linux OpenSuse Leap 15.6 with Mathematica Apps V12 and V14.2 installed on separate partitions. Scrolling of Mathematica Notebooks in V12 and V14 behave differently. Scrolling in V12 is ...
kbeku beku's user avatar
0 votes
0 answers
41 views

I inadvertently pushed a button(s) and the word Confidential appeared at the top of my notebook window. Then I noticed that I could hide or display the code. I really like this feature but I don't ...
Geoffrey Critzer's user avatar
11 votes
2 answers
622 views

Update 2 It seems that it has been fixed in V. 14.2.1. Update As what Domen mentions in the comment, as well as I have tested it, it seems highly relevant to the option "Code caption language&...
Αλέξανδρος Ζεγγ's user avatar
4 votes
1 answer
334 views

I have 14.2 and I chose macOS stylesheet option from writing assistant. Now the yellow color is not applied anymore in 14.2 The white part of the notebook should be yellow. Does anyone has this issue?
TraceKira's user avatar
  • 439
0 votes
0 answers
32 views

The Mathematica notebook highlights all instances of a symbol while typing. I found a description of this feature on the "Summary of New and Improved Features in 14.1" (link) with: ...
Judson Caskey's user avatar
6 votes
1 answer
90 views

I would like to specify that the next output cell created has the specified CellTag. I want only that cell to have that tag. Ideally I want that tag in addition to ...
Tapiocaweasel's user avatar
2 votes
1 answer
85 views

I'd like to create a keyboard shortcut, say Ctrl+H, that replaces some text XYZ with ...
srossd's user avatar
  • 292
7 votes
0 answers
409 views

I already pay many dollars to openai and other llm vendors every month and I have a separate key for each service. Is there a way to make a side-docked "Assistant Notebook" that does the ...
user5601's user avatar
  • 3,880
1 vote
0 answers
91 views

While working with a notebook an additional blue bar popped up: Don't know how it happens. My Question: How could I remove this "blue bar"? Thanks!
Ulrich Neumann's user avatar
3 votes
1 answer
202 views

I'm running Mathematica 13 on Linux, both at home and at work. I brought a notebook I was working on at home to work, but when I opened it the commands were completely out of place - characters seem ...
Francisco's user avatar
  • 131
1 vote
0 answers
73 views

In an attempt to have a truly dark theme for Mathematica, I am using one of the dark themes, a custom CSS (inspired by this answer) and only a few WindowElements (...
And R's user avatar
  • 564
0 votes
1 answer
106 views

I have a directory with ".nb" files (currently 503 of them), and I know that I've been modifying one of them on week 45 of 2023. I'm looking for code that will list .nb files that have a ...
Yaroslav Bulatov's user avatar
3 votes
0 answers
122 views

Assume there are several notebooks opened. I want to ClearAll["Global`*"] when I close any notebook(by clicking the close button of the window). The code below is my attempt although it does ...
metroidman's user avatar
  • 1,277
5 votes
1 answer
158 views

I would like to minimize my palettes sometimes. This was the closest that I could find, but it's not quite the same. Also, the WindowFloating options is deprecated ...
Tapiocaweasel's user avatar
1 vote
0 answers
120 views

I know I can Style all content of a cell using: ...
user13892's user avatar
  • 10.4k
1 vote
0 answers
84 views

I have a External language session of "SQL-JDBC" created and connected to the External language cell: ...
user13892's user avatar
  • 10.4k
5 votes
2 answers
165 views

The code below produces a button that toggles the right cell bracket margin of the current notebook between 0 and 150. ...
B flat's user avatar
  • 6,046
2 votes
1 answer
207 views

I am new to Mathematica, and I am using Mathematica v12.3. I am writing some math notes which include text and some equations. I know that in a text cell I can press CTRL+( and start typing some ...
Asim's user avatar
  • 152
0 votes
0 answers
86 views

I am having an issue that is seriously impacting my ability to fluently write code in wolframnotebook 14.1. Whenever my cursor is just behind an opening bracket/parenthesis/brace, it automatically ...
Markus Husert's user avatar
4 votes
1 answer
163 views

This feature comes from one book Introduction to Machine Learning. Its notebook edition provides the following interactive features without open new window: But it cannot view and edit the source ...
babyK's user avatar
  • 457
1 vote
1 answer
127 views

I wrote a useful LLMTool that works well with LLMSynthesize, but now I want to chat with it using the full chatbook interface. Is there a way to add that tool to the current notebook's ...
alltom's user avatar
  • 165
1 vote
0 answers
86 views

After performing some operations on cells in a notebook (with NotebookWrite and NotebookDelete) I need to restore the cursor's position within a particular cell. How can this be done? I've found that <...
user5601's user avatar
  • 3,880
2 votes
1 answer
155 views

I would like to evaluate a section several times for different values of some variables. I can evaluate it once with a simple command, but not in a loop. To evaluate it only once, this code works <...
Albercoc's user avatar
  • 1,122
2 votes
1 answer
133 views

Here's a handy "monitored map" function: ...
dreeves's user avatar
  • 746
7 votes
2 answers
286 views

I need to prepare a Mathematica notebook for presentation, in which I want to use several different colors in order to highlight some key symbols. To make the presentation accesible to color deficient ...
A. Kato's user avatar
  • 8,645
2 votes
0 answers
135 views

This default setting can cause subtle and difficult to find problems, such as inconsistent or incorrect answers when symbols, variables or functions in different notebooks have the same name. I speak ...
NemoX's user avatar
  • 61
4 votes
1 answer
158 views

At one point in the past I believed that a style sheet colocated with a notebook would not require a path. For example, if my notebook resided in the same directory as this style sheet, the style ...
Steven Thomas Hatton's user avatar
2 votes
0 answers
74 views

I like the formatting for Code and would like to use it for all my input. However, I want to be able to have both Initialization and non-initialization cells and I'...
Kvothe's user avatar
  • 4,931
1 vote
1 answer
107 views

Can I get Manipulateto allow me, once the plot appears, to hover my mouse over the plot and scroll my mouse wheel to vary the parameter $a$? Currently I need to ...
apg's user avatar
  • 2,303
3 votes
1 answer
146 views

I'm used to pressing Ctrl+Shift+I (or N if I want a shorter form) to reformat my input cells in a nicer way after editing them, e.g., to remove unnecessary parentheses, add or remove spaces as needed, ...
Najib Idrissi's user avatar
2 votes
1 answer
123 views

I tried to write a function to "Evaluate in Place", as I've shown in: How to get the output of evaluating in place and append the output to the place. But now I have encountered a new ...
Yao Li's user avatar
  • 111
2 votes
1 answer
258 views

I am trying to use MMA for some engineering calculations, and the text cell contains both descriptive text and mathematical formulas. The example is as follows: ...
Yao Li's user avatar
  • 111
0 votes
1 answer
93 views

I would like to do a kind of versioned TabView for several runs of the same code. I would like some help in fixing this prototype code: ...
ogerard's user avatar
  • 959

1
2 3 4 5
28