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

learn more… | top users | synonyms

6
votes
1answer
157 views

Remove variable from autocomplete - version 10 issue?

I've got a program that's fairly long. Occasionally I ClearAll some lists that I created. That works fine, but those lists continue to show up in the autocomplete. Is there anyway to remove them ...
10
votes
2answers
2k 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 ...
4
votes
2answers
100 views

How to make a function that can return the box with information?

In the version 10, a lot of functions returned a box with brief information which is very useful. For example: Interpolation[{1, 2, 3, 5, 8, 5}] So what's ...
3
votes
1answer
120 views

How to preserve In/Out tags like what they did in documentation files

Every evaluation generates a pair of In[n]/Out[n] signs tagged before actual input and output. Like the following: If I save the file, close it and re-open it, that In[n]/Out[n] signs will ...
3
votes
1answer
214 views

Parallel kernel and front end

I have a piece of code which looks like this: ParallelTable[ Monitor[ Table[ <code here> ,{i,i1,i2]; ,i]; ] so basically a ...
0
votes
1answer
91 views

How to force Manipulate to use preserve control settings over successive evaluations

I have this Manipulate: Manipulate[Plot[Sin[a x], {x, 0, 2 Pi}], {a, 0, 3}] Now, I realize I had mistyped the expression and it's actually ...
5
votes
3answers
232 views

How to highlight the whole selected cell

Is there any way to highlight the whole selected cell? some times if I want to delete a certain cell and if the code is long and cells are without output, it is hard to know which cell that you are ...
0
votes
1answer
157 views

Multiple Mathematica notebooks in a tabbed window with line numbers

I have the following questions: Is there a way to open multiple mathematica notebooks in tab group rather that each mathematica notebook opened in separate window? Is there a way to display line ...
1
vote
0answers
83 views

Help function ? sometimes doesn't show help

I was just wondering if this is a known bug. When I want to get basic help using the ? command before some function name, it typically works for a while, but I've ...
0
votes
0answers
98 views

Invisible characters being inserted into the output from FindMaximum

I have been using Mathematica for quite some time but I have never seen anything like this. It started without warning and I am not sure how to fix this. Please have a look at the following example ...
2
votes
1answer
98 views

How can preserve my manual edit of an expression when exporting to LaTeX?

Context I would like to use the Mathematica front end to pre-process expressions before exporting them to LateX, for the sake of readability. Example Say I have this expression ...
8
votes
1answer
288 views

Why do Tooltips slow down Dynamic so much? Is there a faster alternative?

I'm working on a Dynamic ListPlot with a few thousand plots, and it seems that wrapping the points with Tooltip slows the Dynamic responsiveness substantially. With the simple example below, dragging ...
2
votes
1answer
232 views

Mathematica script - Using front end

I'm running Mathematica on OS X and I want to create an Automator action that converts spreadsheet files. I have written this script: ...
2
votes
0answers
51 views

How to apply by default the style to the Cell instead of the selection?

It's a bit tiresome repeating Ctrl+., or $\uparrow$, Shift+$\downarrow$ (in Mac), or grabbing the mouse to select the bracket every time one want to change the cell style. As style commands on empty ...
1
vote
1answer
219 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 ...
4
votes
1answer
186 views

DynamicModule inconsistent behavior; was: DynamicModule persistent UI changes

Update: I'll restate the question in hopefully more terse and clearer terms. To illustrate the issue, run this and save the resulting notebook: ...
1
vote
3answers
123 views

How can I timestamp a notebook?

Ok I must be missing something. I have a section with the "last updated date" in a text cell, I'd like it to autoupdate. Is there a "insert current date" command hidden away in some menu? Edit How ...
2
votes
0answers
49 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 ...
2
votes
1answer
227 views

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

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 ...
9
votes
2answers
293 views

How to change the appearance of a Cell GroupOpener?

I would like to change the Cell GroupOpener appearance. In the present Mathematica design it is too small and can be missed by a reader unfamiliar with Mma. I know, how to change its color through ...
6
votes
0answers
151 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
1k 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 ...
8
votes
3answers
233 views

Graphics in Notebook Different from Graphics Expression?

Consider the expression TreeForm[a+b^2+c^3+d] which displays as This is a nice Graphics object, as I can prove by typing ...
6
votes
0answers
288 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? ...
1
vote
2answers
694 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
1answer
140 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
95 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: ...
1
vote
0answers
76 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 ...
6
votes
4answers
185 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 ...
2
votes
0answers
81 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 ...
2
votes
1answer
160 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
47 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 ...
18
votes
2answers
549 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 amended some of its bugs. In the process, though, some older functionality has ...
2
votes
1answer
219 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 ...
1
vote
0answers
80 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
100 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 ...
4
votes
1answer
589 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 ...
13
votes
2answers
365 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 ...
1
vote
1answer
65 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 ...
1
vote
1answer
395 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) ...
4
votes
1answer
85 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.
14
votes
2answers
377 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 ...
2
votes
0answers
83 views

Is there a function similar to SQL's Iserror? [duplicate]

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 ...
6
votes
0answers
165 views

What is the difference between NotebookEvaluate and FrontEndToken

I am wondering what exactly are the differences in using NotebookEvaluate[filename] vs ...
11
votes
2answers
256 views

How to suppress Tooltip in built-in templates?

...or maybe switch the message. But I will be happy with no Tooltip at all. I've naively tried with ...
3
votes
1answer
191 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") ...
4
votes
0answers
115 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 ...
0
votes
0answers
132 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 ...
4
votes
1answer
184 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 ...
1
vote
1answer
150 views

how to show or find full path of file listed in the File->Open dialog?

This question was posted 2 days ago at community. I had a good answer but it does not quit do what I wanted. Hence I am trying here to see if someone might know of some other solution. Here is the ...