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

learn more… | top users | synonyms

4
votes
2answers
127 views

How to use FontWeight options in Mathematica 10.x

I‘m using stylesheets to create customized styles for course materials. That includes using fonts like Gill Sans, and Helvetica (Neue). Up to MMA version 9, it worked. When switching to version 10, ...
2
votes
0answers
41 views

How can I set up a cell style that is ascending dates?

Outline style notebooks have cell counters that are simply ascending numbers, but what if I want to apply a function to them and have descending dates like this: So that they auto format and the ...
9
votes
2answers
141 views

How does $CellContext` work?

The only official info about $CellContext` I was able to find is: placeholder for the context of a symbol inside Dynamic ...
3
votes
0answers
48 views

How can I make a stylesheet that counts subcells?

The example cells in the documentation each have count of the cells inside their section: ...
4
votes
1answer
744 views

How best to embed various cell groups into a latex project?

I'm an author and a coder. I want to reference various parts of my notebooks in my latex project. I've tried doing the following, using a post on the latex side of this problem. I'd like to solve it ...
4
votes
1answer
100 views

Front End options

Inspired by a recent question and others like it, and not finding an existing duplicate, I ask: What is the hierarchy of Front End options? How do they work? How can their values be set and ...
4
votes
1answer
81 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
146 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
46 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 ...
1
vote
0answers
50 views

Where can I find documentation for the File->New->Package window?

I'm using 10.0.0 on OS X. When I go File->New->Package a window similar to a notebook appears, but with different coloration and a row of buttons on the top like 'Update' and 'Run Package'. I'm not ...
4
votes
1answer
149 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
233 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 ...
2
votes
1answer
68 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
82 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
56 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
77 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
104 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
83 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
138 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
123 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
91 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
83 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
34 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
65 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
89 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
104 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
154 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
121 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
140 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
108 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
85 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
134 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
63 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
170 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
303 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
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 ...
4
votes
1answer
106 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
284 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
81 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
129 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
109 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
26 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
92 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
216 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
234 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
126 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
119 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
147 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
140 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 ...