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

learn more… | top users | synonyms

0
votes
0answers
8 views

Mathematica not responding to clean start-up

I am currently running Linux (Ubuntu 14.04) and my copy of Mathematica suddenly started misbehaving. I am not sure what I did to invoke this. The splash screen when Mathematica is launched kept ...
8
votes
2answers
801 views

Front end freezes on start-up

Update 2015 September 4: An incorrect paclet update was pushed recently that caused Mathematica to not hang on startup with "Initializing kernels". The problem and solution are described here: ...
4
votes
2answers
67 views

How to load a file in a directory inside the current working directory

How can I use something like that NotebookEvaluate[ "Mathematica\\SomeFile.nb"]; Instead of ...
0
votes
0answers
30 views

NewLine Inconsistency

Copy and paste the following two lines into Mathematica. 1 \[Alpha] \[NewLine] 2 f[ 1 \[Alpha] \[NewLine] 2] The first posts ...
9
votes
0answers
112 views
+50

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 ...
8
votes
1answer
1k 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 ...
4
votes
1answer
70 views

How to make a cell highlight on mouse down?

When a cell has WholeCellGroupOpener set to True, it becomes a clickable button that toggles its cell group open and closed. How can I make the cell change color ...
4
votes
1answer
69 views

How to close all tagged input cells without closing their output cells?

I have tagged certain Input cells I want to be closed during a presentation. I close them as follows: ...
2
votes
0answers
22 views

How to stop auto loading of previously opened notebooks

I'm trying to prevent Mathematica from opening previously opened notebooks when I start it up. I'm using version 10.0.0.0 on Mac OS X Yosemite. I've dug around in the preferences, and have tried ...
3
votes
1answer
42 views

Programatically align text in the Front End

One can select a cell and using the Front End menu perform Format -> Text Alignment -> Align at 25% Other options are given as well. I have learned from Stack Exchange how to create a button and ...
10
votes
2answers
357 views

Restrict Sensitivity of Locators in LocatorPane

We can restrict the movement of locators in a LocatorPane as follows: In the following example, the first locator's movement is confined to the x-axis and the ...
25
votes
2answers
707 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 ...
1
vote
1answer
41 views

How to programatically remove an option for all cells?

I'm trying to remove the CellGroupingRules options in every cell in a notebook. Eventually I opened the Notebook in a text ...
8
votes
3answers
330 views

Select Cells to End of Notebook

I'd like to create a keyboard shortcut that will allow me to select all of the cells from the current cell until the end of the notebook, similar to how ShiftCtrlEnd functions when editing text in ...
8
votes
1answer
359 views

“Choose how to enter input” - leave me alone

How do I get rid of this: I can't find the appropriate entry in Option Inspector or in WolframPredictiveInterface.
1
vote
1answer
56 views

Fraction shortcut not working, giving strange spacing character on german keyboard

So usually when you want to enter a fraction in Mathematica, you can do so by pressing "Ctrl+/". If you are on laptop with a german keyboard however, you will have to press "Ctrl+Shift+/" since you ...
27
votes
5answers
2k 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 ...
3
votes
2answers
39 views

How to get highlighted text from event

I want to do the following: Given a text in a Mathematica dynamic module "at runtime". If some text is selected with the cursor/mouse, after the mouse button release, get the selected text. Thank ...
23
votes
1answer
742 views

Why are all the lines commented when I create a Mathematica script?

