Questions tagged [customization]
Customizing interaction, the front end, or other aspects of Mathematica manually or programmatically.
390
questions
0
votes
1
answer
29
views
Unable to Rebind Keys in Mathematica in Windows 11? [duplicate]
I've updated my operating system from Windows 10 to Windows 11 recently. I installed the Mathematica 14.1 after that. The execution result of $Version is ...
1
vote
0
answers
69
views
HowTo override default menus in 14.1 with an edited user copy of "MenuSetup.tr" (or similar method)?
With version 14.0 and older, I used to have custom color options added to the Format->TextColor menu using
...
8
votes
1
answer
251
views
Mathematica ignores my custom MenuSetup.tr (Windows 10)
I'm at a loss on understanding how to get Mathematica use a customized MenuSetup.tr.
Actually I can't even find where is the default MenuSetup.tr used by the default Mathematica configuration when a ...
2
votes
0
answers
52
views
Filling opacity affects plot image resolution
Using v.13.3
I have a list of predefined colours that I tend to use for my own plots and found out that if you apply an opacity condition to the filling between two functions using a predefined colour,...
2
votes
1
answer
111
views
Button : interactive save as + custom initial path
Is it possible to create a button
whose action is
"save as... in menu bar" with custom initial full path.
(custom initial full path is specified by user.)
Note that if you click ...
3
votes
1
answer
101
views
How to set three different colors for mesh style?
I want to assign different color for horizontal lines (x=0.25, x=0.5, x=0.75) in the 3D plot of $f(x,y)= x^2y$.
...
1
vote
1
answer
91
views
Customising the editor: (real) monospace font and dark theme (and more)
I don't know how to make the code editor in Mathematica present the code in a real 'monospace' font, with a dark, customisable theme (syntax highlighting and so on). This is something that keeps me ...
0
votes
1
answer
266
views
How to set the default screen style environment to elegant code?
I want to set the default screen style environment to elegant code. How can I do this?
4
votes
0
answers
37
views
Efficiently threading with a default value for missing parts / defining custom behavior for addition of expressions with a given head
In short, I would like to be able to "add" expressions with a particular head (call it h for our purposes) which will always appear with a sequence of (...
1
vote
0
answers
71
views
a plot with two x-axis :one for mass in eV and the other for frequency in MHz
I'm now confused by the problem that as I was planning to draw a plot with two x-axis :one for mass in eV and the other for frequency in MHz (Note that 1MHz=6.58×10^(-10) eV is taken here), I can't ...
3
votes
3
answers
89
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
2
answers
148
views
How can I 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 ...
5
votes
2
answers
275
views
What is a nice way to convince Mathematica to use $\tau$ instead of $\pi$ in evaluated formulas?
I have tried like
Replace[something, {2*π -> HoldForm[τ]}]
Although it works well where a lone 2 π symbol, it fails to ...
4
votes
0
answers
73
views
What are some basic references for learning "box language" and further mathematica language customization techniques? [duplicate]
I'd like to be able to understand and write mathematica code that is able to customize in some way the output of mathematica in notebooks, for example. I believe I need to learn the so called ...
3
votes
1
answer
213
views
How can I redefine multiplication?
For instance, I want 0 Infinity = 0
I tried this: Unprotect[Times];Times[Infinity,0]=0;Times[0,Infinity]=0;Protect[Times];
But ...
1
vote
1
answer
88
views
Edit UnicodeCharacters.tr-File
I want to install a new package in Mathematica. If I understand the userguide right, I also have to edit the UnicodeCharacters.tr-File by another *.tr-File for example containing
0x2219 [...
5
votes
1
answer
137
views
Modify StandardForm of E
StandardForm of E is \[ExponentialE], can we modify it to something else?
I thought I could ...
1
vote
0
answers
80
views
Buggy EvaluationUnmatchedStyle for backgrounds with opacity
The EvaluationUnmatchedStyle option of PrivateCellOptions was introduced in v10, wherein any time input is changed, the corresponding output dims to signify that ...
1
vote
2
answers
140
views
How can I convert dot product into Latex code without dot?
Recently I need to convert a lot of expressions containing dot products into Latex code. To my annoyance, the mathematica system will always leave literal dots (".") in the latex code, but ...
3
votes
1
answer
236
views
Setting custom key bindings for magnification of notebook display
I tried modifying the Window menu section of MenuSetup.tr file inside $UserBaseDirectory/SystemFiles/FrontEnd/TextResources/Macintosh as follows
...
5
votes
4
answers
176
views
Can I change the meaning of operators? For example ∈ as MemberQ
I spotted this under \[Element] in the Wolfram documentation: "x ∈ y is by default interpreted as ...
15
votes
2
answers
2k
views
Mathematica 13: everything is magnified
In Mathematica 13 the font and everything else in notebooks and the size of toolbars is too big, compared to Mathematica 12.3 (with all the settings the same, magnification set at 100%).
It seems, the ...
1
vote
0
answers
151
views
How to customize the startup page for Mathematica
I am wondering if there is a way to customize the startup page for Mathematica: .
I am aware that if this is possible it will involve modifying the program files for Mathematica in the back end. Where ...
2
votes
1
answer
52
views
Why is Style ignored in my custom Echo error function?
To highlight the type of error that occurred the function echoError (via err) should display type of error in color: ...
12
votes
2
answers
577
views
Keep Mathematica 12.3 from auto-formatting double square brackets?
I just updated to Mathematica 12.3.1. Whenever I use the double square brackets used to specify Part, Mathematica now auto-formats them. While the readability is nice, when I go to edit the code, I ...
2
votes
1
answer
114
views
How to configure the Welcome Window?
How to reduce and set a smaller size in the font/text in the Welcome Window?
I´d like to obtain in Mathematica 12.3 a Welcome Window as the on I have in Mathematica 11.3
1
vote
0
answers
218
views
Stop Mathematica from blinking / flashing after calculation finished
I am running Mathematica 12.1 on Manjaro and Ubuntu. I have a frequently recurring bug that causes a notebook to start blinking in the taskbar after finishing an evaluation, regardless of my workspace,...
1
vote
1
answer
506
views
How to express number in exponential decimal such as 1e2=100?
I am using MATLAB for a long time, and usually I express the number as exponential decimal such as
x = 1e2; % x=100
However, if I write this form in mathematica, ...
1
vote
0
answers
64
views
Disable copying In[n] or Out[n] when clicking on it in a notebook
When I left-click on something like In[1] in the margin of a notebook (as appears when running a Cell) it automatically gets copied to the clipboard so that if I ...
3
votes
1
answer
135
views
What does Edit>Preferences>Appearance>Multiplication>Use symbol
I am using Mathematica Version 12.3.0 for Linux x86 (64-bit) (May 10, 2021).
I would like to see multiplication asterisk for all products on output. I know that this can be requested per expression by ...
0
votes
0
answers
99
views
Change the default output form in mathematica 12
Is there a simple way I can change the default output form in Mathematica 12? In Mathematica 11, this option was simply in the "preference", but I can't find it anywhere in Mathematica 12.
1
vote
1
answer
112
views
Changing Slider Style [duplicate]
Is there any option to customize the Slider tracker to an image or a Graphics object? What about simply changing its colour? For ...
1
vote
0
answers
54
views
Clean startup with back up
Whenever there are bugs Wolfram Support suggests to do a clean restart by holding Ctrl + Shift during start-up (often they recommend that without even warning the user that this will delete all their ...
1
vote
0
answers
32
views
Plot two functions in the same plot with different vertical axes, colors, and labels [duplicate]
I would like to plot two continuous functions in the same plot, but to each one should correspond a different vertical axis with different values, but having in common the same x axis. I would like ...
0
votes
1
answer
71
views
Define a function with a custom warning message
Is it possible to define a function with a custom warning message ?
For example,
...
2
votes
0
answers
93
views
Matching [],{},() in Mac
In the Windows system, the keyboard shortcuts
Matching [] Alt+]
Matching {} Alt+}
Matching () Alt+)
works fine.
This functionality does not seem to work with MacOS.
Opt+] gives '
Opt+} gives "
...
12
votes
1
answer
261
views
How to modify default options of Dataset
I try to make a dark stylesheet based on the ReverseColor theme. However, dataset headers are barely readable.
This question is related to others such as
Question ...
3
votes
1
answer
197
views
Add ribbon of most used commands-How it could be implemented?
A few days ago I saw a video, I can't remember where and what was special about it was that under the commands in the main panel there was a row with the most used commands.
How can you implement this ...
2
votes
1
answer
79
views
How to automatically evaluate a cell and then jump to a specified location
I built a new word bank of many words myself. I hope that every time I open this notebook nb file, this cell can run automatically, so that I can automatically ...
2
votes
0
answers
68
views
Should I redefine 0^0 [duplicate]
I've found some times, while playing with combinatorics, that Mathematica can't calculate some functions because $0^0$ is not defined as $1$.
(I know that some people think that $0^0$ should be left ...
2
votes
1
answer
122
views
More control over plotstyle in TwoAxisListPlot
I don't understand how to modify the ColorData in the mapIndexed for the code from another post found here and is copied below for reference. What I want to do is control the color of each trace as ...
1
vote
1
answer
111
views
How to change path of $UserBaseDirectory to a new location during startup?
I wish to customize where packages and notebooks are saved by creating a custom directory tree which emulates Mathematica defaults. I wish to do this so that paths can be found in $ContextPath for ...
1
vote
0
answers
65
views
How to change Echo output font size including EchoLabel within an entire Notebook?
I am creating a notebook template. I have Input and Output font size set at 10 but the Echo font size is 12. How do I change Echo to font size of 10? I cannot find a setting for this in Option ...
1
vote
1
answer
45
views
How to create custom NIntegrate with special option behavior?
I'm trying to create a custom version of NIntegrate, called MyNIntegrate, with custom option behavior. In particular, I'd like ...
0
votes
1
answer
214
views
How to programmatically Evaluate Notebook (all cells in an open notebook) rather than from Evaluation menu? [duplicate]
I am working on a DockedCells toolbar for common tasks like Save, ClearAll, scrolling, etc., ...
3
votes
1
answer
129
views
How to convert function to MenuSetup.tr form
I have a function that removes any surrounding [] {} or () from the current selection of the notebook given by NotebookObject[].
...
5
votes
3
answers
350
views
Customize how many of the same warning messages are printed from parallel kernels?
I have an evaluation inside a ParallelTable which sometimes gives me warning messages. After a certain amount of warning messages it will say:
...
2
votes
1
answer
129
views
Change default ImageSize for all graphics functions programmatically only for the current session
How do I change the default ImageSize for all functions producing graphics programmatically for the current session (only)?
Something close to an answer is given in ...
5
votes
1
answer
100
views
Adding MathML export rules
Prior to v12.1 Row was not handled well by MathML export:
Now it is ok:
ExportString[Row[{1}], "MathML"]
...
0
votes
1
answer
41
views
How to define the judgment function of extremum points
I encountered a problem in solving the math problem in China's 2019 postgraduate entrance examination.
I need to judge whether $f(x)=\left\{\begin{array}{cc}
x|x|, & x \leq 0 \\
x \ln x, & x&...