Questions tagged [customization]

Customizing interaction, the front end, or other aspects of Mathematica manually or programmatically.

Filter by
Sorted by
Tagged with
156
votes
11answers
49k 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 ...
97
votes
2answers
6k 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 ...
48
votes
3answers
1k 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,...
27
votes
1answer
651 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
1answer
551 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 ...
19
votes
1answer
802 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?
24
votes
2answers
1k 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 ...
46
votes
4answers
9k 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 ...
28
votes
1answer
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 ...
35
votes
3answers
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 ...
23
votes
3answers
4k 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.
34
votes
1answer
5k 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 ...
16
votes
2answers
991 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 ...
9
votes
2answers
895 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: ...
22
votes
1answer
953 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 ...
18
votes
2answers
5k 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 ...
6
votes
2answers
918 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 ...
28
votes
2answers
558 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
2answers
792 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 ...
11
votes
2answers
285 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 ...
17
votes
1answer
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 ...
13
votes
2answers
640 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 ...
9
votes
1answer
577 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: <...
28
votes
2answers
2k 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 ...
7
votes
3answers
580 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 ...
21
votes
5answers
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 ...
5
votes
1answer
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 ...
32
votes
2answers
21k 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 ...
18
votes
2answers
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 ...
15
votes
2answers
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 ...
29
votes
4answers
8k 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 ...
19
votes
1answer
739 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::...
17
votes
1answer
406 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-/ (...
8
votes
2answers
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 ...
15
votes
3answers
2k views

Get tab key to indent a block of code

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, I would like shift+tab to ...
12
votes
2answers
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 <...
4
votes
1answer
190 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 ...
9
votes
1answer
767 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
4answers
488 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 ...
22
votes
5answers
15k views

How to change default notebook background color?

How does one change the default notebook background color?
19
votes
2answers
2k 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 ...
17
votes
1answer
502 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": ...
14
votes
3answers
2k 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 ...
16
votes
1answer
760 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 ...
10
votes
5answers
496 views

How to increase the font size in Context-Sensitive Autocompletion?

Today I just upgrade my Mathematica to 12.1 under Ubuntu 19.04. Everything works fine but the font size is too small. As a result, I set the zoom level to 150%. Even though the font in the editor ...
15
votes
3answers
2k views

Opening new notebooks with a non-default window size

I'd like to set Mathematica (8.0.4.0) up so it opens new notebooks with the "NaturalColor" stylesheet and with a WindowSize like ...
17
votes
1answer
278 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 ...
2
votes
3answers
282 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
1answer
302 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. ...
8
votes
1answer
314 views

how to get the Messages Tab back in version 11.1 Edit->Preferences?

On windows 7, version 11.1, when doing edit->Preferences, no longer has the very nice messages tab there any more. I searched but so far, not able to find this tab. So can't change where my ...