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

learn more… | top users | synonyms

4
votes
1answer
77 views

Strange appearance artefact in ActionMenu

I've noticed a strange thing with ActionMenu which can also be seen in the documentation for V9 and V10 on OS X. It seems that when an ...
6
votes
1answer
138 views

There is a button in the “basic math assistant” which wraps highlighted text in chosen brackets. Is there no keyboard command for this?

This counts as something of a basic question, but one for which I cannot find an answer. I checked the documentation, I checked google, I searched it here, I read a bunch of different things, but ...
6
votes
1answer
115 views

Limit characters/digits entered into InputField

When using InputField, whether setting the input type as a Number or String, is there a way ...
0
votes
0answers
44 views

Unable to start the front-end

I just updated to Mathematica 10.0.2, and was hoping that it would fix a problem that I had been having where I go to run Mathematica and nothing comes up. If I open task manager, I can see that ...
4
votes
1answer
121 views

What is “MouseDragged”?

Maybe I'm picky but I don't consider static pressed button: "dragging". EventHandler[Framed[1], {"MouseDragged" :> (Print@RandomReal[])}] neither does ...
3
votes
2answers
193 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
1
vote
1answer
50 views

Programmatically selecting non adjacent Cells

One can of course Ctrl + MouseClick to select 1st and 3rd cell. But how to select non adjacent Cells programmatically? I was looking for neat examples here or in ...
2
votes
1answer
81 views

How can I make new outline cells be created above the current cell on return?

When you hit enter inside an item styled cell (e.g. Cell["", "Outline1"]), a new cell of the same type is created underneath the cell you are currently editing. ...
2
votes
2answers
52 views

How to programatically set options for a selected word?

I want to create a palette with buttons and have it apply to the selected word. No matter what combination I try it always applies it to the entire cell. Imagine that in the sentence: ...
1
vote
1answer
66 views

Why does Mathematica Spawn Additional Dock Icons on OS X?

I've been running a calculation in parallel that requires a rasterize, and doing this requires one to wrap the rasterization with a UsingFrontEnd command (as is ...
2
votes
1answer
95 views

How to mimic Org-Mode with cell dingbats?

I love using org-mode to organize my to-do lists, the functionality is amazing, but it suffers from being stuck inside the emacs terminal... I'm hoping to replicate some basic features into a ...
4
votes
1answer
133 views

How can you resize all the images in a notebook section?

I've pasted a large number of photos and they are too big which makes scrolling hard. Is there a way to automatically have mathematica size them to 10% or something reasonable without have to click on ...
6
votes
1answer
113 views

Can a field be used for both input and output (example: exchange rate calculator)

Suppose I want to build a simple currency converter like this one: The functionality is straightforward: enter an amount in any field box, it gets converted into other currencies whose fields are ...
2
votes
1answer
81 views

How to dynamically filter cells in a notebook?

I have a notebook in outline form and a docked cell with a TextField[] for searching. I'd hide and show cells in a notebook to filter the cells based on the search string (any maybe type of cell and ...
1
vote
0answers
40 views

Faded output is printed from dynamic object

When an output cell is generated by e.g. dynamical object, the output is printed faded out. This behaviour was introduced in v10 with multiple undo to indicate if an output cell is decoupled from its ...
0
votes
0answers
32 views

Possible bug in shallow representations of expressions in messages

I got the following message in Mathematica 10.0.2: I do not have questions about the message itself, but rather about its representation. The program was maninulating with mathematical expressions ...
5
votes
0answers
81 views

How to execute code on FrontEnd quit?

I would like to execute a block of code whenever the FrontEnd quits. I know about $Epilog, but it seems that this would execute every time the kernel quits, which ...
11
votes
2answers
525 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 ...
2
votes
1answer
58 views

fields entry in ref/StreamPlot

In the ref/StreamPlot help file in Mathematica 10.0.2, we see the following image: Can someone explain how I would type this into an input cell?
10
votes
3answers
556 views

How to select all initialization cells?

Is there an easy way to select all initialization cells (and only those) in a Mathematica notebook?
8
votes
1answer
130 views

How to assemble and disassemble a function into steps

I've watched many programmers (both novice and expert) write functions in Mathematica and have observed a common behavioral pattern. This pattern has many elements that would be automated and thus ...
8
votes
1answer
107 views

Setting up tunnel to access compute nodes behind private LAN via front-end

Context I find the front end on macos way more convenient and I would like to keep my notebooks on my macbook. On the other hand, I have access faster multi-core linux machines behind a LAN. Hence I ...
27
votes
2answers
1k views

Mathematica 10 Notebook Fonts Look Bad

