New answers tagged notebooks
2
votes
Listing most recently modified sections in Notebook?
You can find the section containing a given cell by using the {"CounterValue", "Section"} current value. Leveraging this idea produces:
...
1
vote
Converting Wolfram Language Scripts (.wls) into PDFs
another method, use player :) :
take your code as an example:
comment can be TextCell with style.
...
0
votes
Converting Wolfram Language Scripts (.wls) into PDFs
I found a solution using the low-level cell representation Cell[].
Using Jupyter front-end
This code works using the free (as in free-speech) Jupyter front-end with ...
1
vote
Converting Wolfram Language Scripts (.wls) into PDFs
Load the script as text.
Replace all (* ... *) with cOmMeNt["..."], eventually with proper escaping.
Put text into a ...
2
votes
Export Notebook as Text (in 13.3 &14)
I recently found myself in a similar situation where I wanted text-only but structured files generated from my notebooks for source control and revision tracking. I could not find an optimal solution, ...
2
votes
How to find large cells in a Mathematica notebook?
NotebookCellData gives a slightly nicer formatted table. Looks like a single vector graphics can push 50MB, makes sense to Rasterize.
...
4
votes
Accepted
How to write code to close the current open Notebook document after 10 seconds?
Your task is held and executed asynchronously so once it gets to the Kernel it won't 'remember' which notebook it was sent from. You need to send it with that information:
...

Kuba♦
- 136k
1
vote
Accepted
4
votes
Accepted
How to write mixed fraction in text cell?
Row[{5, 1/2}]
$$5\frac{1}{2}$$
Using \[ImplicitPlus\] to write it in text cell press 5, press esc, press +, press esc, press 1, ...
1
vote
How to use the Testing Notebook to test a package without shadowing?
This still seems to be an issue in 2023. I use the following workaround.
I load the package I want to test.
Instead of using the RunAll button, I highlight all test cells and use shift-Enter.
In ...
5
votes
Non-breaking hyphen?
You can directly input the unicode character for the non-breaking hyphen in a cell:
\:2011
You can also create an input alias to allow direct input of a unicode non-breaking hyphen.
...
Top 50 recent answers are included
Related Tags
notebooks × 1294front-end × 387
cells × 213
formatting × 92
evaluation × 71
stylesheet × 71
options × 69
customization × 61
export × 58
bugs × 39
programming × 37
files-and-directories × 34
style × 34
dynamic × 33
output-formatting × 32
boxes × 29
user-interface × 27
import × 25
gui-construction × 25
keyboard × 25
documentation × 24
kernel × 23
save × 23
graphics × 21
functions × 20