Questions tagged [customization]
Customizing interaction, the front end, or other aspects of Mathematica manually or programmatically.
380
questions
1
vote
2
answers
45
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 ...
5
votes
2
answers
239
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
67
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
172
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
61
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 [...
4
votes
1
answer
101
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
73
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
103
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 ...
0
votes
0
answers
19
views
Cannot change value of MenuCommandKey in options inspector of Cells in a stylesheet notebook
I am on a Macbook and want to change the comment selection shortcut to CMD+3.
But CMD+3 or Alt+3, is already attributed to format the text as Chapter.
I opened the SystemFiles/FrontEnd/StyleSheets/...
3
votes
1
answer
197
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
162
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 ...
12
votes
2
answers
788
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
118
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: ...
11
votes
2
answers
334
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
110
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
113
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
108
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, ...
0
votes
0
answers
41
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
97
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
61
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
92
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
42
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
29
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
51
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
82
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 "
...
10
votes
1
answer
200
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
174
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
48
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
65
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
96
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
63
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
27
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
42
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
138
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
108
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[].
...
4
votes
3
answers
217
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
98
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
82
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
34
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&...
1
vote
1
answer
31
views
Rotating the panel without rotating the controls
In rotating an animate panel is there a way to keep the control buttons where they so that they don't rotate? Or are there separate settings for the placement of control buttons?
...
1
vote
1
answer
79
views
Changing pane background color in Animate
In the code
...
10
votes
1
answer
182
views
Changing the color of the animate box
Is there a way to change the coloring of the boxes that are generated by Animate or Manipulate? The color of what is gray by default.
...
4
votes
1
answer
110
views
Is there a way to construct more/deeper layer of subsection?
We know in a notebook there are Sections, Subsections and Subsubsections. I wonder is there a way to construct something like Subsubsubsection and Subsubsubsub...subsection?
I ask this because when I ...
1
vote
1
answer
31
views
Delayed evaluation of functions in InputAutoReplacements and InputAliases
The code
CreateDocument[{},InputAutoReplacements->{"test"->DateString[]}];
generates a new notebook and "test" triggers an output ...
8
votes
2
answers
441
views
Change default cell type of Wolfram|Alpha Notebook Edition to Input
Now that Wolfram|Alpha Notebook Edition, which is in essential Mathematica with a special front end:
is free for 6 months, I'm playing with it. Default cell type of Wolfram|Alpha Notebook Edition is ...
5
votes
0
answers
58
views
Suggestion for coloring the brackets
In debugging my own codes, I spend countless time, not to mention degrees of frustrations, in attempts to find the ill-balance of the brackets, both the square and the curly ones. Is there a way that ...
1
vote
2
answers
203
views
Alternative icons for Mathematica v11 and v12
Is there a simple possibility to use gif/jpg images of polyhedron spikeys as icons for Mathematica versions 11 and 12 instead of the "2D" polygonal icon provided by Mathematica v11 and v12 ? The ...
14
votes
1
answer
351
views
Change colours of Code
I want to change the colour of some important variables in my code. My code is quite long and sometimes I have to change these specific variables, but it is quite annoying to search them, beacause ...
2
votes
0
answers
85
views
How to override a built-in Mathematica function using its old version?
How can we override a Mathematica built-in function using itself in the definition?
For example, the DiracDelta function is not defined for complex numbers like:
<...