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

learn more… | top users | synonyms

7
votes
2answers
124 views

Appearance in Checkbox does not work

I'm experiencing strange behavior in Checkbox with Appearance: ...
1
vote
1answer
165 views

How can I create some shorthand notation for a custom control?

Per this question, I have created a custom graphical control object which evaluates to a list of values. I would like to be able to create such an object quickly, rather than typing some command, ...
6
votes
2answers
134 views

Prevent front-end from reformatting long fractions while editing

I am editing an expression containing wide fractions (typeset with fraction boxes): But if, while editing the equation, the fraction exceeds some threshold (seems to be approximately the window ...
3
votes
1answer
212 views

generating pdf using UseFrontEnd

I run mathematica on a remote server and run it in batch mode using /math -noprompt -script 'scriptname.m' & Now, I use ssh -X to connect to the server. The server is linux based and my computer ...
4
votes
1answer
282 views

Pattern matching in subscripted variables

I am trying to use subscripted variables as symbols and provide assumptions elegantly for them, e.g. in order to simplify logs, I'd like to have ...
6
votes
2answers
448 views

How can I convert a formatted text cell to latex code?

I have a formatted text cell, I want to export it as latex. How can I do that? Since copy as LaTeX doesn't work, I thought of pasting it into a string and exporting, but it's a no go: ...
9
votes
3answers
313 views

Typeset unbalanced brackets

In LaTeX, you can typeset expressions containing unbalanced brackets, by balancing them with an invisible delimiter \left. or ...
1
vote
3answers
107 views

Timing display of Graphics (Front End timing)

I want to know how much wall-time it takes to display a Graphics For example this one: ...
7
votes
3answers
272 views

Keep palette visible when Mathematica application loses focus

When the Mathematica application loses focus, palette windows disappear (normal notebooks and dialogs (CreateDialog) stay). This is usually convenient because the ...
5
votes
2answers
193 views

Is it possible to define more than 9 shortcuts for notebook cell styles?

You can define shortcuts for notebook cell styles in the stylesheet editor, by adding MenuCommandKey->"7", etc. to the style definition. That is, you can define ...
14
votes
2answers
241 views

How can I access a variable in one evaluator from another evaluator?

I have two notebooks, each with a different kernel. Is there a way to grab the value of a variable in KernelA from KernelB?
7
votes
1answer
117 views

How to grab output from evaluating input cells in a generated notebook

The notebook expression resulting from ... ...
8
votes
3answers
476 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 ...
12
votes
4answers
1k views

How to select and delete all Output cells?

How to select and delete all Output cells in multiple notebooks programmatically without needing to (manually) opening them? How to define a hot key for deleting all Output cells within a notebook ...
6
votes
2answers
251 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 ...
0
votes
0answers
125 views

How to set Math text size & line spacing [duplicate]

I have chosen different font for text. Unfortunately this font is larger than the standard Times font. So all math symbols (e.g. greek) are now a little too small. If I could just set the FontSize for ...
4
votes
1answer
418 views

Emulating a button push or a mouse click with Mathematica code

I need to perform a long action with a button. I tried setting the DynamicEvaluationTimeout, but it seems it doesn't work for me. So I want to try using several ...
3
votes
1answer
367 views

Opening a notebook from command line in an existing front end instance

I am using Linux, and I would like to be able to programmatically open notebooks in a running Mathematica instance from the command line. Currently, doing something like ...
11
votes
1answer
308 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 ...
4
votes
1answer
64 views

How can I kill one evaluator from another?

I have a kernel named A in one notebook and other notebook with kernel B, how can I kill B from A?
8
votes
1answer
254 views

What is the complete list of valid FrontEnd Packet types?

In response to my question How can I get the unchanged Box form of an arbitrary expression? John Fultz answered with a method using the hilariously named ...
15
votes
3answers
375 views

How can I get the unchanged Box form of an arbitrary expression?

One may observe that MakeBoxes does not give the actual Box form of various expressions: MakeBoxes[{1*^4, 000123, a*b c}] ...
3
votes
0answers
131 views

How to hide inline Cells

By giving a cell the simple option CellOpen -> False, it can be hidden from view. But for inline cells (cell within a cell) this does not work. An option ...
4
votes
1answer
221 views

Cursor Position / Insertion Point

Is there a way to access (or even set) the cursor position in a Notebook? (By Cursor I refer to the keyboard input postion, or "Insertion Point". For the Mouse we have ...
0
votes
0answers
54 views

Custom Magnification Setting [duplicate]

Possible Duplicate: In Mathematica 7 for Windows, is it possible to use custom GUI magnifications? I am able to use a custom Magnification by setting ...
8
votes
2answers
511 views

Alternative Math Font

Are there other fonts that can be used for mathematical symbols? I have noticed, that choosing another font (via Stylesheet) does not change the math font (e.g. for greek symbols). Symbols will just ...
4
votes
2answers
345 views

Custom (physics) dictionary for mathematica (used for word-processing, spell checking)

Is there a dictonary available that contains physics slang like spinor, vacua, gauge etc.?? How would one integrate such a file (or a simple text file containing the words) into the front-end without ...
8
votes
1answer
373 views

Enhanced “Complete Selection” (dynamic autocomplete) for Text input?

The autocomplete ("Complete Selection") feature Ctrl-K (or F2 on Windows) works fine for functions and code input. Is there a way to enhance it for text input? Today’s standard (see e.g. OpenOffice ...
2
votes
1answer
313 views

How do I remove an entry from the Format > Stylesheet menu?

I was playing a bit with the stylesheets to make my own. In the process I have created and installed a few stylesheets but now I would like to remove some of them. First, how do I remove an entry ...
8
votes
2answers
165 views

Difference in integral character heights

Above is an example of what happens. It seems that the first integral is longer than the second because the y-character is longer than the x-character as this doesn't happen with other ...
3
votes
2answers
338 views

Page breaks appearing as thick line on actual print-out

I'm using Insert->Page Break to do just that, but thick black lines are appearing on the actual printed copy wherever I indicated a break. Can this be turned off?
9
votes
1answer
130 views

How to make certain mathematical characters be written as bold by default

In a notebook, when writing \[RightVector] over a variable I always end up bolding it to make it more visible. But it'd be easier if it could be set up to bold that ...
3
votes
0answers
80 views

Parsing subscripts when loading package files via the FrontEnd

I am working on some code, and have found it easier to use a Mathematica package because it is easier to run via command-line (lightweight) it allows for easier source versioning (Git), and it ...
7
votes
1answer
1k views

How to add more levels to Outline notebooks

The Outline stylesheet only seems to cover 6 levels of depth. Is there any way to increase that? Here's an example. Hitting tab on the last level just indents its content, but doesn't add another ...
3
votes
0answers
83 views

Sometimes notation gets auto-converted from traditional to raw input and won't convert back

For example, I'm typing this: When upon hitting the last character it gets converted to: And trying to Convert To TraditionalForm has no effect. This glitch has happened a few times and on ...
3
votes
1answer
103 views

Setting the context automatically based on section

Suppose I have a task that keeps things organized using contexts, so: ...
9
votes
1answer
257 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?
7
votes
0answers
371 views

How can I export aligned equations to $\LaTeX$?

Using Palettes -> Writing Assistant -> Math Cells, you can enter aligned equations such as: ...
3
votes
0answers
60 views

Automatically including custom stylesheet with notebook [duplicate]

Possible Duplicate: How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet? For some work I am doing, I take my notes in a notebook with a custom stylesheet. ...
32
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 ...
13
votes
2answers
205 views

What is the complete sequence of evaluations/transformations from submitting a cell to actual evaluation?

This question is inspired by that one. Reading it, I noticed that while (I think) I know what happens when entering an expression directly to the kernel (i.e. after typing ...
8
votes
3answers
208 views

Identify which cell uses most memory in front-end

Even though the mathematica front-end is much more robust than it used to be, everyone must have noticed that when a few 3D graphics are involved, the front-end produces very large notebooks which ...
11
votes
2answers
250 views

can a ColorFunction have side effects?

Can anyone explain this (to me) odd behavior. If I run this code once (fresh kernel) it works as intended. ...
9
votes
1answer
483 views

Monospaced fonts are not monospaced

I'm using Linux-x86-64 as operating system. Can someone explain this behaviour and maybe give a hint how to resolve it? Here are two lines of exact the same number of letters of a monospaced font: ...
8
votes
1answer
268 views

How to suppress undesirable kerning rules in math inline cells?

Update: (11/29/2012) Looks like Mathematica 9 has the same behavior. The following graphic shows how Mathematica kerns italic characters in an inline math formula cell (first row) where an ...
4
votes
1answer
166 views

How to make a notebook that will be window maximized when open?

I use CreateDocument[cells, opts] to create a notebook. When the notebook is open, it has a small default windows size and I need to manually maximize it every ...
5
votes
3answers
640 views

Is it possible to typeset left and right angle brackets?

I would like to typeset the following in a Mathematica notebook: $$\langle P \rangle$$ Is it possible to typeset left and right angle brackets? In $\LaTeX$, they are given by ...
3
votes
1answer
162 views

Mathematica 8 and window names for modified files

I do not know if this is particular to Mac OS, but with version 8, the window name of a notebook no longer changes (with an appended *) when it is modified, as it used to do with version 7 (as well as ...
13
votes
1answer
248 views

Problems with images caused by which stylesheet is used

Update This looks now like it was a bug in Mathematica version 8, because everything works as expected - at least for this minimal example - in version 9. (As an aside, I couldn't seem to find ...
12
votes
1answer
729 views

How to find out available fonts from within Mathematica?

How to find out available fonts on the system from within Mathematica? When I do Style["foobar", FontFamily -> "Foobar"] how do I know which font the ...