Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5

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

2 votes
Accepted

How can selection of delimiter matches be disabled?

The delimiter highlighting time is controlled by the option DelimiterFlashTime, which can be set for a cell or a notebook or the entire front end. You can lower the value (default 0.3 seconds) or disa …
rm -rf's user avatar
  • 89.3k
8 votes
Accepted

How to release $Mathematica$ from the $Pre HoldAllComplete lock

There's nothing that can break out of a HoldAllComplete as long as it has to pass through the kernel. But what if we had a way to bypass the kernel? Hmmm... buttons! I suggest using the following bu …
rm -rf's user avatar
  • 89.3k
17 votes
Accepted

How to Print to the Console

The "Messages" window or the console is just another notebook, referenced by MessagesNotebook[]. So to print directly to that, use: Clear[PrintToConsole] PrintToConsole[expr_] := (SetSelectedNotebook …
rm -rf's user avatar
  • 89.3k
12 votes
Accepted

Why are some functions available without having to load their parent package?

If you look at their Contexts, you'll see that all of them are in the System` context and not the GraphUtilities` context. Context /@ {GraphDistanceMatrix, CharacteristicPolynomial, AdjacencyMatrix} …
rm -rf's user avatar
  • 89.3k
4 votes

Mathematica Opens Each Session With Beep

I'm almost certain that the reason is due to a missing stylesheet (or a file that's linked to from a notebook). When you use a custom stylesheet for a particular notebook, you'll find something like t …
rm -rf's user avatar
  • 89.3k
16 votes

Take screenshot of the entire desktop using Mathematica

GUIScreenShot[] (without arguments) works perfectly fine on my Mac, although the front end syntax highlighter indicates a missing argument. As a workaround, you can explicitly give it the dimensions o …
rm -rf's user avatar
  • 89.3k
18 votes
Accepted

How to change the style definitions for Default.nb?

You cannot save to Default.nb by default, because it has Savable set to False and it is a good idea to not forcibly modify this file. Instead, create a private stylesheet as you have done here and put …
rm -rf's user avatar
  • 89.3k
12 votes
Accepted

Is there a callback for notebook exit?

You can use NotebookEventActions for this. For example, evaluating SetOptions[EvaluationNotebook[], NotebookEventActions -> {"WindowClose" :> CreateDocument[]}]; in your current notebook will …
rm -rf's user avatar
  • 89.3k
6 votes
Accepted

How to keep track of notebook dimensions

You can use CurrentValue for this. Evaluate the following and try resizing your notebook window: Dynamic@CurrentValue["WindowSize"]
rm -rf's user avatar
  • 89.3k
10 votes
Accepted

Is there a way to control V10's undo length?

NOTE: I forgot about this. Apparently, the following should (presumably) be the way to change these settings, but the actual feature has not been implemented yet. You can change this using Und …
rm -rf's user avatar
  • 89.3k
53 votes
Accepted

Automating Esc [[ Esc formatting?

Some approaches are discussed in this question on StackOverflow. Original references to these go to Szabolcs's webpage and a MathGroup posting by Mr.Wizard. To summarize, you copy the file: $Install …
rm -rf's user avatar
  • 89.3k
22 votes
Accepted

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

The following definition to $Pre will save a copy of your notebook as filename.nb.backup.nb, where filename.nb is your original notebook and strip it of all output cells every time you evaluate a cell …
rm -rf's user avatar
  • 89.3k
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 combination of key-presses (there may have been a cat involved), this cr …
rm -rf's user avatar
  • 89.3k
30 votes

Special Mathematica Cell to work with R code

The following is a style for an R cell, inspired by this answer. You can add this to your stylesheet (change the styles to your liking): Cell[StyleData["R"], CellMargins->{{66, 10}, {5, 10}}, …
rm -rf's user avatar
  • 89.3k
13 votes
Accepted

Why isn't autosave enabled by default?

At Mr. Wizard's urging, I'll post my reasoning for why this is not enabled by default (and should never be, for Mathematica): Mathematica does not have more than 1 undo, period. This is perhaps the …
rm -rf's user avatar
  • 89.3k

15 30 50 per page