Questions tagged [customization]
Customizing interaction, the front end, or other aspects of Mathematica manually or programmatically.
164
questions
164
votes
12
answers
56k
views
1 Plot, 2 Scale/Axis
I would like to plot those two datasets on top of each other. But they have very different range on the $y$ axis. How can I have two different axis?
I found the following on the help menu but quite ...
105
votes
2
answers
7k
views
Is it possible to define a new PlotTheme?
In version 10 one can define, say,
$PlotTheme = "Scientific"
Which changes the appearance of all plots. This is fantastic because on the one hand I can have nice ...
53
votes
3
answers
2k
views
Argument completions for user-defined functions
Mathematica 10 has introduced file name completion for the arguments of certain built-in functions, such as Import, SetDirectory,...
29
votes
1
answer
860
views
Prompt a set of possible options
Recent versions of Mathematica dynamically prompt a list of possible options. For example, when typing
Plot[x, {x,0,1}, PlotStyle->
After typing the arrow, ...
7
votes
1
answer
714
views
How to customize the package editor interface?
Is there a way to get rid of the unused space on the left of the package editor?
What is it's purpose if I configured Mathematica to not show In and ...
35
votes
1
answer
6k
views
Is it possible to insert new colour schemes into ColorData?
Because of the standards in my field, for many plots I need to use (or at least end up using) rather narrowly defined colour schemes, and in particular the Matlab "Jet" scheme, which is well described ...
25
votes
2
answers
2k
views
Best way to add KeyEvents and faster Quit
Many users have asked how to add KeyEvents to speed/improve keyboard input. This is just a random example. The technique is always the same. It requires that you ...
19
votes
1
answer
1k
views
Creating a custom web API ServiceConnection
Can I build a custom API service connection that links into the standard framework?
I know there are paclets that seem to implement this. How are they structured and how can I write my own?
46
votes
4
answers
10k
views
How to change the default ColorData used in Mathematica's Plot?
This question leads on from the recent question What are the standard colors for plots in Mathematica?
There it was determined that the default color palette used by ...
36
votes
3
answers
2k
views
How do I add new menuitems to menus?
What are some complete examples of what one would include in a FrontEnd init.m that would make use of FrontEnd`AddMenuCommands ...
31
votes
1
answer
2k
views
Customize keybindings without modifying files in the installation directory
I would like to know if I can modify key bindings without being able to modify the KeyEventTranslations.tr in the installation directory.
So maybe putting another one in my home dir and linking to it ...
28
votes
3
answers
5k
views
Mathematica Sec and Csc
How can I prevent Mathematica from using the "old fashioned" functions "Sec" and "Csc"?
In Germany these functions are "old fashioned" as they are not taught anymore at school.
20
votes
2
answers
6k
views
Rebinding keys to define new keyboard shortcuts
I've checked Mathematica → Preferences, and poked around the options on the toolbar. However, I don't see a way to define new keyboard shortcuts in Mathematica.
I've used VIM for 10+ years, and I've ...
16
votes
2
answers
1k
views
There is a button in the "basic math assistant" which wraps highlighted text in chosen brackets. Is there no keyboard command for this?
This counts as something of a basic question, but one for which I cannot find an answer. I checked the documentation, I checked google, I searched it here, I read a bunch of different things, but ...
12
votes
2
answers
1k
views
Display Log with desired notation in output
I wish to display logarithms with different bases in the single-term rather than numerator/denominator form during output:
...
6
votes
2
answers
1k
views
Create custom shortcut to change font color
Just wondering if I can create a custom shortcut key to change the font color of the notebook text.
I've created a custom shortcut (in dkyeventtransactions.tr) to bring up the font color dialog, as ...
22
votes
1
answer
1k
views
Live code templates
I enjoy coding in the FrontEnd (except it crashes and lookup across files does not exist), but I often miss 'hands on keyboard', customizable code templates.
E.g. I often forget to wrap an option ...
17
votes
1
answer
1k
views
How do I remove the little × that shows up in the frontend when typing?
Version 11.1 now shows a little grayed out × (a multiplication sign) when one is editing something, to warn them that the expression will be interpreted as the ...
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 ...
14
votes
2
answers
744
views
Create new notebook at fixed size
Using Ctrl+n we are effectively doing FrontEndTokenExecute["New"] and, at least on Windows, a new window has a WindowSize equal ...
11
votes
2
answers
464
views
How can I customize my menus without reloading MenuSetup.tr?
I want to edit my menus and know I can do this via MenuSetup.tr but can I do this in real time? Can I do it temporarily?
Moreover can I change whether the changes ...
34
votes
2
answers
24k
views
Delete the current notebook cell using the keyboard
Is there another way than pressing Ctrl+. until the whole cell is selected and then pressing Del?
If this is not built in, can I create some sort of a global macro to do this and bind it to a ...
29
votes
2
answers
627
views
Is there a way to make the "Details" section of the Documentation expanded by default?
By default, the Mathematica documentation opens with the "Details" section collapsed.
This is never what I'm looking for — in fact, I've lost count of the times I've sought help on a feature and not ...
23
votes
2
answers
857
views
Context unique to each group at a specified level
Are there any new tools in v10 that might be applicable to this problem?
Recent versions of Mathematica provide the option of having a unique $Context for each ...
9
votes
1
answer
659
views
How make AddMenuCommands work in an init.m
I want to add some items to the Mathematica 8.0.4 Help menu (under Mac OS X). In
[$UserBaseDirectory]/Autoload/FrontEnd/init.m
I have the following cell:
<...
30
votes
2
answers
3k
views
Switch from logarithmic to linear scaling partway along a plot's axis
In the 2015 Planck satellite results, they give the latest plot of the temperature power spectrum of the cosmic microwave background, which I show below. (I am only interested in the main plot; you ...
21
votes
5
answers
1k
views
Is it possible to Print expressions in reverse order?
Let's say I'm debugging a program step by step and want to Print some expressions (using ShowIt, for example).
Is there a way to output the result of ...
12
votes
3
answers
1k
views
Is it possible to change/customize some conversions done by TeXForm?
I use TeXForm to convert output of some computation to Latex. I'd like to ask if there is a way to override/change/customize some of these conversions, related to ...
8
votes
3
answers
682
views
Is it possible to use custom GUI magnifications?
I am running Mathematica 7 on Windows XP Pro. I often use the magnification feature to zoom in on Plots, ListPlots, and ...
6
votes
1
answer
2k
views
How do I reverse the axis in ParametricPlot?
In astronomy, right ascension is usually plotted with positive values that increase from right to left. I have seen discussions of successful and unsuccessful attempts to reverse the order of an axis ...
30
votes
4
answers
9k
views
Keyboard shortcut to evaluate notebook
(If this is entirely trivial, although I couldn't find an answer as much as I searched the archives, I will delete the question.)
How could I add a keyboard shortcut to evaluate the entire notebook ...
25
votes
5
answers
18k
views
How to change default notebook background color?
How does one change the default notebook background color?
20
votes
4
answers
3k
views
Change base font for all graphics objects
How can I change the base font style for all graphics objects, including the ones generated using plotting functions?
I would like to change this a single time and have it affect all graphics ...
19
votes
1
answer
785
views
How to add named characters to Mathematica 10 or later?
Any news regarding this for Mathematica 12?
It appears that native support for the Klingon alphabet has been removed from version 10:
\[KlingonA]
Syntax::...
18
votes
2
answers
2k
views
How can I change the keyboard shortcut for switching the active window?
The default keyboard shortcut (on Windows at least) for switching focus to the next window is Ctrl+F6, and for switching to the previous windows it's Shift+Ctrl+F6. How can I change this to Ctrl+Tab ...
18
votes
1
answer
590
views
Add spaces to Mathematica comment delimiters?
Not exactly the world's most pressing problem, but one that has now exceeded my tolerance level. If I comment out a line of input such as
f[x_]:=x+1;
with Alt-/ (...
16
votes
3
answers
3k
views
How do I remove the top bar and bottom bar from the Students Mathematica window?
Any idea how to remove the top bar saying
"Wolfram Mathematica .... Demonstrations MathWorld Studenforum Help"
from the Mathematica main window (see screenshot). It has no use to me and it steals ...
15
votes
2
answers
1k
views
Customize front end to add notifications when evaluation finishes?
Is it possible to add some customization code to the front end, so that when all cells have finished evaluating, some user code can be run?
Background: I'm currently running some Mathematica programs ...
22
votes
2
answers
3k
views
Modify existing color scheme
I am using the "TemperatureMap" color scheme for image processing. How can I set the lowest color value to Black?
Generally ...
21
votes
4
answers
2k
views
Get tab key to indent a block of code
[Feature added in version 13.1]
Is there some way I can change Mathematica keyboard behavior so I could select a block of text/code, press tab, and the selection would be indented to right? Similarly, ...
19
votes
1
answer
392
views
Make cursor stay in input cell
By default, after evaluating an input cell by hitting Enter or Shift-Return the cursor jumps below the corresponding output cell. Is there a way to make the cursor stay exactly where it was before the ...
12
votes
2
answers
1k
views
Adapting "Find and Replace" functionality to work with Patterns
I was thinking if there is something like Find and Replace (Crtl+F) functionality adapted to work with patterns.
Probably not, but it seems possible to create this with some effort and skills in <...
9
votes
1
answer
995
views
Changing mouse appearance at notebook level
Ideally, I'd like to change the mouse pointer appearance(s) at notebook level, from a styleseet. However, I'd be satisfied only by changing its color.
This is the main issue keepeing me away from ...
8
votes
2
answers
2k
views
How to change the default Notebook stylesheet
For everyday work I use a custom notebook template. Its name DefaultModified.nb However, in order to open it I need to first open a built-in default notebook, go to the Menu/Format/StyleSheet and ...
8
votes
4
answers
764
views
How to set the output be generated in a cell different from "Output"
I would have some functions, for instance Plot, to generate their output using a different Cell's style rather than ...
5
votes
1
answer
244
views
Styles that prepend text to cell contents
This question is about creating a style for things like figure/table captions, or perhaps special boxes labeled with titles like "Note:", "Proof:", etc. The idea is that when I create a new cell in ...
2
votes
3
answers
382
views
Forcing the front end to update style definitions
tl;dr
I need a way to apply style edits in stylesheets, even when I can't use cmd+Shift+E
ntl;wr
A while back I wrote a suite of stylesheet editing tools to automate operations I did in batch, which ...
17
votes
1
answer
556
views
Programming of a natural language interface
I've just started using the Mathematica natural language interface and found it very interesting. After doing some research, I found some documentation on the "Programmable Linguistic Interface":
...
17
votes
1
answer
365
views
Can one effectively edit a Front End Resource that is already loaded?
A number of special definitions are loaded from .tr files on Front End initialization and are accessible via FrontEndResource. ...
17
votes
1
answer
859
views
Google Drive API connection: (or how can I build a service connection to an OAuth2 service?)
From here I know how to build a a basic service connection.
And that's fine in simple authentication cases but how do I do this for OAuth services?
Even more specifically, how can I do this for ...