Questions tagged [customization]

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

Filter by
Sorted by
Tagged with
7
votes
3answers
1k views

Colour of contour labels

My show is an overlay of 3 sets of countours in 3 different colours, but the countour labels are all black which makes identification problematic. I don't seem to be able to find a way to make the ...
4
votes
0answers
105 views

How to get rid of a built-in context from autocomplete?

I have noticed that when I type the name of built-in function Limit in Mathematica, the autocomplete suggests two variants at the top: the first one is the working ...
5
votes
1answer
951 views

Hide all code cells in notebook with Style: Input

I am using a standard notebook file in which code is showing different plots. How can I hide all code cells with Sytle: Input so that I can Export the Notebook to a pdf file which is showing only the ...
1
vote
1answer
204 views

How to turn on/off foreign-language symbol explanation by executing a command?

How to turn on/off foreign-language symbol explanation by executing a command? Trying to do it by using menu "Mathematica > Preferences > Interface > click the checkbox" in front of "Show code ...
5
votes
2answers
233 views

Why does SetOptions not know about ImageSize for Show?

ImageSize works fine as an option for Show when used in a call. Show[image,ImageSize->100] But SetOptions does not know about that: ...
6
votes
1answer
187 views

How to specify the browser used by SystemOpen?

For the purposes of lecturing I use the statement as the one below: ...
3
votes
2answers
158 views

Implementing My Own Coloring in a ListPlot of a List of Lists

I have a list of lists, for example: ...
3
votes
1answer
409 views

Horizontal Bar Chart splitting axis, and putting labels in the the center

I am trying to generate a horizontal bar chart which is centered at zero. Currently what I have is this: And the code that I am using is: ...
34
votes
4answers
1k views

How to make a custom NN layer in Mathematica?

Is there a way to create our own custom layers for Neural Networks in Mathematica ? I suspect it should be possible, any pointers or directions on how to go about it? I am interested in ...
10
votes
1answer
137 views

PieExploded in newer versions

I am trying to explode one segment of a pie chart. How does this work in version 10. PieExploded is obsolete now. Can't find out how to use SectorSpacing for this. Many thanks for a hint.
2
votes
1answer
143 views

How to change "Private Style Definitions for <myNotebook>.nb" in a saved private stylesheet?

Now that I found our how to save the private stylesheet opened by "Format->Edit Stylesheet...", by using "File->Save" from that window, I would like to know how to change the "heading" that still says ...
1
vote
0answers
180 views

How to create a custom stylesheet notebook? [duplicate]

I want to be able to define and change all my notebook's styles globally. I therefore want to create a new stylesheet notebook. It seems like something that should be easy to do for simple ...
1
vote
1answer
138 views

TemplateBox based controllers. Not editable InputFieldBox

The goal is to have controllers fully customizable from a stylesheet level. At the moment one can't add MouseAppearace to a ...
5
votes
0answers
77 views

Copied Dot expression is incorrect

On a recent answer I ran into a little problem. I wrote $x^3.\{1,1\}$ using Mathematica's 2D input, then copied and pasted the expression here, yielding x^3.{1, 1}....
1
vote
1answer
127 views

How to customize the Color Function Editor?

I'm happy with Mathematica's inbuilt Colour Function Editor. However, I wish to add some extra functionalities to this to make it customised for my purpose. For example, I wish to manipulate the ...
3
votes
1answer
159 views

How can I jump to the next initialization cell?

I've got a long document and I suspect know that I mistakenly set some cell in the middle of the document to be an initialization cell, probably hidden inside multiple collapsed sections and ...
10
votes
6answers
2k views

How to efficiently input matrices in Mathematica (compared to what MATLAB offers)

Every time I want to manually input a matrix in Mathematica, it takes me a while since every new row has to be in a separate pair of curly braces. For instance: ...
4
votes
1answer
156 views

How can I create my own hover message?

I wanted to know how this "Saving to the Wolfram Cloud" message works? It's useful because it hovers above the notebook's content even when scrolling and I'd like to change the text and reuse it for ...
1
vote
2answers
98 views

How to make a address to string

I get a Window address,Of course it should be a string in generally,but I got a non-string by some method,such as paste your clipboard into your notebook directly or other ways.I want to do some ...
12
votes
2answers
256 views

How to define Normal for new "data types"

In Mathematica 9 and earlier, one of the points under "Details"/"More Information" section for the function Normal was (this is gone after version 10): I have ...
6
votes
2answers
2k views

Mathematica in degrees mode

How can I tell Mathematica to evaluate all expressions, plot all functions, solve all equations in degrees, instead of radians?
6
votes
0answers
176 views

What are all the possible menu edits?

Note: I've discovered the menus are more-or-less as customizable as one would like, although it is mildly annoying to do this. Simply write your own Menu ...
2
votes
1answer
91 views

Palette for text styling

When modifying the style of a document, such as the headings, I find it tedious to be constantly visiting the menu every time I need to change a color/style/size/etc. Is there a palette or other ...
4
votes
1answer
76 views

How to open a notebook focused on a specific tagged cell

I am preparing lecture notes in Mathematica for students, which consist of several tens of notebooks. From time to time I face a necessity in one notebook to give a reference to some formula of ...
6
votes
1answer
131 views

