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

learn more… | top users | synonyms

2
votes
1answer
72 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
83 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
61 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
81 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
114 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 ...
3
votes
0answers
90 views

Why do PopupMenus render inconsistently on Macs?

This has been bugging me for years but because it doesn't effect performance I've never got around to asking. The problem below occurs for me in V8, 9, 10 with OS X 10.8, 10.9 and 10.10. I've tested ...
4
votes
1answer
147 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
136 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 ...
3
votes
1answer
100 views

Faded output is printed from dynamic object

Update: This behaviour happens only if cell grouping is set to Manual (similar to another problem). When an output cell is generated by e.g. dynamical object, ...
2
votes
1answer
86 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 ...
0
votes
0answers
37 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 ...
2
votes
1answer
66 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?
7
votes
0answers
100 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 ...
5
votes
1answer
116 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
161 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
2answers
122 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 ...
6
votes
1answer
181 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 ...
8
votes
1answer
111 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 ...
3
votes
0answers
90 views

how to create a BACK button [closed]

Here is a piece of my code: ...
1
vote
1answer
45 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 ...
8
votes
1answer
146 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 ...
1
vote
0answers
67 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: ...
9
votes
2answers
175 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 ...
5
votes
1answer
308 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
0
votes
0answers
66 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 ...
4
votes
1answer
112 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
290 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?
0
votes
0answers
88 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?
3
votes
1answer
147 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
1answer
117 views

Front-end: How can one programmatically extract window titles?

I would like to programmatically get the titles that appear at the top of notebook windows, particularly for notebooks that have not yet been saved (if they have been saved, I can get the information ...
1
vote
0answers
27 views

Greek symbols are all bold in MM 10 over Linux [duplicate]

I upgraded recently to Mathematica 10, on a Linux system, and I'm quite annoyed to find that all the greek symbols automatically show up in bold: I suspect the issue is some missing font somewhere ...
5
votes
2answers
96 views

How to write Mma notebook input that modifies itself?

Is there a straightforward way to reference and modify a cell from within itself? This is a little outside the ordinary use case and certainly not good practice, but I would like to execute an input ...
3
votes
0answers
223 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 ...
10
votes
2answers
243 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 ...
6
votes
2answers
139 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 ...
5
votes
1answer
120 views

Bug in grouping after editing code?

While looking at A question about conditional replacement I think I discovered a bug in the Front End that affects both 7.0.1 and 10.0.1 under Windows. If I copy and paste this line into a new Cell ...
0
votes
0answers
157 views

Suggestion Bar Gone in Mathematica 9

I was using Mathematica 9 for some time without any problem. And suddenly the suggestion bar dissapear, and i used it a lot. The option "Show suggestion bar after last output" is checked. Also I tried ...
2
votes
4answers
150 views

Frontend: Adding cell-type choices to the “Choose how to enter input” drop-down [duplicate]

In most of the notebooks I work in, I find myself using 2 or three cell-types almost exclusively (typically regular input, and some subset of section/subsection/chapter). A minor annoyance I run into ...
12
votes
0answers
257 views

Colored marks appearing in notebook input text?

Bug introduced in 10 and fixed in 10.2 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 ...
0
votes
1answer
79 views

Zoom settings other than 50% 75% 100%, [duplicate]

Is it possible to choose a zoom setting other than what's provided at the bottom of each Notebook window (50%, 75%, 100%, 125%, 150%, 200%, 300%)?
0
votes
2answers
109 views

Open a .txt file in Mathematica [closed]

i have a .txt file written for Mathematica, but wenn I open it with Mathematica, there is just an unreadable text and no graphs and simulations like it should actually be, could you tell me how to ...
2
votes
1answer
67 views

Error with comments inside and expression

I found this strange parsing error with comments inside of an expression in Version 7. And example is {{1, x}, {1, y} (* {1, z (= 5+6)} *)}; It occurs depending ...
2
votes
0answers
105 views

StyleSheet for custom application

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
3
votes
2answers
199 views

Difference between double quotes

I have a notebook and I enter something like PlotLabel->"my label with dynamic number "<>ToString[strange] and I get errors like However, the double ...
3
votes
2answers
119 views

How can I change the default font size of the Virtual Book?

How can I change the default font size of the Virtual Book?
1
vote
1answer
126 views

Keyboard shortcut for changing style of selected text (NOT the whole cell)

For many years I have been using Alt+Shift+(number) to quickly change the style of text in a text cell. For example when I write descriptive text and want some of that text to look like input form, ...
1
vote
0answers
40 views

Default starting location of “Save as…” dialog in OS X [duplicate]

In the answer to this previous question, user Szabolcs says On OS X (I'm using 10.9 and Mathematica 9) the file chooser dialogue will remember the last location you used. So if you Save/Open ...
9
votes
1answer
161 views

Notebook's WindowSize interference with contents' Dynamic ImageSizes

Bug reproduced in: Win7: V9.0.1, V10.0.2, V10.1.0 ...
2
votes
1answer
112 views

Raising the dead (notebooks)

I have a notebook which has a lot of generated data (which I would rather not regenerate), and the kernel is dead. So, the question is, how do I recover the data in the notebook (I know it is there, ...
0
votes
0answers
66 views

How to add Shift-Enter in external script?

I often generate MMA scripts externally w/ python to copy/paste into a notebook or run MMA directly on that file. I want resulting output interleaved w/ input commands, as would happen when the ...