Questions related to the Mathematica front-end (graphical user interface).

learn more… | top users | synonyms

11
votes
3answers
597 views

Is it possible to insert an animated image into Mathematica notebook?

I find it very convenient to use Mathematica notebooks to organise the codes + results. I was wondering if it is possible to insert an animated image (say an animated gif) in the middle of a ...
11
votes
2answers
2k views

How to change the style definitions for Default.nb?

I have looked over other questions related to style definitions, and looked through the Mathematica 8 documentation, but I do not know why I am having so much difficulty setting the default font in my ...
11
votes
2answers
406 views

How can I make a cell that contains an image which can be shifted?

When you're looking at some help pages, they may have cells containing images which can be shifted within the cell by left-clicking and dragging the mouse. Here is a sample: ...
11
votes
1answer
223 views

Programmatically minimize mathematica?

I can minimize a notebook easy enough with Mathematica code, but how does one minimize all of the Mathematica front end? Just as if you clicked the minimize button on the menu bar? This is for ...
11
votes
2answers
545 views

Take screenshot of the entire desktop using Mathematica

Is it possible to get a screenshot of the entire desktop directly in Mathematica? I am on Ubuntu running Mathematica 8. For some reason GUIScreenShot[] fails. But ...
11
votes
1answer
178 views

Predictive code completion and custom functions in contexts

Suppose I work for organisation PQR, and have been developing a suite of packages, PQRUtilities, PQRVisualization etc, all of ...
11
votes
1answer
893 views

How to specify default style in Mathematica 9

In Mathematica 8, I can use GraphicsBoxOptions->{DefaultBaseStyle->{"Graphics", FontFamily -> "Helvetica", FontSize -> 14}} to specify the default font ...
11
votes
2answers
679 views

Start Mathematica without the menu bar?

Is there any way to start Mathematica without the main menu bar? To be precise: Sometimes I make standalone mini-applications that I would like to just have in their own little windows without the ...
11
votes
2answers
256 views

Is it possible to create Evaluatable cell which will be automatically overwritten?

Am trying to generate an Evaluatable cell which itself is an output cell which will be overwritten when the original Input cell ...
11
votes
1answer
344 views

Better Autocompelete for the Front-End

I wonder if it is possible to improve the front-end's autocomplete capability. Compared with some other more sophisticated editors/IDEs, such as eclipse, Mathematica's front-end does not provide a ...
11
votes
2answers
255 views

can a ColorFunction have side effects?

Can anyone explain this (to me) odd behavior. If I run this code once (fresh kernel) it works as intended. ...
11
votes
1answer
145 views

Text replacement rules in $FrontEnd?

