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

learn more… | top users | synonyms

42
votes
0answers
657 views

Is it possible to customize the Suggestions Bar?

I'd like to be able to customize the Suggestions Bar in v9.0 to provide recommendations of my own. Possible example: when doing unit calculations, I'd like it to suggest converting the answer to ...
24
votes
3answers
661 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 ...
19
votes
0answers
413 views

Changing FrontEnd automatic scrolling in version 8

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior: On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
17
votes
2answers
315 views

Context unique to each group at a specified level

Recent versions of Mathematica provide the option of having a unique $Context for each cell group, via: Evaluation > Notebook's Default Context > Unique to Each ...
16
votes
2answers
726 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
524 views

Command Completion

Note: As of version 9, this functionality is available and works out of the box. I've a few questions about Command Completion in Mathematica. I recently discovered this feature, and it's really ...
15
votes
3answers
640 views

Opening a context menu (with the Menu key)

Is it by any chance possible to make the Menu key work as one would expect in Mathematica: opening a context menu? The Menu key does nothing in version 7 or 8 on Windows.
13
votes
2answers
582 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.
13
votes
2answers
188 views

What is the complete sequence of evaluations/transformations from submitting a cell to actual evaluation?

This question is inspired by that one. Reading it, I noticed that while (I think) I know what happens when entering an expression directly to the kernel (i.e. after typing ...
13
votes
1answer
354 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 ...
11
votes
4answers
2k views

How to change default notebook background color?

How does one change the default notebook background color?
11
votes
2answers
2k 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 ...
11
votes
1answer
461 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 ...
11
votes
0answers
349 views

Is it possible to regain Mathematica 5.2's palette input focus behaviour with version 8.0?

Between Mathematica 5.2 and later versions, there has been a change in determining which notebook gets the palette input focus, which leads to quite unfortunate behaviour if you use ...
10
votes
2answers
933 views

How to improve the typesetting of mathematical contents

Until I started diving into Mathematica, I was not using much computer software for symbolic computation. I did my analysis by hand on blank sheets, the calculations using Python or MATLAB, and the ...
10
votes
2answers
157 views

Can I define new graphics directives?

Is it possible to define new graphics directives? For example, suppose I want to be able to use the following code: ...
10
votes
0answers
402 views

How to copy hyperlink addresses using the keyboard

I would like to copy the address of a hyperlink in Mathematica using the keyboard. I found code for copying hyperlink addresses in ContextMenus.tr: ...
9
votes
1answer
126 views

How to make certain mathematical characters be written as bold by default

In a notebook, when writing \[RightVector] over a variable I always end up bolding it to make it more visible. But it'd be easier if it could be set up to bold that ...
8
votes
1answer
154 views

FindSelectedFunction for packages - how to make it work?

The Mathematica help menu contains an entry Find Selected Function (Cmd+Shift+F on OSX). If you are working with say Transpose and want to look up its reference ...
7
votes
1answer
272 views

Customizing the Screen Environment

Is it possible to make Mathematica notebooks as stylish as this below with custom backgrounds and predictive text coloring? As shown in the snippet below? And possibly have the option to save the ...
7
votes
1answer
176 views

How to add an entirely new menu

Is it possible to add an entirely new menu, say menu "CustomApp" on the fly? For example a CustomApp package could add its own menu "CustomApp" with submenus, ect, once Needed. Former examples I ...
7
votes
1answer
757 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 ...
7
votes
1answer
269 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: ...
6
votes
1answer
159 views

How can I remove the bottom bar from Mathematica?

There is a bar with a zoom button on it, and it takes too much room. How can I disable it? Appreciate any help! Thank you!
6
votes
1answer
131 views

Remap Ctrl+Space?

The Ctrl+Space keyboard shortcut is really important in Mathematica for using Placeholder[] boxes in input templates. Unfortunately, Ctrl+Space occupies the ...
6
votes
1answer
142 views

Unable to save changes in Option Inspector from one session to another for the Documentation Center

I wanted to change the global option "WindowsSize" to the "large" value using the Option Inspector. It works well for the current session. But then I realize the "Apply" button was greyed and not ...
6
votes
1answer
264 views

Creating a highly customized BarChart

I am trying to create a BarChart visualization for multi-step data filtering. Think of a traditional sales funnel: many leads, fewer prospects, few customers, very few return customers. The only ...
6
votes
2answers
228 views

Select Cells to End of Notebook

I'd like to create a keyboard shortcut that will allow me to select all of the cells from the current cell until the end of the notebook, similar to how ShiftCtrlEnd functions when editing text in ...
6
votes
1answer
330 views

How do I remove the top bar and bottom bar from the 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 ...
6
votes
2answers
150 views

Is Package development (via InitializationCells) compatible with creating new Notations (via MakeExpressions)?

Can new (lower-level) notations be readily used within package code? There are a few notational additions that might improve my code base but I'm not sure if these will end up being more trouble than ...
5
votes
1answer
402 views

Is it possible to suppress 'Out[xxx]=' without suppressing 'In[xxx]:='?

While I have not exhaustively searched Help/Documentation Center for an answer to my question, I have put forth a yeoman's effort without any success. Does anyone ...
5
votes
3answers
285 views

Customize startup

Is there a way to personalize the startup? I want, for example, that mathematica starts Maximized (not slightly-less-than-maximized as it usually does) with a notebook (also maximized) with a zoom of ...
5
votes
2answers
947 views

Windows IME Chinese blocking shortcut for ctrl + space

I currently use the Windows IME on Windows Vista to allow myself to type Chinese characters (not in Mathematica), and by default typing CtrlSpace switches between the English keyboard and the Chinese ...
5
votes
1answer
214 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: ...
5
votes
0answers
119 views

Units: Custom-defined units possible?

Converting between revolutions per minute (RPM) and revolutions per second (RPS) is not straightforward for me in Mathematica. I know that $1\; \text{RPM} = \frac{2\; \times\; \Pi\; ...
4
votes
2answers
160 views

How to display cell groups in documentation pages

I recently introduced my WildCats package in the Meta Thread What third-party packages do you use? and @Szabolcs promptly observed that: "I noticed that there are many cell groups in the documentation ...
4
votes
1answer
86 views

Is it possible to enable syntax highlighting for \[Function]?

This is a bit of a long shot but I am wondering if it is possible to enable syntax highlighting in a function defined with \[Function] without resorting to anything ...
4
votes
2answers
186 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
114 views

Can I customize In[] and Out[] headers?

Can I customize the In[] and Out[] headers? I'd like to add $UserName, ...
3
votes
2answers
106 views

How to open directly the help/reference window from a notebook

I'm used to do ??symbol when I want the reference for a given symbol, then I click on the >> arrows to open the help window. Would it be possible to ...
3
votes
1answer
215 views

Quick way to invert a fraction

Over the years of using Mathematica, I find myself doing something along the lines of rewriting this: $\frac{[A^-_F]}{[A^-_U] + \frac{[H^+][A^-_U]}{\kappa_1}}$ as this: $\frac{[A^-_U] + ...
3
votes
1answer
221 views

Extraneous Keyboard Shortcut for ctrl + '^' in Mathematica 8

I would like to use the keyboard shortcut Ctrl^ to enter a superscript. I have tried to type this two different ways, and each time i have gotten an undesirable result. According to the file ...
3
votes
2answers
94 views

How to make the GroupOpeners visible in the SlideShow regime?

I am preparing a presentation on Mathematica and realized that though I made the GroupOpeners visible in the working regime (through the OptionInspector), they are invisible in the regime of the ...
3
votes
0answers
81 views

Stylesheet modifications mimicking Stack Exchange styles

I find myself frequently highlighting and formatting portions of text cells in a Mathematica notebook. Bold and Italic typesetting is easy to handle but I would like to use ...
3
votes
0answers
114 views

How to change Mathematica cursor globally?

I usually use my OS with negative colors (to keep my eyes calm...). I had seen a function called MouseAppearence that changes the cursor. I would like configure ...
2
votes
2answers
115 views

How to unprotect GeneratingFunction

I'm trying to add custom downvalues for GeneratingFunction, and to do so I thought I just had to Unprotect it. However, that ...
2
votes
4answers
180 views

Redefine ArcCot to be inverse of range [0, Pi]

Mathematica implements ArcCot function as an inverse to Cot on range [-Pi/2, Pi/2]. I ...
2
votes
2answers
256 views

Aligning Text Using Spaces While Maintaining Pretty Print

To help illustrate my problem, consider the following cell: First thing to notice is that there is syntax highlighting. Second, I can pretty print mathematics; that is, I see $x^2$ instead of ...
2
votes
2answers
98 views

What is the best way for an application to provide customisation options for the user?

Suppose that an application needs to be configured specifically for a user's system. e.g. the application needs to be told the location of certain data directories. What is the best way to provide ...
2
votes
1answer
67 views

Change “Format type of new input cells” to InputForm

In Preferences -> Evaluation there is a menu to change "Format type of new input cells" and the only options available are: StandardForm, TraditionalForm, and Raw InputForm. Is it possible to set ...