Questions related to the Mathematica front-end (graphical user interface).
7
votes
0answers
89 views
How to get an adaptive frame which fits auto-wrapped text?
When using the built-in Debugger, the breakpoints and the current step will be framed looks like this:
My favorite part is, those frames are adaptive to the text when window width changing makes it ...
14
votes
2answers
300 views
Auto-completion doesn't work as my expectation in version 9.0
When I input the following line in version 8, and press Ctrl+K after Re, I can get a drop-down auto-completion list including ...
8
votes
3answers
202 views
Quickly display a color graphically
When manipulating colors, the output is shown as a textual expression like Hue[1/5], RGBColor[2/3, 1, 1/3], ...
24
votes
2answers
500 views
Template completion
In version 8, if one evaluates
test::usage="test[x,y]";
then types test, then shift-cmd-k (or shift-ctrl-k), a template ...
7
votes
1answer
148 views
Changing default ImageSize in the frontend?
I would like graphs to appear somewhat larger in my notebooks (running v8.0.4 on OSX 10.8.2).
Naturally I can specify ImageSize in each individual plot, or drag ...
7
votes
1answer
187 views
How can I add arbitrary code into DefaultKeyTranslations.tr?
The solution to this question on how to get latex code for a text cell (which Mathematica doesn't do correctly) was formulated as a palette but I need it as a keyboard shortcut.
How can I add an ...
1
vote
0answers
115 views
Ubuntu global menu bar integration?
Is there a way to integrate the Mathematica menu bar into the Ubuntu Unity global menu bar at the top of the screen? (I'm not looking to run mini-applications.) Thanks!
7
votes
2answers
94 views
Appearance in Checkbox does not work
I'm experiencing strange behavior in Checkbox with Appearance:
...
1
vote
1answer
105 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
99 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
104 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
150 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
...
1
vote
0answers
78 views
Cursor delay even in fresh notebook [closed]
I'm experiencing delays and lag with respect to the cursor. Even on a fresh notebook just after launching Mathematica as soon as I start typing the cursor falls behind the key strokes very quickly. ...
6
votes
2answers
286 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
182 views
Typeset unbalanced brackets
In LaTeX, you can typeset expressions containing unbalanced brackets, by balancing them with an invisible delimiter \left. or ...
0
votes
3answers
75 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:
...
6
votes
3answers
172 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
148 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 ...
10
votes
2answers
167 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
96 views
How to grab output from evaluating input cells in a generated notebook
The notebook expression resulting from ...
...
5
votes
2answers
186 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 ...
7
votes
3answers
399 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
148 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
93 views
How to set Math text size & line spacing
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
194 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
119 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
...
8
votes
1answer
209 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 ...
3
votes
1answer
47 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?
7
votes
1answer
169 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 ...
12
votes
3answers
227 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
87 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 ...
3
votes
1answer
122 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
47 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 ...
7
votes
2answers
270 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
235 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 ...
7
votes
1answer
276 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 ...
1
vote
1answer
121 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 ...
7
votes
2answers
145 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
174 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
116 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
64 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
433 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
71 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
81 views
Setting the context automatically based on section
Suppose I have a task that keeps things organized using contexts, so:
...
9
votes
1answer
164 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
306 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
49 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. ...
24
votes
5answers
1k 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 ...
12
votes
2answers
155 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
176 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 ...



