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

learn more… | top users | synonyms

1
vote
0answers
49 views

Is it possible to maintain the cursor position within a cell following evaluation?

It is possible to evaluate a cell and for the cursor to remain in its position within the code in the current cell? For example, when I evaluate: ...
5
votes
1answer
119 views

How to set different background, input and output colors

I want to create a notebook where the background is one color, the input cells are another color, and the output cells are white. I have tried messing around with Option Inspector and creating a ...
9
votes
1answer
174 views

Evaluating a notebook programmatically with -ne

I am running Mathematica 10.2 on an Ubuntu workstation. I would like to be able to evaluate a notebook through the command line, and save its final state so that I can launch evaluation remotely ...
5
votes
1answer
86 views

Toggle close all input cells in a notebook, keeping output cells open

For presentations, can all input cells in a notebook be toggled open/closed, while keeping output cells open? Either through menu or palette. Probably would not work well programmatically. Related ...
6
votes
0answers
61 views

Front end hasn't crashed yet, but is unresponsive. Is there any way to get my unsaved definitions?

The front-end isn't responding, the only thing I can do is force quit it. Essentially, I can select any window (I have a few open), and I can move the windows, but I can't scroll or anything. There ...
5
votes
2answers
290 views

How to use FontWeight options in Mathematica 10.x

Bug introduced in OSX v10.0.0 and persisting through v10.3.0 I‘m using stylesheets to create customized styles for course materials. That includes using fonts like Gill Sans, and Helvetica (Neue). ...
18
votes
1answer
298 views

Color degrades when using Copy As Bitmap

I have discovered a problem that affects my use of Mathematica. When I use the menu command Edit > Copy As > Bitmap the colors in the copy are subtly degraded. To make this more apparent I copied ...
2
votes
0answers
62 views

Long delays before showing the result in a notebook

I'm new to Mathematica. I have Version 10.3.0 running under Windows 10, 64-bit. If I open the 10.3.0 kernel and type 2 + 2 Shift Return I get an immediate answer. If I open the main program and ...
12
votes
0answers
93 views

Control Front End in “mathlink” mode

Note: This question was already posted in the Wolfram community. In a terminal math session, we can start a front end (FE) easily by launching it though ...
6
votes
1answer
177 views

Problems creating CDF via .NET DLL

I have read several posts at SE and googled a lot, but I still have difficulties to create a CDF via .NET. My first try was the Wolfram example MathKernelApp.exe ...
65
votes
3answers
2k views

Syntax highlighting for your own functions

