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

learn more… | top users | synonyms

7
votes
1answer
131 views

How to change the appearance of a group opener?

I would like to change the GroupOpener appearance. In the present Mma design it is too small and can be missed by a reader unfamiliar with Mma. I know, how to change its color through the ...
2
votes
0answers
37 views

$Failed below input area of new cell in notebook

The Mathematica 9 installation on my laptop has developed an odd feature. Just underneath the grey line indicating the input area for a new cell, the expression ...
1
vote
1answer
57 views

Same Mathematica 9.1 Student License on both Ubuntu and Windows 7 [on hold]

Is it possible to install Mathematica 9.1 on both Ubuntu 12.04.3 LTS and Windows 7 Home Premium on the same machine. I want to be able to use Mathematica on Ubuntu since I wrote some numerical codes ...
6
votes
0answers
109 views

Automatic replacing of [ with []

I tried to modify the KeyEventTranslations.tr file in order to always place a closed bracket instead of an open bracket once I press ...
2
votes
1answer
142 views

Running a shell script within Mathematica

The title pretty much explains it and I have not found something similar already posted. Perhaps I am not searching for the correct title or maybe this is something very basic, but I would appreciate ...
3
votes
1answer
517 views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
2
votes
0answers
86 views

How to restrict the mouse cursor to stay within a box?

I'm trying to use Mathematica to write small games, and I find that it would help to restrict the player's mouse into the game window (just like other games do). Is there any way to achieve this? ...
2
votes
1answer
192 views

Ubuntu global menu bar integration?

Is there a way to integrate the Mathematica menu bar into the Ubuntu Unity global menu bar at the top of the screen? (I'm not looking to run mini-applications.) Thanks!
1
vote
2answers
85 views

How to evaluate Modules in a notebook from another notebook?

I would like to create a notebook populated with several modules and be able to evaluate these modules by running a separate notebook. I have attempted several uses of the ...
6
votes
3answers
131 views

How to select only NotebookObjects that are referring to ordinary notebooks? (not palettes etc.)

There is of course function Notebooks[] But, unfortunatelly it hasn't got useful options in this context. My question is how to pick ...
6
votes
1answer
110 views

Keyboard shortcut for moving to last edit location/cell

When you have long notebook with hundreds of cells, you sometimes need to scroll/jump manually to your last edited cell. I dind't find any shortcut for doing that. Any ideas?
1
vote
0answers
86 views

Auto-complete for user defined functions [duplicate]

If I define a symbol in Mathematica, it doesn't show up in the autocomplete list that works for symbols in System. Test code: ...
11
votes
1answer
239 views

What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...
1
vote
0answers
52 views

Controlling output of graphics, the role of “;” and code structure/formatting

";" is described under Compound Expression as a delimiter, such that only the output of the last item in the compund expression is given. Situation: 1/ Print[] produces output whether followed by ...
2
votes
0answers
61 views

Front End - Bug in Edit->Find?

As a beginner I make notes in my notebooks on what I am learning as I go along, and I have also referenced the help files by pasting hyperlinks from them - this seems to break the Find function. Is ...
1
vote
1answer
75 views

Resizing palettes

My eyes are weary and my sight grows dim, so I used the zoom control bottom-right in the palette. Unfortunately, having zoomed in the palette window cannot be resized - so I can't see the rhs - and ...
2
votes
0answers
33 views

Limiting scope of Front end “Replace All” in Find & Replace

The warning on find and replace isn't explicit and I only found out after an almost harmless global change that I really was replacing ALL, not just all instance in my selection (which is where most ...
0
votes
0answers
48 views

Front End editing [duplicate]

As a new Mathematica user I have been grappling with many aspects of its powerful capabilities but am now beginning the find the front end very disappointing in a number of respects. Lack of ...
24
votes
3answers
657 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 ...
13
votes
2answers
389 views

Most influential and/or disrupting features introduced with new versions of Mathematica

This is something that has been bugging me for ages. With every upgrade, Mathematica has added new functionalities and amendend some of its bugs. In the process, though, some older functionality has ...
2
votes
1answer
123 views

Render dynamic Graphics objects static

As was discussed in the comments of another question (MathLink Graphical Output (Plots) to File), Graphcis objects produced by commands such as ...
3
votes
1answer
180 views

Font Issues: “Like Resource 58” error

I'm running Mathematica 9.0.0 on a Macbook Air with OSX 10.6.8 and I've recently started having issues with the font in the program. All special characters are being replaced with other characters in ...
1
vote
0answers
50 views

Why has my syntax coloring changed?

Local variables in Module are no longer specially colored for me, but other syntax coloring remains, for example iterators in a ...
1
vote
1answer
75 views

Custom highlighting in definitions

Suppose we defined a pattern with custom pattern name provided by user, like Quiet[myCustomPattern@terms_ := f[terms : (_[_, _])..]] for use in further ...
11
votes
1answer
287 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 ...
1
vote
1answer
128 views

How to open/close all collapsed/open cells?

Is there a way to open/close all collapsed/open cells? The reason is for a long notebook, it is convenient to see all the section and subsection headings at once.
5
votes
1answer
95 views

Syntax formatting when Condition is used with Blank

Consider the following codes: x_/;x>y Condition[x_,x>y] Condition[Pattern[x,Blank[]],x>y] All the three codes are equivalent. As we can see, in the ...
4
votes
1answer
129 views

Using Mathematica in Conjunction with LyX. Path Issues?

I am attempting make life easier, and, instead of using Mathematica at the same time that I'm using LyX (a front end for LaTeX), I was hoping that I could just use LyX and use the CAS option to do ...
16
votes
4answers
394 views

How can I make an InputField with a proper newline/carriage return?

The return key does not work as expected in an InputField, how can I overcome this?
4
votes
2answers
162 views

Prevent Grid from resizing images

Aligning my images in Grid causes one of them to become smaller, despite specifying each of their sizes with ImageSize: ...
15
votes
3answers
638 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.
12
votes
2answers
185 views

Get Coordinates 4 significant digits limitation

The tool "get coordinates" (clicking on a plot), seems to work with a fixed number of significant digits (4), in a way that we can quickly lose sensibility (the tool really becomes useless). The ...
14
votes
2answers
277 views

refer to result of cell above current cell?

% allows to refer to the result of the preceding calculation (preceding in time) but this seems not necessarily to be the cell just above a given cell. How can ...
1
vote
1answer
38 views

Palette created by my code doesn't work

I think I am lost on some basic issue ... I created two CellTags, tagone and tagtwo If I create this palette inputting the following code by hand I get a beautifully working palette that makes me ...
2
votes
1answer
173 views

Autocomplete short symbol names in non-global context

Is it possible in v9 to autocomplete the short symbol names when one is operating in a context other than Global`? I.e. after evaluating the following: ...
1
vote
1answer
95 views

Comment color in a notebook

My requirement: Comments should appear within a notebook in blue and font size 12 and in Courier by default. This should work on not just my machine (by tweaking the preference of MY Mathematica) ...
3
votes
1answer
69 views

How to keep track of notebook dimensions

I want to create a cell that will resize automatically if the notebook is resized. I was hoping to find some function called NotebookDimensions[], and use it dynamically.
2
votes
0answers
74 views

Is there a function similar to SQL's Iserror?

I have an output which I want to hide if there is an error otherwise display it. The output is a Dynamic[output] so I can't simply use something like ...
3
votes
1answer
198 views

How to configure two Mathematica in different places with different settings

For some reasons, I should use two language versions Mathematica. The most reason is I want to see the comparison of Help page(English version and Chinese version) to improve my English, both are ...
4
votes
1answer
117 views

Prevent Mathematica from “romanizing” a string of letters?

When I'm authoring in text style (Alt-7), I'll often include inline math. Whenever I enter two or more consecutive letters (e.g., $ax^2$), Mathematica will automatically "romanize" (or "un-italicize") ...
14
votes
1answer
209 views

How to programmatically remove menu items

I would like to do the opposite of what is described here. So rather than add a menu item I would like to programmatically remove one (or more). So given a knowledge of the structure of the menu *.tr ...
5
votes
0answers
76 views

What is the difference between NotebookEvaluate and FrontEndToken

I am wondering what exactly are the differences in using NotebookEvaluate[filename] vs ...
17
votes
1answer
1k views

Why are some function names red?

I need to evaluate Needs["GraphUtilities`"] before I can use functions such as GraphPath[]. When I do so, some functions get ...
4
votes
0answers
102 views

How to Check Spelling strings written inside input cells

Is it possible to check the spelling of strings? Strings are often used to show messages in my user interfaces, and I would like to have an automatic checking. Methods that export all the strings to ...
5
votes
0answers
95 views

How to keep $FrontEnd options from resetting?

I'm trying to get Mathematica to look in a different, version-tracked folder for the 'TextResources' files that it uses to build the Front End. I've prepended my version-tracked folder path to the ...
4
votes
0answers
226 views

Front-end glitch when interacting with dynamic content

This is now bugging me too much to ignore it anymore. When I interact with a notebook that has dynamic content, for example moving a slider, Mathematica regularly brings other open notebook windows to ...
108
votes
1answer
3k views

Implementing efficient multiple undo

The Mathematica Front End's built-in Undo command can only undo a single editing step. Has anyone implemented or seen implemented an efficient and comfortable multiple undo? I have in mind ideas ...
6
votes
3answers
377 views

Is there a notebook autosave frequency configuration?

I've had Mathematica crash on me a number of times, and have had to recreate notebook contents from the last save point. I was looking for something in the preferences like an autosave frequency ...
0
votes
0answers
51 views

Scroll bar glitch when entering full screen mode at magnifications higher than 100%

I noticed that when I enter full-screen mode in Mathematica 9 (F12 for Windows) using a magnification of 125% (or any other number higher than 100%) there is a horizontal scroll bar at the bottom of ...
3
votes
1answer
145 views

Forcing Mathematica to recognize a symbol without defining it

In the Mathematica front-end, symbols that have been defined are colored black and symbols with no definition associated are colored blue. This is useful to prevent spelling mistakes. Also, defined ...