12 votes
Accepted

Mathematica setting that shows the notebook FPS in the titlebar

CurrentValue[ EvaluationNotebook[], {RenderingOptions, "ShowFrameRateCounter"}] = True This will set it for the current notebook. You can set it ...
ihojnicki's user avatar
  • 3,026
10 votes

Notebook starts formatting content automatically and then collapses

The reason you see a significant slowdown is the introduction of PlotHighlighting in version 13.3, which is turned on by default and controls the appearance of ...
Domen's user avatar
  • 21.8k
8 votes
Accepted

What is the difference between code cell and input cell?

TLDR: Code is the default one in .wl .m files, content of Input in those cases will be commented so it won't run with << my.wl ( more: 9921 Input does a ...
Kuba's user avatar
  • 137k
7 votes

In Mathematica 13.3 are chat notebooks enabled by default?

The chat enabled notebook wasn't immediately visible in 13.3 (Win) for me either. Loading this paclet fixed it (more information here Wolfram Paclet Repository): ...
EstabanW's user avatar
  • 700
7 votes
Accepted

How to create a hyperlink to an executable?

As an example, this opens up the editor: ...
Syed's user avatar
  • 48.4k
6 votes
Accepted

Implementation of rainbow style for multiple cells in a notebook

Is this what you are after? ...
Kuba's user avatar
  • 137k
6 votes
Accepted

Hiding code in presentations programmatically

Try with this: ...
Gustavo Delfino's user avatar
5 votes
Accepted

How to import a variable from one notebook to another notebook?

By default, notebooks share the same variables. So when you type var=23 in one notebook, and open second notebook and type var, ...
Nasser's user avatar
  • 142k
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. ...
David's user avatar
  • 81
5 votes

Mathematica menu-bar disappeared!

From the upvotes on my comment, it seems that pressing F12 (the keyboard shortcut for full screen) will solve the issue if you cannot access the toolbar. Reference: Keyboard Shortcuts documentation.
userrandrand's user avatar
  • 5,807
5 votes

Insert a cell to "push" an output cell down so that my next output will not overwrite the last output

You can go to the option inspector, and for the notebook (or whatever scope) you want this to work for, set OutputAutoOverwrite to False.
lericr's user avatar
  • 26.4k
5 votes
Accepted

Distinguish three fraction forms (feature stronger than Hold)

There is no f that could do this by itself because those forms are taken care of during parsing. So by the time any evaluation rules associated with ...
Kuba's user avatar
  • 137k
5 votes
Accepted

How do I export an entire notebook as an image?

Edit, I found out how to do it, but it is not rendering the notebook style correctly for some reason :( ...
Alec Graves's user avatar
  • 1,058
5 votes
Accepted

Button : interactive save as + custom initial path

Use SystemDialogInput. NotebookSave[InputNotebook[], SystemDialogInput["FileSave", "C:\\myfile.nb"]]
Domen's user avatar
  • 21.8k
5 votes
Accepted

Why does Mathematica's interface freeze when scrolling to the evaluating cell?

So here is my guess, based on information provided and on past experience. Which is to say, I'm describing a scenario I have often encountered that looks like but might not actually be your situation. ...
5 votes
Accepted

Distinguish .nb that has been saved from new .nb

Quiet@NotebookFileName[] returns name of current notebook in the case it was saved or $Failed in the case it was never saved.
azerbajdzan's user avatar
  • 13.4k
4 votes
Accepted

Notebook magnification - two independent values

One of them belongs to the whole front-end (session) and will affect all open notebooks, the other belongs to a particular notebook. Read more about option hierarchy in @Mr. Wizard's answer. Use ...
Domen's user avatar
  • 21.8k
4 votes
Accepted

Is it possible to programatically create new notebook without the default top Toolbar (the one introduced in 13.1)?

CreateDocument[{}, WindowToolbars -> {}]
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, ...
azerbajdzan's user avatar
  • 13.4k
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's user avatar
  • 137k
3 votes
Accepted

How can a Chat-Enabled Notebook be set up to automatically use Wolfram Language Evaluator?

I will relay Rick Hennigan's answer given on GitHub. The tools are currently only enabled by default for GPT-4, since GPT-3.5 almost always fails to use them correctly. If you have access to GPT-4 ...
3 votes

In a Notebook, How can I set every cell to be an Initialization cell?

If you want the entire notebook converted to Initialization cells, Ctrl-A the notebook, selecting all the cells and then Ctrl-8 to convert them all to Initialization cells.
Lexington1776's user avatar
3 votes
Accepted

Save animation for Animator

First, try this: ...
lericr's user avatar
  • 26.4k
3 votes

Save animation for Animator

Use Animate instead of Animator and Dynamic. ...
Domen's user avatar
  • 21.8k
3 votes

Avoid context mark in Plot labels in package

The correct solution is to pass $x$ and $y$ symbols in the call itself. This is what Mathematica does. See module-and-local-variable First option So your package will becomes ...
Nasser's user avatar
  • 142k
3 votes
Accepted

What's the difference between chat-enabled and chat-driven?

Interesting that ChatGPT would have an opinion about this given that its training data is still back in 2021, I think. ;-) So... Chat Enabled: The default cell is an Input Cell and the default Persona ...
David Reiss's user avatar
3 votes

Customising the editor: (real) monospace font and dark theme (and more)

you may want to check vscode + lsp or lsp real 'monospace' font a dark, customisable theme (syntax highlighting and so on) A customisable editor (in the terms I expressed at the beginning of this ...
AsukaMinato's user avatar
  • 9,318
3 votes
Accepted

Notebook key shortcut to move current cell group up/down/in/out?

I dug up my old custom key events answer to get this to work, but here's the real deal, a key event to move your cell up by one which also has protection against being at the top of the notebook. ...
b3m2a1's user avatar
  • 46.8k
3 votes
Accepted

Bind a key to show autocompletion

The answer: Ctrl/Cmd + K, after you check either "AutoPopupEnable" or "ShowCodeAssist" in the Option Inspector menu. ihojnicki has posted the solution to this question has a ...
José Ferreira's user avatar
3 votes
Accepted

Hyperlinks that open smoothly in the same window

Create two folders C:\\folder1 and C:\\folder2 and two files (notebooks) ...
azerbajdzan's user avatar
  • 13.4k

Only top scored, non community-wiki answers of a minimum length are eligible