I want to set up a part of my Mathematica package so that typing <-Space is replaced with the left arrow character ( or ...
11
votes
3answers
221 views

How to sort cells in a notebook based on cell tags?

Suppose I have a notebook with cells tagged with both numbers and words with numbers always list first, and some cells without cell tags e.g.: ...
11
votes
1answer
686 views

Toolbars in Mathematica

Mathematica seriously lacks some useful toolbars. I wonder why keeping a totally barebone gui is part of WRI's policy? Would such a feature be so platform-specific that it does not worth design it? I ...
11
votes
1answer
165 views

Cell brackets on left side?

Is it possible to have the cell brackets on the left? I looked through the options and couldn't find anything, but maybe it's some kind of esoteric style setting or something. The reason I'm looking ...
11
votes
2answers
317 views

Memory leak in FE?

A very abridged example of what was originally a major leak ...
11
votes
1answer
238 views

Implementing bookmarks in the front end when editing a package

Sometimes when working on larger pieces of code or on a larger package I really miss the option to bookmark the current line/position in the code. Since the front-end is quite extendable my question ...
10
votes
5answers
402 views

How do you change the font size of a Manipulator label?

I have a stand alone Manipulator (it is not in a Manipulate) and would like to know how to alter the style of the label. There ...
10
votes
2answers
1k 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
1k views

How to get the new font in Mathematica 10?

Trying out Mathematica 10 and I still get the Courier font, not the new font shown in all of the examples on Wolfram's website. Anybody have any ideas how to get the new font working? Running on Mac ...
10
votes
3answers
491 views

Multiple notebooks in Mathematica

While working with multiple files in Mathematica, is there a way to have the names of the files appear along with the minimized window of the file. I mean that sometimes I forget which file was places ...
10
votes
2answers
401 views

Syntax highlighter shows error for Manipulate when it's inside a Block or a Module

I'm putting my new copy of Mathematica 10 through its paces and I noticed a weird change in the colouring scheme that I find very annoying, and I'd like to get some insight into why it's happening. ...
10
votes
2answers
394 views

Is there a way to interactively read a point from a Graphics3D?

Suppose I have a tesselation, e.g. the Stanford bunny: bunny = Import["http://graphics.stanford.edu/~mdfisher/Data/Meshes/bunny.obj", "OBJ"] I'd like to be ...
10
votes
3answers
483 views

How to select all initialization cells?

Is there an easy way to select all initialization cells (and only those) in a Mathematica notebook?
10
votes
3answers
491 views

Programmatically quitting the FrontEnd or running without one?

I have a conundrum. I use an iMac's OS X 10.6.8 settings to start and stop the machine at the specific times that I need a particular notebook to run. I've done this because it has worked more ...
10
votes
3answers
240 views

Intermediate display similar to PrintTemporary

Using MMA we often come across situations like the following cityLIST = CityData[#, "Name"] & /@ CityData[]; This code if you evaluate will emit some display ...
10
votes
2answers
420 views

Move the cursor in a notebook using the keyboard

How can I move through a notebook using only the keyboard? If one tries to use the arrow keys, the cursor tends to get "trapped" in comments and error messages.
10
votes
1answer
336 views

How can I style text like in the documentation?

I'm writing an article, and I really like this style that you get when you type ?AnyFunction. Is it possible to achieve this?
10
votes
3answers
504 views

How to anchor a Pane's scroll position to the bottom?

Suppose I have a Pane containing some dynamic text, for example that is being updated by a logging function. ...
10
votes
1answer
398 views

How to pipe a stream to another notebook?

Can I pipe an OutputStream object created by OpenWrite (or similar) to a notebook instead of a file? I am aware that I can use ...
10
votes
1answer
160 views

Are formal characters like \[FormalA] to be used differently than other symbols?

I noticed that Mathematica has a set of special 'Formal' characters such as \[FormalA], \[FormalB] , etc.. In the front end, it ...
10
votes
1answer
1k views

How to work around Mathematica hanging when showing a large SparseArray?

Note: This is fixed in 9.0.1. In Mathematica 9, if I display any large SparseArray object in the default way (which looks something like ...
10
votes
2answers
187 views

Evaluate selection in new window or new notebook?

Sometimes when you have long code you need to check some part of this code. the way I am using currently is to selected the part that I want and then copy it to new notebook and then evaluate it ...
10
votes
1answer
363 views

Predictive interface eats my Esc key

After updating to version 9, I found the predict interface very helpful except there is a small problem always annoying me: Consider this: I have a list ...
10
votes
1answer
425 views

Poor anti-aliasing in Rotated text with ClearType on

There is a problem on my system that occurs when text is rotated 90 degrees as it is in frame labels. This only happens when ClearType is turned on, and only around 90 degrees of rotation. I am ...
10
votes
2answers
432 views

Annoying FrontEnd bugs in Mathematica 10

Recently I installed Mathematica 10 on Windows 8 x64 machine. Before that I had a prerelease version of Mathematica 10 installed on my laptop. I observed very annoying bugs in the FrontEnd on both ...
10
votes
1answer
217 views

Mouse gestures or keyboard shortcuts for navigating forward/backward in the documentation center

Is there any way to get gestures (e.g. trackpad- or Magic-Mouse-swiping left/right) to work for navigating forward and backward in the Mathematica help browser, particularly on a Mac? If not, what are ...
10
votes
2answers
218 views

Is there a way to control V10's undo length?

This may be a duplicate (if so I will remove this), but I was having trouble finding the relevant bit of documentation to fix it. I noticed that my FrontEnd memory ...
10
votes
1answer
401 views

Creating custom notation

How does one generate custom symbols? For example, the physicist notation for the rotation is "nabla cross function". In this case however, Mathematica complains that the ...
10
votes
1answer
1k views

What is the full list of all font families?

I'm having trouble finding a complete list of the FontFamily strings that mathematica supports.
10
votes
2answers
177 views

How to force neat linewrapping in Print?

I am regularly annoyed by the fact, that a neatly arranged Print statement gets ruined by a large piece of data, which - instead of linewrapping "in place" - is ...
10
votes
1answer
147 views

Notebook with a WindowOpacity too small becomes “click-through” for mouse

I created a notebook and was manipulating its WindowOpacity option: ...
10
votes
3answers
325 views

Typeset unbalanced brackets

In LaTeX, you can typeset expressions containing unbalanced brackets, by balancing them with an invisible delimiter \left. or ...
9
votes
2answers
250 views

What is this character: [esc][comma][esc]?

What is the character obtained with they key sequence Esc,Esc called? On my front end it is not displayed, but there's something there messing up my input. It's a bit annoying when I'm after a $\mu$ ...
9
votes
2answers
202 views

How can I make Which format its output?

Functions like Piecewise have cool, easy-to-read formatting. In the same vein, I think it would be wonderful if the Which ...
9
votes
2answers
610 views

How can one define an infix operator with an arbitrary unicode character?

You can setup "UsefulFunction[a, b]" to use custom infix notation "a [LeftRightArrow] b" as follows: ...
9
votes
2answers
256 views

MouseAppearance and cursor problems

I have to create a Graph object, which can be manipulated by the user, though I do not want to have the Graph-specific cursor ...
9
votes
2answers
144 views

What are the purposes of functions in FrontEnd` context which are duplicates of those in System`?

I noticed that for notebook-related heads, there are usually a pair of same functions, one in System context, another in ...
9
votes
2answers
248 views

Listing all celltags in a notebook

Is there a command to obtain all the CellTags and the style of the cell they are in? This question is derived from this question which was answered by jVincent. ...
9
votes
2answers
334 views

What is the simplest way to set the toolbar of a notebook to an image?

For custom stylesheets, it's nice to have a graphic banner in the Docked Cell. According to the doc page tutorial/IntroductionToToolbars, this is how you do it, but it seem a bit overkill: ...