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

learn more… | top users | synonyms

2
votes
1answer
29 views

How can I programmatically ungroup cells

I have a series of ~500 notebook files (created by a colleague), which somehow have had their cell groups modified from the default (perhaps accidentally by said colleague). In order to extract the ...
17
votes
1answer
376 views

Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook

Since update to 10.1.0.0 Mathematica has a high CPU usage even when no evaluation is running (even for empty notebook opened). I am running OS X Yosemite 10.10.3 on the following configuration: ...
1
vote
1answer
31 views

Consistency between MousePosition and WindowMargins

MousePosition["ScreenAbsolute"] absolute position within the complete screen display WindowMargins specifies the ...
9
votes
1answer
64 views

Prompt a set of possible options

Recent versions of Mathematica dynamically prompt a list of possible options. For example, when typing Plot[x, {x,0,1}, PlotStyle-> After typing the arrow, ...
3
votes
1answer
45 views

Is there a way to change the indentation behavior of the postfix operator //?

For example, using newlines after // results in some really weird indentation: Ideally, I'd love to be able to do something like this: ...
29
votes
2answers
2k views

Mathematica 10 Notebook Fonts Look Bad

Bug introduced in 10.0.0 and persisting through 10.1.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 ...
1
vote
1answer
42 views
5
votes
1answer
942 views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
1
vote
0answers
49 views

Is there a way to simulate / spoof a keypress?

I'm trying to test the functionality of a Dialog window in Mathematica in an automated way. To do so, I need to be able to simulate keypresses to trigger UI elements programmatically. Is there a way ...
15
votes
3answers
771 views

How to set focus of a dialog window?

I have a dialog, which, when pops up, requests input from the user. How can I set the window up that the focus is on the InputField of the new window (i.e. the ...
2
votes
2answers
63 views

Why doesn't Quantity accept a Dynamic expression as a second argument?

If anyone can help me with this, it would be greatly appreciated. I'm using the following code with the intent of using controls to easily input values and units: ...
0
votes
0answers
56 views

Mathematica uses ugly theme on linux [on hold]

This is how Mathematica looks on my computer: You will notice it's ugly as hell. I'm running Arch Linux. Once I had Mathematica installed on Windows 7 and I remember it looking much nicer there. I ...
4
votes
1answer
136 views

How to make a widget float?

Is there an option or way to make a GUIKit window remain in on top of other application's windows? ...
18
votes
1answer
240 views

Is there a way to make the “Details” section of the documentation expand by default?

By default, the Mathematica documentation opens with the "Details" section collapsed. This is never what I'm looking for — in fact, I've lost count of the times I've sought help on a feature and ...
0
votes
0answers
28 views

Cell editing blocked after output generation [closed]

when I evaluate an editable cell and get an output cell with the result, then it is no longer editable until I delete the output. This seems to be a new feature in Mathematica 10 or do I simply need ...
1
vote
1answer
34 views

Out labels looks strange after turning on magnification

As everything in Mathematica looks too small to me, so I turned on magnification when I am working. It looks good on windows: However, the Out tag is dislocated ...
0
votes
1answer
37 views

Clicking on “Show all results” in a W|A pod hangs Mathematica

I am trying the brand new trial version. I type in =Forest Gump, then the Enter key. The input turns into a box with a plus sign in the upper right corner. When I ...
2
votes
1answer
75 views

Package editor interface

Is there a way to get rid of the unused space on the left of the package editor? What is it's purpose if I configured Mathematica to not show In and ...
2
votes
4answers
136 views

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

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 ...
8
votes
1answer
339 views

Blurred frontend text in Mathematica 10, Windows, High-DPI Display

So I have recently upgraded to a Windows ultrabook with a high resolution display. All my software seems to cope just fine with the high resolution, except for Mathematica 10. Mathematica seems to ...
11
votes
2answers
246 views

How to suppress Tooltip in built-in templates?

...or maybe switch the message. But I will be happy with no Tooltip at all. I've naively tried with ...
3
votes
1answer
40 views

Dynamic cells after Kernel restart/quit:

After quitting the kernel only one Dynamic cell fires. And it does not matter how many are there. ...
2
votes
1answer
33 views

Strange evaluating indication of output cells

Something like this happened when I was working with two Manipulate cells. I saved the notebook, duplicated it and only keep these two cells, and opened the ...
12
votes
2answers
493 views

Syntax highlighter shows error for Manipulate when it's inside a Block or a Module

I'm putting my new copy of Mathematica 10 through its paces and I noticed a weird change in the colouring scheme that I find very annoying, and I'd like to get some insight into why it's happening. ...
1
vote
0answers
27 views

auto save a notebook using init.m

I tried to make mathematica autosave as default, so I put Sjoerd C. de Vries's code ...
14
votes
1answer
431 views

What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...
7
votes
2answers
383 views

Adapting “Find and Replace” functionality to work with Patterns

I was thinking if there is something like Find and Replace (Crtl+F) functionality adapted to work with patterns. Probably not, but it seems possible to create this with some effort and skills in ...
12
votes
3answers
534 views

Multiple notebooks in Mathematica

While working with multiple files in Mathematica, is there a way to have the names of the files appear along with the minimized window of the file. I mean that sometimes I forget which file was places ...
0
votes
0answers
22 views

How to set DisplayFormulaNumbered Font style to Times New Roman?

I'm writing a lecture notes with lots of formula in notebook which will be saved as pdf later. In my notes many DisplayFormulaNumbered cells were used, where the default FontStyle were Arial, which ...
3
votes
4answers
106 views

How to combine selected out cells into a list? [closed]

I have a loop that was printing out results, and now I'm left with many cells in different sections and I need to combine them (the values in them) into a list I can work with. For example, applied to ...
0
votes
0answers
31 views

How can I export a notebook into multimarkdown?

Mulitmarkdown (.md filetype) is a very nice document format that supports rendering mathematical expressions like latex or mathml, rendering syntax highlighted code blocks for any language, as well as ...
7
votes
2answers
105 views

How to create a dynamic expanding DisplayForm's styled like the ones in v10?

The display forms for objects like ClassifierFunction are nice clickable boxes I like this, and now I'm trying to create my a custom version of this for my ...
8
votes
1answer
140 views
3
votes
1answer
88 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, ...
3
votes
1answer
66 views

Show Full Output button broken for all large outputs

I use Mathematica 9.0.1.0 on Mac OS X 10.10.3. As an example of my issue, we can follow along with the example from the documentation page for $OutputSizeLimit. ...
5
votes
2answers
152 views

Set the style of a cell

I know it's possible to programmatically change options on the selection in a notebook. I'd like to create a button that lets me change the style of a cell. It's a style that doesn't have a keyboard ...
4
votes
1answer
79 views

Syntax for FrontEnd`SelectionSetStyle

I know FrontEnd`SelectionSetStyle is undocumented, but its name suggests it does what I need. What is its syntax? I have already tried several variations of the ...
4
votes
1answer
148 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
1answer
58 views

How to stop a Dynamic[] in one notebook from hurting performance in another?

I have two notebooks open, one has a dynamic expression running (a simple clock) ...
2
votes
1answer
97 views

Separate output screen; clearing (cleaning) output screen

Is there a way to split the screen so that the code is on top visible, and execution of code look at the bottom? Is there any way to clean the screen from previous runs, so that the result of ...
0
votes
0answers
22 views

Opening formatting palette slows down the front end

I'm working with Mathematica 10 Linux version. I did some quick prototyping, and am now trying to format the notebook as a presentation (adding title, section and text cells etc). When I open up a ...
6
votes
0answers
256 views

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

Bug introduced in 9.0.1 or earlier 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 ...
4
votes
2answers
126 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, ...
11
votes
1answer
391 views

How to convert a notebook cell to a string retaining all formatting, colorization of identifiers etc?

I have an opened Mathematica notebook containing several cells. Suppose, I am interested in one of them -- it may contain a complete or incomplete expression (e.g. with syntax errors, highlighted ...
1
vote
2answers
58 views

NotebookWrite in EvaluationBox forces Input CellStyle

There is a promissing new function EvaluationBox[] and a nice last example in documentation section for it: ...
4
votes
1answer
708 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 ...
9
votes
1answer
306 views

What is the complete list of valid FrontEnd Packet types?

In response to my question How can I get the unchanged Box form of an arbitrary expression? John Fultz answered with a method using the hilariously named ...
6
votes
5answers
394 views

How to create a screen shot of a notebook

I would like to use Mathematica programmatically to take snapshots or screenshots of any open notebook. For example, I would like to get from the notebook created with this command ...
1
vote
1answer
51 views

How to reset the “front end” to a 200% default

I wish that when Mathematica is run the "front end" this default to 200%, and perhaps other things where you can not change, as there are directly in the menu. Thank You
0
votes
1answer
50 views

Saving a .m file generates internal error

Why does saving a .m file in version 10 generate this error? Nothing appears when I click on the link. But it happens everytime I save a file and then the file is renamed to untitled-n file. ...