Questions tagged [front-end]
Questions related to the Mathematica front-end (graphical user interface).
1,832
questions
6
votes
1
answer
110
views
Distinguish three fraction forms (feature stronger than Hold)
This question can not be typed easily, using mathematica stackexchange interface.
So here is a GIF file :
My question is : Can we construct a function f whose ...
3
votes
1
answer
89
views
Purple color text related with RowBox
Type the first line of following code and press enter key.
...
3
votes
0
answers
50
views
+50
Is it possible to prevent the very first evaluation of Dynamic when it appears on screen?
Is it possible to tell DynamicBox to not run its very first dynamic evaluation when it appears on screen, and instead, to just show its ...
4
votes
2
answers
101
views
How do I launch a kernel under Rosetta when I'm running the FrontEnd natively on Apple Silicon?
It's easy to launch a frontend under Rosetta, which will naturally start its kernels under Rosetta as well. For example, you can check a box in the Get Info window of Mathematica in the Finder, among ...
3
votes
1
answer
48
views
DSolve output displays different from actual output after using locator in Manipulate
V 13.2.1 on windows 10
If you look at this
it does look bizzar, right? The same variable sol is different from what it should be above it.
But the above ONLY ...
1
vote
1
answer
34
views
Why using InputForm makes cell output out of order with commands used?
Compare this (where all commands shown are in one input cell)
...
0
votes
0
answers
23
views
"Initializing menus" at startup always takes more than a minute
At startup, Mathematica always hangs for a bit more than a minute at the "Initializing menus" step:
...
2
votes
0
answers
40
views
Grid Problem: Combining Item[] with SpanFromLeft/Above
I'm trying to lay-out a Grid with various entry-specific Frame settings. In my case, using ...
0
votes
0
answers
25
views
The escape key doesn't produce the \[AliasDelimeter] special character
For some reason the escape key no longer produces the three vertical lines or the \[AliasDelimiter] special character anymore making it very tedious to write greek letters.
I was able to bind the task ...
0
votes
1
answer
39
views
How to write Boxes to a notebook with NotebookWrite?
I would like to write Boxes to a Cell to a notebook (e.g., FractionBox, SuperscriptBox, etc).
Here is what I've tried:
...
1
vote
0
answers
65
views
Is it possible to Import a PDF and examine the lowest level commands that a PDF viewer would see? [closed]
Using Python and some Linux tools, I'm able to examine the lowest level elements of a PDF.
For example, a snippet from one page looks like this:
...
0
votes
0
answers
19
views
Keyboard shortcut function to copy a regular ExpressionString in order to paste it to Regexr.com?
regexr.com is very helpful when developing regular expressions for Mathematica (=PCRE).
Unfortunately Mma 12.3 (and other versions too) have to escape all backslashes and double quotation marks inside ...
2
votes
0
answers
61
views
Copy/Paste MMA code from PDF into Notebook garbles special characters
I have a PDF which contains Mathematica code and plain text. It was probably generated directly from one or more Notebooks. I am running MMA 13.1 on Ubuntu, and when I copy/paste any of the plain text ...
20
votes
2
answers
559
views
How can I prevent iconized output from Mathematica automatically?
Is there an option to tell Mathematica not to use iconized in its output?
I find these so annoying. The design is all wrong to tell you the truth. The default should be the other way around. It should ...
2
votes
1
answer
75
views
Enter special character in search box
Usually, I just enter special characters with the Esc key and hence am not familiar with their real code in plain text. But this seems troublesome in the search box ...
1
vote
1
answer
77
views
How can I change the default cell type in Mathematica from Input to Code?
Every time I type something into a notebook, I am compelled to first change the cell type from Input to Code, and then unset the ...
1
vote
1
answer
64
views
Remove background colors within cells
I've gotten in the habit of changing the background color of modified chunks of code using the Format - Background Color menu on the selected code. E.g.
Now I'd ...
3
votes
1
answer
76
views
How to change the color scheme of DifferentialRoot and DifferenceRoot outputs?
Question:
Differential root reduce uses the font color of the stylesheet and a default white background. How to change the color of the background ?
Why :
I am using a dark style sheet where text is ...
1
vote
0
answers
35
views
Could the decisions in the Find/Replace dialog also be made with the keyboard?
Could the decisions in the Find/Replace dialog also be made with the keyboard bypassing all mouse actions? None of the buttons have a letter highlighted to make these decisions. To do this always with ...
7
votes
2
answers
569
views
Is it possible to hide or delete the new Toolbar in 13.1?
Is it possible to delete or hide the new toolbar in 13.1? How? It's a great resource, however, for my applications, it's not very useful. It's also glitching out making it impossible to use on most ...
3
votes
0
answers
34
views
Augmenting the short documentation of a system function: possible?
A concrete example:
The short documentation for Fold (when hovering over the function) refers to FoldList without showing the ...
0
votes
0
answers
39
views
Is it possible programatically evaluate one cell several times with distinct parameters?
I have an input cell wich I need to evaluate several times with distinct set of parameters. For sure, it is possible to convert the cell into a Module and run it in ...
1
vote
1
answer
91
views
NDSolve doesn't evaluate unless I re-evaluate the output manually
Background
** You can see my full program here. Go ahead and plug it into your notebook. You should have everything you need there. Password: OrbitCode
I am working ...
0
votes
0
answers
54
views
FrontEndObject::notavail ; ParallelSubmit unable to plot using Monitor
I'm trying to Run two processes simultaneously;
...
1
vote
0
answers
40
views
Truncation of long strings in DataSet items
Given a dataset containing items with long texts (strings), Mathematica would automatically truncate those texts after 3 lines
...
2
votes
0
answers
33
views
Auto completion starting from anywhere in the name
Edit: After reading the last answer from the related question mentioned below I saw that it was all I needed.
What I would like
I would like to type Comp and automatically see auto complete ...
1
vote
1
answer
115
views
Mathematica 13.1 Enlarge default toolbar
I use a Full HD display. Fonts of the menu I have enlarged by using config for qt for Mathematica - file frontend.css. It is enough to put in it *{ font-size:22pt}. ...
4
votes
1
answer
80
views
How to get rid of the "You are pasting text into a string..." dialog or skip it?
Consider the following example:
...
3
votes
1
answer
140
views
How to get output in MatrixForm in this context?
The following code implements matrix arithmetic:
...
1
vote
0
answers
35
views
Can one use Ctrl and cursor position to get short documentation from a function like hovering
I would like to minimize how often I use my mouse. One time where I have to use the mouse is when I hover over a function to see the options for that function and a short explanation of the usage of ...
1
vote
0
answers
65
views
Extra whitespace around graphics when using PlotTheme -> Scientific
Sometimes when I use PlotTheme -> "Scientific" I get a bunch of extra whitespace on the output of the graphics. For example, with this code there is a ...
7
votes
1
answer
77
views
How do I include additional kinds of boxes that are Tab-selectable
Observe that "PlaceHolder" and InputFieldBox are known by the FE to respond to pressing the Tab key:
...
8
votes
1
answer
109
views
How do I view the built-in definition of TemplateBox styles in terms of low level boxes?
The following:
TemplateBox[{"a", "b"}, "Binomial"] // RawBoxes
yields the correctly formatted (2d box structure) of Binomial[a,b]:
$$\...
8
votes
1
answer
175
views
How to search for functions with "?" "@" and "*"
I know that in order to search for a function from the notebook level, enter for example "? Log".
I also know that you can use the "@" and "*" characters.
My questions:
...
10
votes
1
answer
173
views
Change the default name of a new notebook from Untitled-*?
I'd like to change the default name of a new notebook to, say, StringJoin[{RandomWord[],".nb"}].
There is a hint how one might do this in $InstallationDirectory/SystemFiles/FrontEnd/...
1
vote
1
answer
24
views
Create and copy whole cell before NotebookApply
I have created a button with a NotebookApply associated, something similar to the following
...
2
votes
2
answers
105
views
How to reload packages using shortcut?
When developing packages I need to Get my packages repeatedly, and it will be convenient to set a shortcut to reload the packages.
Suppose the structure of the ...
0
votes
0
answers
46
views
Line breaks cause too many empty lines in the Information box
$Version
13.0.1 for Mac OS X ARM (64-bit) (January 28, 2022)
When there are many *Values with line breaks, the ...
4
votes
2
answers
107
views
Opening a notebook in an existing instance by double clicking the file (Linux)
Is it possible to change a setting or something in order to open files in existing Mathematica instances instead of in a new instances when double clicking the file. (This is convenient since ...
2
votes
3
answers
71
views
How to control the Image Assistant Toolbar?
(Cross-posted on the Wolfram Community.)
When we select an Image in the FrontEnd, the Image Assistant Toolbar appears attached under it:
How can we temporarily ...
2
votes
1
answer
90
views
Mathematica frequently stops responding
Every time I run a cell, move the cursor, start typing, the entirety of Mathematica stops responding.
I am getting "Disable dynamic evaluation" pop ups but I have disabled Dynamic in the ...
0
votes
0
answers
43
views
How to prevent displaying sub and overscript as plain strings in .wl files?
Problem:
String with subscripts and overscripts are formatted as plain text after saving, closing, and reopening the document. It makes it hard to edit function usage because text become unreadable if ...
2
votes
1
answer
198
views
Shift + Esc in Mathematica 13.1
In the previous versions of Mathematica shiftesc is just interpreted as esc. This is quite convenient for me because, for example, capital Greek letters can be typed by keeping shift down and pressing ...
8
votes
2
answers
245
views
Creating Picture-in-Picture functionality by Attaching a Notebook to a Notebook using AttachCell[]
I use Mathematica for math lectures at my school. I would like to find a way to attach a secondary notebook to a primary notebook using AttachCell[]. The idea is to have picture-in-picture (PIP) ...
0
votes
0
answers
31
views
Convenient way to make a text cell togglable
I like being able to hide text cells in a notebook. Currently I am doing this by writing another text cell above the current text cell, writing "open" and then grouping the cells. That way ...
10
votes
3
answers
191
views
Context menu to graphics component
How do I add individual context menus (shown upon secondary mouse click) to various components of a graphics object without needing to go into edit mode?
Consider the following example:
...
1
vote
2
answers
87
views
How restore Default stylesheet's new type of group openers?
With the Default stylesheet (in Mathematica 13.1 and several versions earlier), the new kind of group opener for sections, subsections, etc., appears as in this screenshot:
When I apply a certain ...
12
votes
1
answer
175
views
How to decorate cells with widgets like jupyter and collab?
I would like to add a couple UI features from cells in python notebooks that I find helpful. Specifically, these two features from google's collaboratory and vs-code's jupyter mode:
To the left of ...
3
votes
0
answers
76
views
Dark mode documentation center
I saw some posts that modify or add some Mathematica files to change the interface of Mathematica's notebooks. Are there files that determine the background color of the documentation center ? I am ...
2
votes
2
answers
55
views
Automatically close the parent cell in a grouped set
There are several questions in Mma.SE related to programmatically opening and closing cells, but I could not find quite what I'm seeking.
Here's a minimal example:
...