Mathematica has a useful feature that for functions and special constructs getting passed local variables (for example Minimize or ...
4
votes
0answers
57 views

Bug: quote signs with parentheses followed by superscripts in same cell

(x + 1)^2 where ^2 should be a superscript that I do not know how to display here. If you type in a pair of quote signs ...
8
votes
1answer
85 views

On an existing notebook, how to transform all “double brackets” into “DoubleBracket”

Sometimes, having all double brackets [[...]] transformed into \\[LeftDoubleBracket] ... \\[RightDoubleBracket] can really ...
6
votes
2answers
199 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 ...
5
votes
0answers
51 views

Triggering events based on choices made inside of system dialogs (e.g. window close)

I'm trying to arrange for Mathematica to perform a certain action every time a notebook is saved or closed (with or without saving). The obvious way to do this would be through event handling. So, ...
22
votes
1answer
3k 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 ...
0
votes
0answers
37 views

What causes the insertion point to move independently in a notebook?

I have a notebook with mostly procedural code (not the best) I am translating from FORTRAN 77. When attempting to add more code, the "insertion point" moves independently. Once this happens, I can ...
9
votes
1answer
491 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? I'...
2
votes
1answer
374 views

Borked Find Window in OS X

I've been having this happen to me on a daily basis with the Find & Replace window on OS X: No text can be typed into the red regions, so all find & replace functionality is gone when this ...
13
votes
1answer
167 views
9
votes
2answers
228 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 ...
2
votes
1answer
119 views

How to set up margins in Mathematica to write a paper

I'm trying to do a problem write-up for my quantum mechanics class and would like use Mathematica, since I'm going to be using matrix mechanics, and it seems like the best way to write a lot of ...
11
votes
2answers
552 views

How to pipe a stream to another notebook?

Can I pipe an OutputStream object created by OpenWrite (or similar) to a notebook instead of a file? I am aware that I can use <...
0
votes
1answer
46 views

How to set zoom and screen environment from GenerateDocument?

GenerateDocument does not have any options for settings on the notebook it creates. How do I generate a document with ...
0
votes
1answer
92 views

Can one upgrade versions directly from Mathematica front end?

The copy of Mathematica I use I get through work. Upgrading this copy is always I time-consuming, pointless chore. I think all of it could be automated. Which makes me wonder: Is there any way to ...
3
votes
1answer
69 views

Unique frontend identifier

I'm hoping to find (or assign at startup) an identifier code that corresponds to the frontend session that's running. It should behave like \$SessionID, except ...
14
votes
1answer
196 views

How do I create annotations for functions?

In 10.3, Mathematica starts captioning symbol-names into foreign languages if your Interface preferences are set to have Mathematica in a foreign language. I poked around the ...
2
votes
0answers
118 views

Mathematica's GUI menus look bad on Linux

I installed Mathemaica on Arch Linux several days ago. Everything is well, except for the fact that menus in the GUI look real bad. I have things set up in a way that Qt apps (such as Mathematica) ...
17
votes
0answers
181 views

Front ends gone wild with named slots

Bug introduced in version 10, persisting through 10.3 Assume the following simple expression {#"Test"}& Now go in front of the ...
15
votes
0answers
354 views

Colored marks appearing in notebook input text?

Bug introduced in 10, persisting through 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 ...
13
votes
0answers
94 views

Floating highlighting bug [duplicate]

Bug introduced in 10.0 and not fixed up to 10.2 At some random point in time the highlighting does not disappear any more. By highlighting I mean transparent boxes appearing for find feature ...
1
vote
0answers
75 views

notebooks not opening in mathematica 10 (still, 15 months later) [on hold]

Many of my students have Mathematica notebooks that they cannot open. I think that it's for the same reason identified in the other post with this title from July 2014. If you open a file, DON'T SAVE ...
5
votes
1answer
78 views

Why NotebookDynamicExpression freezes Mathematica on this particular application?

Why does this simple expression freezes Mathematica? (version 10.3.0, Windows 7 64) ...
34
votes
2answers
2k views

Mathematica 10 Notebook Fonts Look Bad

Bug introduced in 10.0.0 and persisting through 10.3.0 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 ...
15
votes
2answers
365 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
56 views

Drag and drop editing

Recently I updated to version 10, and now drag and drop editing in the front end doesn't work. In the Options Inspector->Editing Options->Private Editing Options, the DragAndDrop item is grayed out, ...
3
votes
1answer
51 views

Specifically retrieving all “non-default” option values from the Options Inspector

Recently Mathematica broke on me and I had to reinstall. I lost all of the changes I've made in my Options Inspector over the past year and am attempting to go back and change them again by memory. ...
10
votes
0answers
80 views

Autocomplete is too greedy with the mouse

I have a frustrating user experience problem in Linux; a common occurrence when using the notebook might go like: I have, for some reason, used the mouse (e.g. to place the cursor) and then move the ...
29
votes
3answers
732 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 ...
14
votes
0answers
139 views

Why does the Ver. 10.0 FrontEnd lose matching of parentheses when we insert quotations?

I am running Mathematica 10.0.1 on a four-year old iMac running OS 10.6.8. The following irritating behavior occurs regularly: I have a list with parentheses, and later on I need to add something to ...
5
votes
1answer
51 views

Cell >> Convert To >> Bitmap: FrontEndToken for a specific menu?

I've seen good discussions about and full list of FrontEndTokens. But I could not figure out how to find a specific FrontEndToken for an menu. I'd like to make a Button that does what Cell >> ...
9
votes
5answers
2k 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 ...
8
votes
1answer
98 views

Launch Front End from .NET MathKernel and return result to .NET

Is it possible to launch a front end and open a notebook from a .NETLink kernel and return a result from the notebook to .NET? In the code below "x" appears in the .NET textbox after 10 seconds but ...
4
votes
2answers
168 views

Why does CreatePalette break my code?

I wrote some code to monitor the tasks that I'm doing - looks like this: Now it works just fine, but as soon as I wrap it up in palette it dies: Nothing updates.... I know there must be an easy ...
5
votes
0answers
105 views

More frugal display of usage messages in auto-completion popup – possible? [duplicate]

Update: I think the more general question I should have asked is: How should I write usage messages to work well with auto-completion? Is there documentation on how to prepare a package for convenient ...
7
votes
1answer
208 views

Is it possible to embed a notebook as a panel in a java GUI?

I'd like to create a GUI that displays a tree, some text boxes, buttons, and then as a panel, a fully-functional notebook. Is that possible?
0
votes
2answers
58 views

Notebook output in single place

I find that cell output below each cell terrible for organizational purposes. Is there another way to display the output of each cell?
6
votes
1answer
103 views

Activity indicators for slow Dynamic expressions?

With Dynamic and gui-constructs like Popup I always have a problem: when an expression takes a while to evaluate the Dynamic ...
5
votes
3answers
195 views

Exporting PDF with large PaperSize

Suppose I create a new Notebook: nb = CreateDocument[{TextCell["PDF Test", "Section"], Table[PieChart@Range@5, {7}]}]; And set a big paper ...
5
votes
0answers
275 views

Front End does not respond to keys (version 10.2, Linux)

I was often complaining about the front end performance under Linux, but it seems I could pin down a very critical issue. I made a screen-cast that shows how to reproduce the issue Screen-cast on ...