How to specify Options for a custom Import converter?

Mathematica includes RegisterImport to setup custom functions which read and translate file data for Import, effectively ...
6
votes
1answer
118 views

Syntax for making a custom `Import` converter with parameters?

The machinery for Import allows custom converters to be defined for importing different file formats. The examples in the link provide details for writing such a ...
9
votes
2answers
811 views

Beep anytime evaluation finishes

These days I have to do long evaluations and I would like to get back to my notebook as soon as they end. Is there a way to ask Mathematica to produce a sound signal anytime it ends an evaluation? I ...
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 ...
4
votes
0answers
247 views

Is it possible to change the text cursor's shape and color?

I find it visually pleasant to reverse the background and foreground colors when working on a notebook; as shown below, in fact, it's almost a requirement after working long hours on the same notebook....
7
votes
0answers
85 views

How to navigate a large Dataset with keyboard short-cuts?

Update : Starting in 11.1 the navigation buttons are fixed to the left-hand side instead of being centered and don't jump around anymore. Starting with version 11.0 ...
3
votes
1answer
108 views

How to make numbered dingbats left aligned in a stylesheet

I use cell dingbats and counters in my stylesheet to auto number certain cells. For example, in my private stylesheet I defined the "Outline1" cell style as: ...
13
votes
1answer
324 views

Is it possible to create and insert a bivariate colormap into ColorData?

Bivariate colormaps, where the color returned is a function of two values not one, are sometimes used in choropleth maps and are also useful for visualising complex functions where we might want to ...
2
votes
1answer
91 views

How to add a "Running" indicator to title bar in Slideshow presentation mode?

When in presentation mode a Slideshow notebook's cells are hidden. This is good to have when presenting. However, if you have some cells in your presentation that take more than a few seconds to ...
8
votes
2answers
236 views

Documentation Tools: How to prevent breaking up CamelCase package name?

I am exploring the Workbench documentation tools for the first time and one of the difficulties I encountered was that when documentation pages are generated, a CamelCase package name is changed into "...
4
votes
1answer
105 views

Keyboard entry of square bracketed matrices in text cells, How to?

In order to produce square bracketed matrices I execute the following code at the bottom of my notebook, then copy and paste it into the text cell where I'm composing: ...
3
votes
1answer
105 views

How to use MakeExpression for single characters

Here is code that I thought would make the front end parse f as BigFunction: ...
5
votes
2answers
116 views

Modified FrontEnd to parse & highlight function definitions for compilability?

I suspect this would require advanced MMA skills, but it would be very useful if one could modify the front end so that any MMA defined function calls in a Compile[] could be flagged if they are not ...
10
votes
1answer
334 views

How to make Audio work dynamically and separately like DynamicImage?

In Mathematica, there is a new function DynamicImage that can enlarge or drag picture dynamically. So, is there a function ...
10
votes
1answer
226 views

How to create and use my own *.tr FrontEndResource and FrontEndResourceString files

Various Mathematica user interfaces are Mathematica notebook files. It seems to be quite common for these notebook files to contain only part of the information in themselves and to load different ...
3
votes
1answer
86 views

Transferring customizations to new computer

By now I have a Mathematica installation that's heavily customized in all sorts of areas (stylesheets, packages, OptionInspector settings, etc.) Is there a straightforward way to transfer these ...
3
votes
2answers
72 views

Switching Style for more than one Print item (like escape sequences)

I know about the possibility to use Style in Print to influence the color of the next item, e.g. ...
5
votes
0answers
195 views

Using an umlaut for a keyboard shortcut

How can I define a keyboard shortcut based on an umlaut like ü? KeyEvent in KeyEventTranslations.tr doesn't seem to register umlaut based keyboard inputs. For ...
2
votes
1answer
61 views

Unexpected behavior of NotebookDelete

I want to delete current and previous cells.So I make a custom function: ...
1
vote
2answers
141 views

How to select two adjacent cells at the same time?

I can select the first cell like this: nb = CreateDocument[{a, b, c}, WindowTitle -> "Other"]; SelectionMove[nb, Next, Cell] But how to select the first ...
3
votes
0answers
70 views

Native keyboard input for Ctrl+ü

The physical layout of my keyboard is a German one. However, for Windows I'm using a custom keyboard layout created with the Keyboard Layout Creator. Within that layout I defined Ctrl+ü to be ...
6
votes
1answer
150 views

Automatic shading of all InitializationCell->True cells in older versions

Mma Version 11 already has this feature: Initalization cells are automatically shaded light grey. This is a very useful feature and I would like to retrofit it to my older version 10.1. On a Mma-11 ...
11
votes
1answer
145 views

Creating notebooks with specific options being editable but not saveable

The goal To create a notebook whose options, when the notebook is opened, are fixed regardless of edits done to the notebook. E.g. WindowSize -> Automatic and <...
2
votes
0answers
106 views

How to create a function with option that shows dropdownlist like ( for example ) Manipulate with ControlPlacement? [duplicate]

Consider the Mathematica function Manipulate where you assign the placement of the controls with the option parameter ...
17
votes
1answer
277 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 ...
5
votes
1answer
1k views

How to customize labels of a 3D plot? [duplicate]

I need to change the label style on a 3D plot like this one below : ...

1 2 3
4
5
8