Questions tagged [front-end]
Questions related to the Mathematica front-end (graphical user interface).
1,997 questions
3
votes
2
answers
130
views
Define meaning for symbol such as ⇓ despite 'Incomplete expression; more input is needed'
Example
The notation $a\Downarrow_bc$ can mean something like "the program $a$ results in $c$ when executed according to the semantics of $b$".
In Mathematica, I input this as ...
5
votes
0
answers
69
views
Is it possible to modify the evaluation timestamp format?
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 ...
4
votes
1
answer
345
views
Removing the stubborn keybinding, Ctrl+Q, for 'Quit'
I want to disable the Ctrl+Q keyboard shortcut/keybinding, used for quitting everything. How to achieve this?
I have tried the suggestion of adding
...
2
votes
1
answer
128
views
Do we need to start the kernel again after quitting it?
Do we need to start the kernel (Evaluation → Start Kernel → Local) again after selecting
Evaluation → Quit Kernel → Local from ...
2
votes
1
answer
108
views
Performance issue when more than one texture is used
I run it on version 13.0.1.
Bellow are 50 polygons each of the same random texture. Rotating it by mouse is fast and flawless.
<...
0
votes
0
answers
75
views
How can I run cleanup code automatically at the end of an evaluation (without wrapping the code)?
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 ...
2
votes
1
answer
78
views
Changing font for inline TeX input (i.e., cntl-$)
Inline TeX defaults to its enclosing Cell's FontFamily. The Default style sheet has a font that isn't great for math.
Here are two examples:
To my eye, the rendered TeX with the Times New Roman font ...
4
votes
1
answer
169
views
What does TryRealOnly mean in TaggingRules?
Using version 14.2.1
I recently learned about the FrontEnd's TaggingRules option for objects, in my case Notebooks. I'm using TaggingRules to store region-of-interest and similar settings for our labs ...
3
votes
0
answers
114
views
Turn off keyboard shortcut, redux
This is a duplicate of a previous question (linked below), but the previous answer no longer works.
Every once in a while when editing a formula, I want to add a parenthesis at the beginning of the ...
5
votes
1
answer
156
views
Background value in Options[$FrontEnd] has no effect after upgrade from 14.1 to 14.3
I upgraded to Mathematica 14.3 to 14.1. Previously I could SetOptions[$FrontEnd, Background -> color] to change the background colour of the Notebooks. I can ...
2
votes
1
answer
100
views
Frontend equivalent of CurrentValue["SelectionData"]
Execute the following then type something in next cell, select it and press the button - the selection is printed.
...
1
vote
0
answers
79
views
Formatting notebook contents
Doing some computations in Mathematica (14.3.0.0, Win 11 x64), I get Operation in progress... Formatting Notebook Contents window, which is there (unchanged, no progress) couple of minutes, literally ...
4
votes
1
answer
241
views
Pollution in context added by BeginPackage remains even after Exit
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 ...
2
votes
1
answer
144
views
Programatic Interaction with Front End (notebooks) via API
I am trying to build a Model Context Protocol tool that allows LLM to manipulate notebooks currently opened in a Mathenmatica front end. (using functions in https://reference.wolfram.com/language/...
5
votes
1
answer
215
views
Why doesn't Dynamic[1+x] lead to Set::write warning?
According to the document of Dynamic:
If the displayed form of Dynamic[expr] is interactively changed or edited, an assignment <...
5
votes
4
answers
430
views
Prevent error message on accidental mouse drag on dynamic 3d graphics
Here is an example how to use Dynamic inside Manipulate for smooth rotation. But it does not work for the following code.
...
5
votes
2
answers
473
views
Rotating 3D graphics with efficiency of front-end
Evaluate the following code and use your mouse to rotate the graphics - it is fluent without any delay.
...
0
votes
1
answer
105
views
Cursor obscures contents of Tooltip
On MacOs, the cursor obscures the contents of a Tooltip. For example,
...
1
vote
0
answers
53
views
Is there a way to set default magnification of the Preferences window?
The Preferences window is too big and has too big content. Its scale can be adjusted by mouse wheel, but is there a way to make it remembered?
0
votes
1
answer
167
views
Is there a way to restore the native scrollbars in Mathematica 14.3 under Windows?
Is there a way to get the system native scrollbars instead of the custom ones in Windows?
P.S. I found a way to show the native scrollbar and to hide the original scrollbar, and the native scrollbar ...
6
votes
2
answers
377
views
Manual manipulation of graphs
I have just discovered that it is possible to manipulate vertices or edges of graphs if they are converted to Graphics.
After manipulation you can extract position ...
6
votes
1
answer
326
views
How to release memory from parallel kernels?
I'm doing image processing in parallel kernels:
(I'm sorry, but it is impossible to construct a MWE for this, so I am including this code to indicate what I am doing)
...
0
votes
0
answers
77
views
Could not write some data to the file. You should check that file's permissions
Could not write some data to the file myNotebook.nb. You should check that file's permissions.
What should I do?
8
votes
1
answer
323
views
Controlling height of Sqrt symbol
In the following example, one can see that the vertical sizes of square roots are unequal, because y has a descender:
...
5
votes
1
answer
164
views
Change user-assigned symbol syntax coloring
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 ...
4
votes
1
answer
200
views
How to redirect errors to the console?
In a version earlier than my current 14.2, I could redirect errors to the Console. I can't figure out to do that in 14.2.
I've tried to change the global option MessageOption and "ErrorAction&...
6
votes
2
answers
398
views
Semicolon indentation. Is the bug in graph functions or in front end?
Bug introduced in 13.0 or earlier and persisting through 14.2.1 or later
The following produces correct outputs.
...
3
votes
0
answers
106
views
How can I preserve code formatting when pasting into a Mathematica input cell?
Is there any trick to copying and pasting code that keeps the formatting in an input cell in Mathematica?
For example, the code below from ChatGPT is nicely formatted. However, when I paste it into an ...
1
vote
0
answers
72
views
How can I ensure text in docked cells fits properly across devices?
I'm using a docked cell in Mathematica. When I run the notebook on my PC, the text fits fine (the text here is just an example).
However, when I remote into the PC from my laptop, the text appears too ...
1
vote
0
answers
68
views
How can I delete a large cell if the file freezes upon opening?
I accidentally pasted a large amount of graph data into a cell in my Mathematica notebook, and now the file has become around 70 MB in size. When I try to open it, the notebook freezes due to the ...
0
votes
0
answers
64
views
How can I make the notebook scroll speed independent of the height of the notebook contents?
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 ...
2
votes
0
answers
93
views
Copy/Paste from Excel into TableView deletes newlines from strings in 14.2
This is an Excel example. I have one cell with a string containing a newline character:
When I copy from Excel and paste it into Mathematica I get:
As can be seen, the newline is missing and a space ...
3
votes
2
answers
193
views
How can I make Wolfram|Alpha recognize Chinese inside Mathematica?
I just found the Wolfram|Alpha website finally supports Chinese input:
https://www.wolframalpha.com/input?i=sin%28x%29%E7%9A%84%E7%A7%AF%E5%88%86&lang=zh
This is amazing. But when I try to do the ...
2
votes
0
answers
190
views
How to activate smooth scrolling of notebooks in version 14.2 on Linux
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 ...
4
votes
1
answer
222
views
Is it possible to turn off the FrontEnd's iconized display of Polygons?
Outputting a list of polygon objects results in iconized forms. For example,
...
1
vote
0
answers
182
views
Math handwriting input not recognizing writing
I have a surface pro 11 running windows 11 and wolfram 14.2
When I try to input maths with the handwriting input, it doesn't recognize my input as shown in the image
I've tried many different inputs ...
0
votes
0
answers
119
views
Menu Mathematica v12.2 doesn't work as usual
If I try Saveor Save As a notebook, Mathematica v12.2(Windoes 11) only opens new empty notebook windows.
How can I save my ...
2
votes
1
answer
80
views
How to fix AllowInlineCells for a simple case?
It looks like that in Wolfram Mathematica 14.2 (Windows, Linux, Mac) AllowInlineCells does not work as advertised. In the ...
3
votes
1
answer
280
views
Mismatched resolution in 14.x
When I exported a plot like
Export["plot.png", Plot[x, {x, 0, 1}, ImageSize -> 320]]
in versions up to 13.x (at least on Windows), the image width was,...
9
votes
1
answer
496
views
Mathematica 14.2 can not show stack trace window
Bug introduced in 14.2 and persisting through 14.3.
Does anyone encounter the issue that stack trace window cannot be opened on Mathematica 14.2? I record the issue below:
and below is what I got on ...
0
votes
2
answers
147
views
How do I get Mathematica to use the same fonts on different operating systems?
I am having problems with fonts after upgrading from 14.1 to 14.2. When I set text to bold, it doesn't appear to change. This has always worked in the past using the same notebook and style-sheet. ...
4
votes
1
answer
334
views
Stylesheets not working in Mathematica 14.2
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?
3
votes
0
answers
162
views
Extra whitespace around Greek letters in 14.2
After upgrading from Mathematica 14.0 to 14.2 on Arch Linux, I've noticed a new interface problem, in which Greek letters are padded with a large amount of vertical whitespace in both input and output ...
5
votes
1
answer
218
views
Is it possible to trigger a confirmation prompt when running a cell with Shift + Enter in Mathematica?
Is there a way to trigger a confirmation prompt (for example Yes/No) when running a cell when I press Shift + Enter in Mathematica?
The motivation is that some input cells may take a very long time to ...
6
votes
1
answer
90
views
Is it possible to specify that the next output cell created have a specific CellTag?
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 ...
2
votes
1
answer
85
views
Create a keyboard shortcut to make a selection-dependent hyperlink?
I'd like to create a keyboard shortcut, say Ctrl+H, that replaces some text XYZ with ...
3
votes
1
answer
202
views
Appearance of text in notebook
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 ...
1
vote
0
answers
73
views
Change the color of the edge of the notebook
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 (...
4
votes
1
answer
147
views
Interpretation + Information leads to infinite recursion
It looks like a bug, or am I using Interpretation incorrectly?
Any workaround?
Example
First, we give the following definition so that ...
1
vote
0
answers
148
views
What is the advantage of more than one kernel?
I have a code sample, I want to run it in different notebooks after different modifications. (To be more specific, the code sample is for differential equation solving, and I want to set different ...