Skip to main content

Questions tagged [front-end]

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

Filter by
Sorted by
Tagged with
126 votes
2 answers
6k 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 ...
Rojo's user avatar
  • 42.7k
97 votes
5 answers
9k views

Using the Mathematica front-end efficiently for editing notebooks

Background: I have used Vim for 15+ years. There is a certain "one"-ness with the editor one achieves. Emacs users also experience this. Notepad users do not. My current interaction with the ...
user avatar
85 votes
8 answers
20k views

How to add a front-end to the free Wolfram Engine?

https://blog.stephenwolfram.com/2019/05/launching-today-free-wolfram-engine-for-developers/ http://www.wolfram.com/engine/ The Free Wolfram Engine for Developers is available for pre-production ...
Alexey Golyshev's user avatar
80 votes
2 answers
25k views

Mathematica 10.0.x freezes in Initializing kernels

Bug caused by paclet update and fixed by paclet update. I updated to Windows 10 and have been running Mathematica fine on it for over a month. For some reason, it has just stopped working. I don't ...
mitcheljh's user avatar
  • 1,017
77 votes
3 answers
4k views

Syntax highlighting for your own functions

Mathematica has a useful feature that for functions and special constructs getting passed local variables (for example Minimize or ...
celtschk's user avatar
  • 19.2k
72 votes
5 answers
12k views

ListPlot: Plotting large data fast

Mathematica produces fantastic-looking graphics, but it can be slow on large data sets. Here is an example for a (random) time series: ...
Thomas's user avatar
  • 1,967
70 votes
3 answers
3k views

Is it possible to improve Mathematica's auto-completion feature?

In this answer Brett Champion describes how one can intercept and modify the suggestions used for auto-completion. Question: Is it possible to modify the suggestion for the automatic auto-completion ...
halirutan's user avatar
  • 113k
70 votes
2 answers
2k 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. Background Usually I don't ...
Kuba's user avatar
  • 137k
69 votes
5 answers
5k views

How to disable the small pop-up windows when mouse is over a Mathematica command in V10?

In version 10, when the mouse is over a Mathematica command, a small pop-up window comes up that one can click on for help on the command. Is there an option to disable this feature? Screen shot: I ...
Nasser's user avatar
  • 146k
62 votes
2 answers
5k views

User interface Mathematica 12.1 terribly slow

I installed Mathematica 12.1 a few days ago and now I experience a serious speed slow down. When working with datasets for example Mathematica is close to be unusable. Even in the help systems it ...
mgamer's user avatar
  • 5,603
61 votes
4 answers
2k views

How to create expanding summary boxes like the ones displayed for InterpolatingFunction, NearestFunction, etc.?

The display forms for objects like ClassifierFunction are nice clickable summary boxes I like this, and now I'm trying to create my a custom version of this for my ...
M.R.'s user avatar
  • 31.6k
59 votes
5 answers
5k 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 ...
stevenvh's user avatar
  • 6,958
55 votes
6 answers
6k views

Why doesn't Mathematica abort evaluation when I tell it to?

This frequently happens to me. I'll have some code, execute it, and realize it's taking a long time. My PC isn't frozen, and Mathematica itself isn't even frozen: I can select stuff in the notebook, ...
YungHummmma's user avatar
  • 3,082
54 votes
2 answers
4k views

Automating Esc [[ Esc formatting?

Is it possible to program the Front End to automatically format double square brackets without having to type Esc[[Esc each time? It's awful to have to type Esc ...
alancalvitti's user avatar
  • 15.1k
53 votes
3 answers
2k views

Argument completions for user-defined functions

Mathematica 10 has introduced file name completion for the arguments of certain built-in functions, such as Import, SetDirectory,...
Szabolcs's user avatar
  • 236k
52 votes
4 answers
5k 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 ...
acl's user avatar
  • 19.9k
50 votes
1 answer
4k views

How to export a Mathematica notebook into Markdown?

Is there a way to export a Mathematica notebook into Markdown? I'm sure it's possible to implement rules for converting each Mathematica cell subexpression into Markdown, but I'm also sure that I ...
M.R.'s user avatar
  • 31.6k
49 votes
7 answers
20k views

Is there a way to hide or toggle the visibility of code?

Many of my notebooks have a similar repeating structure, which is very convenient and reliable for my workflow: a chunk of code defining a Manipulate for exploring ...
orome's user avatar
  • 12.9k
48 votes
5 answers
19k views

Where can I find a dark stylesheet for mathematica?

The default white is very tiring for the eye after some hours.
lagoa's user avatar
  • 835
48 votes
1 answer
3k views

Open two copies of the same notebook

Is there a way to open one notebook in two (or more) different windows? This can be helpful when working with a long notebook and one wants to edit one part of it while looking at a different part. ...
Dror's user avatar
  • 1,871
47 votes
2 answers
1k views

What is the most effective way to setup a Notebook with transparent background but solid contents?

I know there is a Notebook option WindowOpacity can be used to adjust the opacity of a whole notebook. But what I want is keeping the text and graphics and so on ...
Silvia's user avatar
  • 27.6k
46 votes
2 answers
2k views

Input Aliases in Mathematica 10

Bug introduced in 10.0.0 and persisting through 12.0. In Mathematica 9, typing in an input alias such as intt would result in the keyboard cursor automatically ...
1110101001's user avatar
  • 1,989
45 votes
6 answers
3k views

How to visualize/edit a big matrix as a table?

Is it possible to visualize/edit a big matrix as a table ? I often end up exporting/copying big tables to Excel for seeing them, but I would prefer to stay in Mathematica and have a similar view as in ...
faysou's user avatar
  • 11k
45 votes
2 answers
6k views

Is it possible to change the colors of the highlighted code in the Mathematica frontend?

With Format -> Edit Stylesheet... it is possible to adjust text-properties, text-colors, formatting of equations, etc of a notebook and to use this style-definitions again by installing it as ...
halirutan's user avatar
  • 113k
44 votes
4 answers
2k 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, ...
Yves Klett's user avatar
  • 15.4k
44 votes
8 answers
11k 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
Tom Wellington's user avatar
43 votes
4 answers
11k views

How to Keep Input Cells Hidden After Evaluating Notebook

I've created a notebook for use in an in-class presentation. There is a fair amount of MMA code, and my students know nothing about MMA nor do they need to. I don't want to distract them with the code....
Tim Mayes's user avatar
  • 1,469
42 votes
3 answers
2k views

How can I set up a versioning system within a notebook?

Since the Frontend crashes a lot, for important work it would be nice to have the notebook automatically branch and save itself every so many minutes. For instance, commands like StartSavingCopies[5]...
M.R.'s user avatar
  • 31.6k
42 votes
0 answers
847 views

Front end goes wild with named slots

Bug introduced in 10 and fixed in 12.1 Assume the following simple expression {#"Test"}& Now go in front of the #...
halirutan's user avatar
  • 113k
41 votes
3 answers
1k views

How to use the Testing Notebook to test a package without shadowing?

I think an important purpose of the new Testing Notebook in version 10 should be to test user packages (instead to test the builtin functions in the ...
Yi Wang's user avatar
  • 7,367
40 votes
3 answers
4k views

Antialiasing in 3D

Is it possible? Is it platform specific? Does it rely on the graphics hardware? Why does the antialiasing slider under Preferences > Appearance > Graphics do nothing? I remember seeing some post-...
István Zachar's user avatar
40 votes
4 answers
1k views

What is the difference between Dynamic[x] and Dynamic[ h[x] ] for DynamicModule variables?

Bug introduced in 9.0 or earlier and persisting through 12.0 In 11.3 it is even worse. An example from the accepted answer with a Slider is now broken too: ...
Kuba's user avatar
  • 137k
40 votes
2 answers
2k views

How do I find all the possible events that work with EventHandler?

The EventHandler documentation, More Information section, lists 5 mouse events: ...
Mike Honeychurch's user avatar
40 votes
6 answers
7k 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 ...
sagittarius_a's user avatar
39 votes
3 answers
3k views

Mathematica 10 Notebook Fonts Look Bad

Bug introduced in 10.0.0 and persisting through 10.3.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 ...
Gleno's user avatar
  • 1,501
38 votes
6 answers
3k views

What is the complete list of valid Front End Tokens?

What is the complete list of valid Front End Tokens? Preferably, by version number. Keywords: FrontEndToken, ...
Mr.Wizard's user avatar
  • 272k
38 votes
3 answers
1k views

Most influential and/or disrupting features introduced with new versions of Mathematica

This is something that has been bugging me for ages. With every upgrade, Mathematica has added new functionalities and amended some of its bugs. In the process, though, some older functionality has ...
38 votes
3 answers
3k views

Automatically check student answers in tests

I am a physics teacher and I am looking for a way to create homework assignments within Mathematica so that each problem has an input field that students can use to check their answers. For example, ...
Gabel's user avatar
  • 483
37 votes
2 answers
3k views

How do I extract the contents of a selected cell as plain text?

My aim is to extract the contents of an Input cells as plain text. Ideally I would like to be able to select one or more Input cells and press a button which would then extract the text from these ...
Heike's user avatar
  • 35.9k
37 votes
0 answers
1k 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 ...
Alexey Popkov's user avatar
36 votes
2 answers
3k views

How can I set an image to be the Notebook's background?

Is it possible to set a notebook's background to a nonscrolling image?
M.R.'s user avatar
  • 31.6k
36 votes
3 answers
2k views

How do I add new menuitems to menus?

What are some complete examples of what one would include in a FrontEnd init.m that would make use of FrontEnd`AddMenuCommands ...
murray's user avatar
  • 12k
36 votes
4 answers
2k views

What are the most common (usual) ways to make palettes with non-trivial functionality?

What are the best (most robust and most convenient) ways to create palettes that can be installed permanently (using Palettes -> Install Palette...) and are safe ...
Szabolcs's user avatar
  • 236k
36 votes
1 answer
2k 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 ...
dearN's user avatar
  • 5,351
36 votes
2 answers
16k views

Mathematica stuck in "running" for every calculation I attempt, kernel error

Bug introduced in 11.1.1 and fixed in 11.1.1 Bug was caused by a paclet update and fixed by a paclet update. I downloaded Mathematica this morning to do an implicit polar plot. I attempt to run the ...
Ryan Unger's user avatar
35 votes
4 answers
1k views

Usage of \[InvisibleApplication] and other related invisible characters

From the front end, \[InvisibleApplication] can be entered as Esc @ Esc, and is an invisible operator for @!. By an unfortunate ...
rm -rf's user avatar
  • 89k
35 votes
5 answers
5k views

Is there a shortcut to select all cells above the current cursor position?

Is there a command / menu entry / keyboard shortcut to evaluate all cells above / up to the current cursor position? I have the feeling I am missing something elementary here... Addendum: In fact, it ...
Yves Klett's user avatar
  • 15.4k
35 votes
1 answer
2k views

Customizing syntax highlighting for private cell styles

Is there any way to set up a cell style with a particular syntax highlighting? For example, I'd like to have a CProgram cell to write in blue the C special words. I have done it by setting ...
Rojo's user avatar
  • 42.7k
34 votes
2 answers
1k views

Special Mathematica Cell to work with R code

I have enjoyed working with R inside Mathematica. But it would be nice If I could have a special R cell. For example, instead of typing ...
Murta's user avatar
  • 26.3k
34 votes
2 answers
24k views

Delete the current notebook cell using the keyboard

Is there another way than pressing Ctrl+. until the whole cell is selected and then pressing Del? If this is not built in, can I create some sort of a global macro to do this and bind it to a ...
Meh's user avatar
  • 1,637

1
2 3 4 5
39