Bug introduced in 10.0.0 and persisting through 10.0.2 or later I've upgraded my home installation of Mathematica from version 9 to 10 today on a Windows 8.1 machine, and I'm getting a weird font ...
17
votes
1answer
196 views

How to format usage messages such that function templates are parsed correctly?

Is it possible to format usage messages (with italic arguments etc) such that Mathematica 9 still parses function templates correctly? For example, plain usage messages work when pressing ...
10
votes
2answers
201 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 ...
5
votes
1answer
98 views

ListPicker with conditional selection

I am reading data from a SQL Database and want to manually sellect multiple rows. ListPicker works very nicely, the only added complication is that I need to not only select the records, but also ...
2
votes
0answers
144 views

Can't type in notebook in version 10

After upgrading to version 10, I sometime get into the situation that I can enter nothing to the notebook. The Mathematica seems alive but it doesn't take any input from the keyboard. I tried to quit ...
5
votes
0answers
243 views

Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors

Bug introduced in 10.0.0 and persisting through 10.0.2 or later I have found that attempting to Save Selection As... in a magnified Notebook fails with errors. On my system it can be easily ...
5
votes
2answers
118 views

How to set InputAlias for all future notebooks that are opened in current session?

This code (SetOptions[#1, InputAliases -> {"xx" -> "X"}] & ) /@ Notebooks[]; will define the alias [esc]xx[esc] to ...
5
votes
0answers
125 views

Linux: Mathematica crashes when clicking documentation links very fast

Can someone confirm the following behavior: Open a new Mathematica and go to the documentation. Navigate to any reference page (I used RegionPlot) and click ...
9
votes
1answer
155 views

In version 10 EvaluationCompletionAction “ShowTiming” no longer gives useful output; any solutions?

Bug introduced in 10.0.0, fixed in 10.0.2 In version 10 using this Front End option no longer gives useful output: ...
3
votes
0answers
81 views
1
vote
1answer
39 views

Specify format to NotebookSave

When I save a Mathematica notebook using the front-end Save dialog, I can specify the format: However, the documentation for the NotebookSave command indicates ...
1
vote
0answers
60 views

How to keep window above all other apps?

You can make a notebook or palette hover above all other mathematica windows with the option WindowFloating: ...
0
votes
0answers
41 views

How to protect cells on a notebook?

I am trying to protect the whole structure of the exam à la façon du exam for the certification as a student in Wolfram (http://www.wolfram.com/training/certification/students/). The specific features ...
9
votes
2answers
252 views

ScheduledTask with scoped variables. Working with timed evaluation

I guess I have to try harder and focus more but timed evaluation always frustrates me. I will show the issue on simple example of delayed trigger. ...
5
votes
0answers
193 views

Colored marks appearing in notebook input text?

What is the causing these colored marks to appear in my Mathematica notebook? I'm particularly annoyed with the black ovals that occasionally obscure parts of the input as I'm typing: I have also ...
9
votes
2answers
162 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 ...
2
votes
0answers
49 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 ...
2
votes
1answer
192 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: ...
4
votes
1answer
286 views

“Choose how to enter input” - leave me alone

How to get rid of: I can't find the appriopriate entry in Option Inspector or in WolframPredictiveInterface
11
votes
3answers
265 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.: ...
0
votes
0answers
62 views

Blank sequences do not display anymore as continuous lines

BlankSequence[] and BlankNullSequence[] "suddenly" do not display anymore as "continuous lines" in my v.10.0.1 (OSX) (of course ...
6
votes
2answers
122 views

Where put or edit an init.m to add menu commands?

In this question, answers were given that worked to add items to some menu commands, e.g., additional colors on the Format > Background Color menu, or Help menu items. I have code for such in an ...
4
votes
1answer
104 views

Manipulate Demo Full Screen

Is it possible to create a demo using Manipulate and then open it in a document that can be expanded to full screen?
12
votes
1answer
267 views

Automatically execute command after save

I want to run some code automatically after saving my notebook. Is there a $ variable or setting for this?
3
votes
1answer
120 views

Is is possible add a stylesheet into the menu?

I always use the PastelColor stylesheet in Mathematica 8, since I think it is comfortable to my eyes. But it can be no longer found in the Menu in Mathematica 10, ...
0
votes
0answers
78 views

How to disable multiple document interface (MDI) in Mathematica 10?

I want that there was no window-in-window interface. How to disable it?
11
votes
1answer
350 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 ...
3
votes
0answers
214 views

Selection bugs make Mathematica 10 unusable

I'm getting odd selection bugs in Mathematica (10.0.1.0, OS X 10.10) that are making it impossible to use. For example if I simply click before the 'i' in With I ...