When I created a Mathematica script, I found that all my lines were commented out (when opened with vi or gedit or any other ...
1
vote
1answer
58 views

Table of sections with CellPrint

I am trying to produce a table of sections with each section containing a DynamicModule. My two questions are: (1) How do I produce grouped sections that are folded ...
1
vote
0answers
44 views

Frontend of 10.2 Really Slow / Dropping Input

I just updated from 10.0.1 to 10.2 in the hopes that it would fix an infuriating intermittent crashing issue and the frontend seems top be way slower and sometimes freezes for about a second dropping ...
3
votes
1answer
82 views

Preventing a Print expression from generating a new cell each time it executed [duplicate]

In reference to the following code: Button["Start", Print[Plot[x^3, {x, -1, 1}]]] When I click on the button the first time, I get a plot of $y = x^3$, perfect. ...
1
vote
0answers
175 views

Suggestion Bar Gone in Mathematica 9

I have been using Mathematica (version 9) for some time without any problems. Suddenly today I noticed the suggestion bar is no longer visible, and it's a feature that I use a lot. I checked the ...
3
votes
0answers
34 views

Front end responds slowly when writing

I have Mathematica 10.1 running on a Windows 7 laptop (i7 processor, 64-bit system with 4 GB Ram). The issue is that when I type in commands the letters build up very slowly on the screen. E.g. when I ...
3
votes
0answers
74 views

Change the background color of matched strings when doing find-and-replace

This is not a fundamental question, but it puzzles me. In doing a Find & Replace for some string in a notebook, the matched string is highlighted temporarily with some background color (green for ...
5
votes
1answer
147 views

Switch actions of Shift+Enter and Enter in notebook interface?

How can I switch the functionality of the Enter and Shift+Enter key combinations in Windows? I find Matlab's interface more intuitive sometimes. By default in Mathematica's front-end, the ...
2
votes
0answers
47 views

How to increase font size in front-end UI Menus [closed]

Is it possible to increase the font size in the notebook GUI's menus, messages window, help windows, etc?
3
votes
1answer
38 views

How to enter options when using an input palette

Integrate[1/(x^2 + y^2 + z^2)^(5/2), {x, 0, b}, {y, 0, l}, GenerateConditions -> False] We can type in the above expression easily. But if someone new to ...
31
votes
3answers
2k views

Saving a notebook as PDF, preserving syntax highlighting

Currently, one may save notebooks as PDFs from the menu by Save As... and then selecting PDF (on a Mac, I imagine it is similar on other OSs). However, the ...
8
votes
4answers
235 views
4
votes
0answers
50 views

Why does NotebookDelete fail on cells with Copyable set to False? Bug?

Bug introduced in 9.0 or earlier and persisting through 10.2.0 Consider this: ...
2
votes
1answer
108 views

The “Save” under “File” and “Undo” under “Edit” do not work in Mathematica 10.0 [duplicate]

Bug introduced in 10.0 and fixed in 10.0.2 Each time I click "Save" or "Undo" button from the notebook menu, some new notebook window similar to this pops up: And the file is not actually saved ...
0
votes
1answer
58 views

Undo (CTRL Z as well as under edit) bug after pressing contol shift [duplicate]

Bug introduced in 10.0 and fixed in 10.0.2 As some of you might know, if you press control + shift on windows, you change your keyboard layout. For example, : becomes ±. This happens sometimes in ...
7
votes
1answer
99 views

How to programmatically mark and then select a subset of input cells?

I'm developing a package that needs to exert significant control over a notebook while a user interacts with it. One specific thing that it needs to do, programmatically, is to select a specific ...
5
votes
2answers
176 views

Format-Size-Larger/Smaller shortcut disabled in M10? [fixed in v.10.1]

Bug introduced in 10.0.0 or earlier and persisting through 10.0.1 and 10.0.2. Fixed in 10.1 It seems that the keyboard shortcuts for enlarging/reducing the font size (ALT+= / ALT+-) don't work ...
5
votes
2answers
191 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, ...
3
votes
0answers
38 views

Changing scroll range for mouse wheel

Is there a possibility to change the range for scrolling with the mouse wheel in Mathematica? In ScrollingOptions I couldn't find such an option. I played around ...
0
votes
0answers
22 views

How to prevent Mathematica 10 from instantly displaying hover menus? [duplicate]

I recently updated to Mathematica 10 in the hopes to get the most up to date function definitions and run time optimizations. Alas, along with the (hopefully significant) improvements (not so sure ...
13
votes
1answer
304 views

Bug in handling backslashed Cyrillic symbols in v.10.0.0?

Bug introduced in 10.0.0 and fixed in 10.1 UPDATE: Now both the inputs "\б" and "\\б" are interpreted as ...
3
votes
1answer
118 views

Separate output screen; clearing (cleaning) output screen

Is there a way to split the screen so that the code is visible on top, and the output generated from its execution appears at the bottom? Is there any way to clear the screen from previous runs, so ...
0
votes
1answer
58 views

What is Mathematica's comment-to-line-end token? [duplicate]

How can I make a full line of code into a comment by typing a single character inserted at start of the line? In other programming languages I can use characters such as ! , # and language processor ...
11
votes
2answers
653 views

Annoying FrontEnd bugs in Mathematica 10

Bug introduced in 10.0.0 and fixed in 10.0.2 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 ...
37
votes
8answers
9k views

How can I improve Mathematica's resolution on a macbook retina display?

Mathematica 9.0 looks a bit fuzzy on the retina screen, how can I increase the resolution? Here another screenshot showing a direct comparison between the browser and Mathematica
7
votes
1answer
199 views

Linux: Mathematica crashes when clicking documentation links very fast

Bug introduced in 10.0.1 or earlier and fixed in 10.1.0 Can someone confirm the following behavior: Open a new Mathematica and go to the documentation. Navigate to any reference page (I used ...
13
votes
2answers
807 views

How can one define an infix operator with an arbitrary unicode character?

You can setup "UsefulFunction[a, b]" to use custom infix notation "a [LeftRightArrow] b" as follows: ...
11
votes
0answers
78 views

Floating highlighting bug [duplicate]

Bug introduced in 10.0 and fixed in 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 indicating ...
1
vote
3answers
112 views

How can I clear the content of my notebook in Mathematica? [closed]

The Clear command is for clearing definitions of symbols. Is there any built-in function to clear the work area of my Notebook?
5
votes
1answer
179 views

How can I prevent SHIFT-ENTER moving the editing cursor?

What I do: Here press Shift+Enter to evaluate. What I get: The cursor disappeared What I want: The cursor retained Workaround: Up Arrow as many times as it takes, Right arrow as many times ...
1
vote
1answer
61 views

How to define a number of infix operators with predefined relative precedences

Reading a number of questions about infix operator notations I want to ask if somebody could reimplement the problem below in a simpler way, say modifying ...
13
votes
0answers
267 views

Colored marks appearing in notebook input text?

Bug introduced in 10 and fixed in 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 parts of ...