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

learn more… | top users | synonyms

0
votes
3answers
53 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 ...
11
votes
3answers
203 views

How to sort cells in a notebook based on cell tags?

Suppose I have a notebook with cells tagged with both numbers and words with numbers always list first, and some cells without cell tags e.g.: ...
0
votes
0answers
51 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 ...
6
votes
2answers
100 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 ...
4
votes
1answer
90 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?
11
votes
1answer
205 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?
3
votes
1answer
94 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
0answers
63 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?
11
votes
1answer
344 views

Better Autocompelete for the Front-End

I wonder if it is possible to improve the front-end's autocomplete capability. Compared with some other more sophisticated editors/IDEs, such as eclipse, Mathematica's front-end does not provide a ...
14
votes
1answer
353 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, ...
3
votes
0answers
186 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 ...
15
votes
2answers
488 views

How to work with characters from CJK Unified Ideographs Extension B correctly?

Background: Recently I'm trying to deal with some Chinese characters which belongs to the CJK Unified Ideographs Extension B block. The motive comes from some further interest following a former ...
8
votes
4answers
567 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 ...
14
votes
1answer
340 views

How to add named characters to Mathematica 10?

It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::tsntxi: "\"!(\[ KlingonA])\" is incomplete; more ...
22
votes
2answers
552 views

Saving my code before cell evaluations: Insurance against front end hanging

I guess my programming working style is not unique. I develop programs one cell at a time, and when I have some confidence about what I did, I put all my mess together refining the code, building up ...
5
votes
1answer
834 views

Automatic recovery after crash

I want Mathematica to periodically autosave my notebooks to the temp folder. And in case of front-end crash i want to see the dialog after restart with the following choices: recover from autosaved ...
7
votes
3answers
199 views

Using a Slider2D to add data points to a list

This bit of code sets up a list with the first entry already in it -- {{1,1}}: ...
0
votes
1answer
87 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 ...
112
votes
2answers
4k views

Implementing efficient multiple undo

At the time this question was asked, version 10 was not out yet. The Front End of Mathematica 10 does have multiple undo, see the answer by John Fultz. The Mathematica Front End's built-in Undo ...
5
votes
2answers
74 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 ...
1
vote
0answers
24 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 ...
-1
votes
0answers
78 views

Using Mathematica in better way? [duplicate]

this is general question about mathematica. We all know when we use mathematica, it does work by ...
0
votes
1answer
102 views

How to make the 3D borders like these around Notebook content? [closed]

I wonder how to make the borders of the notebook windows to appear with 3D bevel like on this picture? This is what I want: This is what I have:
10
votes
2answers
211 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 ...
5
votes
1answer
771 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 ...
27
votes
3answers
717 views

Is there a convenient way to copy/paste text-interspersed SE code snippets into Mathematica?

Is there a way to copy and paste code snippets from SE to Mathematica if these snippets are interspersed with text? Like e.g. in Morphing Graphics, color and location in both the question and answer, ...
11
votes
1answer
679 views

Toolbars in Mathematica

Mathematica seriously lacks some useful toolbars. I wonder why keeping a totally barebone gui is part of WRI's policy? Would such a feature be so platform-specific that it does not worth design it? I ...
5
votes
1answer
96 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 ...
10
votes
2answers
405 views

Annoying FrontEnd bugs in Mathematica 10

Recently I installed Mathematica 10 on Windows 8 x64 machine. Before that I had a prerelease version of Mathematica 10 installed on my laptop. I observed very annoying bugs in the FrontEnd on both ...
0
votes
0answers
126 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 ...
3
votes
1answer
231 views

How to change the start path of SystemDialogInput

It seems that every time the start directory of SystemDialogInput is always the same, is it possible to set the start directory to the last used directory? For ...
3
votes
0answers
111 views

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 the input as I'm typing: I have also observed the appearance of rectangular blue marks with similar behavior: ...
5
votes
1answer
73 views
2
votes
2answers
146 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 ...
0
votes
1answer
54 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
74 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
60 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 ...
0
votes
1answer
59 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, ...
3
votes
2answers
97 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?
14
votes
4answers
346 views

Prevent graphics render inside held expression

Assuming each odd line is input I would like the even lines to be the output of the following lines. In the above the Graphics are inside ...
1
vote
0answers
36 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 ...
19
votes
4answers
1k views

Mathematica 10 'Formatting Notebook Contents'

Mathematica 10 freezes while 'Formatting notebook contents'. This happens already during the startup of Mathematica and it takes a long time for Mathematica to recover. It can also happen when I am ...
1
vote
1answer
99 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, ...
2
votes
1answer
220 views

Export notebook file without launching front-end

I am using a Mathematica script to programmatically generate a Mathematica notebook. The script generates a Notebook expression and then uses ...
8
votes
4answers
270 views

Why do quote marks appear in output when saved with Save Selection As?

Update #2: This behavior has been confirm across platforms and in multiple versions. Therefore: Is this a bug or a feature? Can I disable this "feature" so that copying a selection of Cell contents ...
9
votes
1answer
125 views

Tracking Initialization

How to track Initialization step by step? Any tricky solution is ok. One condition, x should be ...
5
votes
0answers
48 views

Is “MaxMessageCount” broken or is its function counter-intuitive?

As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to have any affect on the number of times a Message is repeated ...
5
votes
2answers
144 views

Format-Size-Larger/Smaller shortcut disabled in M10?

It seems that the keyboard shortcuts for enlarging/reducing the font size (ALT+= / ALT+-) don't work anymore in M10 as it did in M9. If I select the text (or code) inside a cell they work. But if I ...
0
votes
0answers
29 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 ...
13
votes
1answer
219 views

Why does GridLines option fail with Function?

Bug introduced in 10.0.0 and fixed in 10.0.1 The Plot option GridLines can be specified either as a list of explicit values ...