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

learn more… | top users | synonyms

11
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 ...
1
vote
0answers
29 views

Is there a syntax coloring type that highlights only when not in a list?

How do I define the syntax coloring of function myfunc so that it only colors the variable that is not in a list? For example, ...
13
votes
3answers
799 views

Is it possible to insert an animated image into Mathematica notebook?

I find it very convenient to use Mathematica notebooks to organize the codes + results. I was wondering if it is possible to insert an animated image (say an animated gif) in the middle of a ...
0
votes
0answers
27 views

Stop front-end auto-adjust of window to output

I have made a simple "percent complete" output to track my For loop, where I incrementally print values and then delete the output right before printing the next ...
1
vote
0answers
26 views

Why would killing the kernel defreeze/unhang the front end?

My Mathematica front end will freeze occasionally for unreproducible reasons. This seems mostly associated with long (> 1 hour) computations, although not exclusively. If I click on the Mathematica ...
40
votes
0answers
515 views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Intro Usually I don't ...
1
vote
1answer
43 views

How can I recover from front end crash after debug session?

On Mathematica 10.3 running on Raspberry Pi 3, the debug session on the Front End hung and I had to kill the Front End. ( I now know better: better 'kill -9' the Kernel process and not the Front ...
9
votes
1answer
2k 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 ...
4
votes
1answer
92 views

UseFrontEnd is not working the same in version 10.4

I'm using batch files to run Mathematica notebooks (with saved output) but in version 10.4 the functionality has changed. Any ideas how to get it working? I use a batch file to run a .m script which ...
3
votes
1answer
49 views

Image background for cell?

I'd like to make code Cells have a specific background image. I know you can do this for Notebooks, but what about Cells? This simple test fails: ...
2
votes
1answer
61 views

Can I create a mouseover summary or documentation for a new function?

In Mathematica, when you hover any a built-in function, a small window with 2 symbols appears (as in the third paragraph of this reference page, see picture): clicking on the former one gives you a ...
0
votes
0answers
50 views

Front End crashes when triggering autocomplete

Every time I try to type a function in Mathematica, e.g. Sum, after I type "Su" then Mathematica crashes and I do not know why! Same as if I type "Pr", it again crashes. I kind of feel that it tries ...
12
votes
1answer
516 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 ...
18
votes
2answers
286 views

Understanding evaluation and typesetting

Background So, one could be surprised by the fact that: Hold @ Grid[{{1, 2}}] (*or*) Hold @ Graphics @ Disk[] This issue and methods of prevention are ...
47
votes
5answers
2k views

Can the banner in the Home Edition be removed?

The Mathematica Home Edition shows a banner at the top of every notebook: Is there a way to (permanently) get rid of it, without violating the EULA? Edit Yesterday, I sent this message to WRI ...
1
vote
2answers
110 views

Mathematica 10 not launching on Windows 8

I have been using Mathematica 10.0.2 in my laptop with Windows 8 and it was working fine. One day I would try to open it as usual but it would not launch (I'd click at its icon in the start menu and ...
1
vote
0answers
38 views

Flatten works in output but not in Global Workspace?

I am trying Michael Trott's Sierpinski Triangle. ...
8
votes
1answer
149 views

Bug in grouping after editing code?

Bug introduced in 7.0 or earlier and persisting through 10.4.1 or later While looking at A question about conditional replacement I think I discovered a bug in the Front End that affects both 7.0.1 ...
6
votes
0answers
98 views

How to unlock a stylesheet which is not needed anymore by the FrontEnd

Reply from WRI Support: [...] This indeed seems to be an issue with the Frontend on Windows and I have alerted the development team about this. Unfortunately I do not have a work around at ...
4
votes
1answer
78 views

Magnifying the Help documents without magnifying the images therein

In Mathematica's Option Inspector I set the notebook magnification factor to be larger than 1, for example 1.12, ("Notebook Options"->"Display Options"). Accordingly contents of the Help browser are ...
5
votes
0answers
120 views

Same input,different result? [duplicate]

Using this code,you can see,same input, but the output are different. So weird! If I copy this code here, it outputs normally. So what's the problem? Ps:I use ...
15
votes
2answers
2k views

Failure to export graphics by right-click when Notebook magnification is changed

Bug introduced in 9.0.1 or earlier and persisting through 10.4.1 or later When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing ...
15
votes
1answer
275 views

Strategies to compensate for lack of multi-document interface?

I use Mathematica (Home Edition) to manage notes which live in a large number of different notebooks. In my case the notebooks (hundreds) are just organized using document names and file system ...
4
votes
1answer
62 views

Blocking dialog with a blocking child dialog

Suppose I have a DialogInput, in which there is a Button. The Button can trigger another ...
0
votes
0answers
41 views

code indent issue in frontend: How to remove annoying space at beginning of a line

I am using MMA 10.4.1 Very often I encountered this problem This is an extraction of a Module (the last bracket is matching module). The ...
4
votes
2answers
105 views

Syntax highlighting in text cells

I want to write some documentation for a notebook using text cells. Now, I can select parts of the text within such a text cell and set its style to "Input". This does change its font, but there is no ...
4
votes
1answer
76 views

Is there a way to hide and show manually inserted page breaks?

If I create a Notebook that includes multiple pages I know that I can show/hide page breaks by using menu item File ► Printing Settings ► Show Page Breaks. I can ...
5
votes
1answer
71 views

How can I make an invisible Cell?

Notebooks have a Visible option, but Cell // Options doesn't mention any equivalent for ...
9
votes
0answers
55 views

CopyToClipboard freezes FrontEnd

This is freezing the FrontEnd: CopyToClipboard@ExampleData[{"Text", "AeneidEnglish"}] Are there system limits I'm hitting here?
10
votes
2answers
165 views

List of Recently Opened Files

If I go to the menu bar and press File I get a list of recently opened files.This would be useful except they are edited and mostly replaced by dots thus making choosing difficult. See the screen shot ...
14
votes
1answer
246 views

What is a printer's point?

Edit 28. IV 2016, Reply from WRI: The developer replied today to the documentation question we are having. He agrees the statements in the 2 reference pages can be clarified. [...] ...
2
votes
0answers
24 views

File path autocompletion options?

Suboptions like "FileCompleteEnable" in CodeAssistOptions are new in v10. Are there any options I can exercise with respect to the behavior of filepath autocompletion? Then is there anyway to set ...
3
votes
1answer
55 views

“Most compatible vector representation”

When saving a plot through right click ► Save Graphic As…, Mathematica lets me choose several options, including separate vector representations for areas with ...
3
votes
1answer
82 views

How to set ExportOptions for custom HTML exports

I need to customize some HTML tags when exporting a Mathematica notebook to HTML. I have to use the File ► Save As… FrontEnd token and not ...
4
votes
0answers
89 views

Creating compiled search TRIE file for argument string completion

I'd like to generate a compiled search TRIE file (like those found in $InstallationDirectory\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency\) to help ...
7
votes
0answers
129 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 ...
0
votes
0answers
60 views

Which version of Mathematica has cursor animation when running on Windows?

Does anyone remember which version of Mathematica, running under Windows, has the following behavior: when you type something into a front-end window, the cursor has a small animation? It becomes ...
3
votes
3answers
67 views

Magnification of a notebook image object

When you resize an image in a notebook with your mouse you get a tool tip with size and a magnification percent for your image: Is there some way to programmatically ascertain these values in the ...
2
votes
0answers
102 views

Image3D interactive manipulation slower in 10.4.1?

I've upgraded to MMa version 10.4.1 under MacOS 10.11.4 on a MBP Retina. We use Image3D a lot in our work and it seems like it has gotten very very slow in this ...
7
votes
1answer
181 views

Mathematica freezes on autocomplete [duplicate]

For some reason, Mathematica has started freezing whenever I try to type anything into it. I can paste text into notebooks, but as soon as I start typing the window will freeze and it will cease to ...
29
votes
0answers
653 views

Changing FrontEnd automatic scrolling in version 8

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior: On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
14
votes
1answer
326 views

Segmentation fault on auto-complete

My front-end freezes as soon as I type more than two letters in a notebook. I think the error occurs, when the auto-complete feature kicks in. If Mathematica was started from a terminal, the following ...
7
votes
3answers
119 views

The very bottom of CellMargins is missing

Bug introduced in 8 or earlier and persists through 10.4 Edit 16. IV 2016 I've received an answer from WRI Support: [...] It does appear that CellMargins is ...
8
votes
0answers
43 views

How to setup logging levels?

I was wondering what tools exist out there for doing logging in Mathematica? The Echo functions is nice, but I'd like to set various severity levels and other ...
7
votes
1answer
103 views

Strange caching of Palette's TaggingRules

Please follow those steps to get the idea about the problem: Let's create a palette: ...
3
votes
1answer
93 views

undocumented backslash-lessThan operator in strings?

I'm aware of the backslash operators in strings, as in this SE answer, but I ran across a new one. I opened a new Styled Notebook ... in the front-end GUI, chose ...
10
votes
1answer
372 views

How can I change the style of every newly opened notebook?

I'd like to make Mathematica open a new notebook using the Natural Color template (under the Creative category) by default. Is that possible? If so, how?
0
votes
0answers
17 views

Evaluating input cells in automatically created notebooks? [duplicate]

I've figured out how to insert Input cells and Text cells into an automatically created notebook (and, thanks to this answer, ...
2
votes
0answers
45 views

How to get a larger mouse cursor [duplicate]

I'm giving a presentation with Mathematica and want to point to things with my mouse so want the cursor to be nice and big. I've changed my cursor to be nice and big in Windows (8.1), but when I go to ...
4
votes
1answer
30 views

Automatically Created Documents don't have safety dialogs on close?

If I manually open a new DocumentNotebook in the front end using the GUI, and then I put input in the document, and then try to close the document, I get a safety dialog asking me whether I want to ...