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

learn more… | top users | synonyms

9
votes
2answers
337 views

Create new notebook at fixed size

Using Ctrl+n we are effectively doing FrontEndTokenExecute["New"] and, at least on Windows, new window has WindowSize equal to ...
2
votes
0answers
43 views

Add keyboard shortcut without creating a new menu item [duplicate]

I want to some key combination like CtrlShift+ to insert Print[ ]; into a workbook. I used ...
9
votes
1answer
137 views

How do I turn off the little display icons for `SparseArray`, `InterpolatingFunction` and so on? [duplicate]

As noted elsewhere, in Mathematica 10.x, many functions that return "opaque" objects display them as cute little icons: ...
2
votes
1answer
66 views

How do I make those nice summary boxes like Dispatch and SparseArray do? [duplicate]

Dispatch and SparseArray have nice output forms that summarise their contents: The contents even manage to be retained fully ...
1
vote
0answers
46 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
109 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
199 views

What is FrontEnd`AttachedCell?

Perhaps it's not accessible from the front end, but what is this so-called attached cell? ...
5
votes
1answer
72 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
58 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 ...
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
87 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 ...
9
votes
1answer
163 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 ...
4
votes
0answers
56 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
81 views

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

Sometimes, having all double brackets [[...]] transformed into \\[LeftDoubleBracket] ... \\[RightDoubleBracket] can really ...
5
votes
0answers
46 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, ...
0
votes
0answers
35 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 ...
13
votes
1answer
162 views

What is “MemoryMonitor”?

Evaluating one of the following inputs ...
2
votes
1answer
115 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 ...
3
votes
1answer
64 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 ...
2
votes
0answers
95 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) ...
1
vote
0answers
68 views

notebooks not opening in mathematica 10 (still, 15 months later)

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
76 views

Why NotebookDynamicExpression freezes Mathematica on this particular application?

Why does this simple expression freezes Mathematica? (version 10.3.0, Windows 7 64) ...
14
votes
1answer
191 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 ...
0
votes
0answers
54 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, ...
9
votes
0answers
78 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 ...
3
votes
1answer
47 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. ...
5
votes
1answer
49 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 >> ...
5
votes
0answers
102 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 ...
0
votes
2answers
56 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?
8
votes
1answer
92 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 ...
2
votes
1answer
76 views

How to increase the font size used in Mathematica menus

The text used in the Front End menus is too small on my Linux computer. I want to increase its size. How can I do it? I have Mathematica 10.
5
votes
3answers
183 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 ...
1
vote
1answer
110 views

FontFamily option in Style being ignored

Style[\[WhiteKnight], FontFamily -> "Segoe UI Symbol"] The output I'm getting looks like it is in the Mathematica.ttf font, not the designated Segoe UI Symbol ...
3
votes
0answers
55 views

How to “fake” a front-end object when running a Mathematica script? [duplicate]

I'm running a Mathematica script (content of which cannot be disclosed here) and some part of it requires "front-end"? Since it's running in a script, there is not one and it gave the following error: ...
6
votes
1answer
98 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 ...
2
votes
0answers
160 views

Copy/Paste of a plot leaves whitespace

I'm trying to copy Mathematica figures into word, but when I do, I get tons of extra white-space for some reason. Either standard ctrl-c - ctrl-p or "copy graphic" does this. I understand that I ...
1
vote
1answer
24 views

Option Inspector, cannot expand navigation pane

The navigation pane in the Option Inspector is too small and I can find no way to make it larger: Is there any way to enlarge it?
0
votes
0answers
13 views

Undo conversion to template notebook [duplicate]

I accidentally converted a notebook to a template notebook by activating the templating toolbar. After this the toolbar always appeared at the top of the notebook. Is there any way to undo this ...
4
votes
2answers
160 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 ...
0
votes
1answer
45 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 ...
17
votes
0answers
176 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 ...
3
votes
1answer
51 views

Paste & set color with a single button (for palettes)

I need to use some colors frequently so I decided to make a palette for this. This is an example palette button that inserts a color: ...
1
vote
1answer
72 views

How to create a new window with manipulate? [duplicate]

How can I create a new window with a Manipulate expression? Currently I'm using: ...
5
votes
2answers
51 views

How to disable user-interaction with Notebook during manipulating it from the Kernel?

When manipulating a Notebook from the Kernel using such functions as NotebookLocate, SelectionMove, ...
0
votes
1answer
73 views

Double Click Selection IntelliJ Idea

How do I support double click selection in IntelliJ Idea? I'm referring to halirutan's plugin.
0
votes
0answers
102 views

Best practices, tools, and snippets for manipulating notebooks, cells, packages, and help access? [duplicate]

Where is the best place to find/submit lists of Wolfram Language/Mathematica best practices, idioms, and patterns, perhaps grouped by topics? I'm personally interested in those that involve using ...
7
votes
0answers
125 views

ClipPlanes on Translated 3D objects crash front end

Bug introduced in 10.1 or earlier and persists through 10.4.1 Applying Translate to a simple 3D object (e.g. Pyramid) along ...
18
votes
2answers
343 views

Non-english spell check dictionaries for Mathematica?

I've spent a fair amount of time bending Mathematica for taking notes and I've been very happy with it, the only missing piece it seems is a nice spell check dictionary for Polish (my mother ...
0
votes
0answers
41 views

Mathematica doesn't start anymore [duplicate]

the title already indicates my problem. I'm using mathematica on a mac (v.10). For a few days I can't start mathematica anymore. When I start it, it crashes immediately. I don't even get to the front ...
2
votes
0answers
44 views

Mathematica stalling when attempting to “convert unit”

Twice now I have attempted to use the "convert unit" command on the bar below an output and it has caused the program to freeze, and not respond unless using the fix for the frozen kernal when opening ...