Questions related to the Mathematica front-end (graphical user interface).
9
votes
1answer
197 views
How to specify default style in Mathematica 9
In Mathematica 8, I can use GraphicsBoxOptions->{DefaultBaseStyle->{"Graphics", FontFamily -> "Helvetica", FontSize -> 14}} to specify the default font ...
9
votes
2answers
204 views
Copying Greek text from notebooks as unicode [duplicate]
Possible Duplicate:
How to “Copy as Unicode” from a Notebook?
How can I copy Greek text from notebooks as proper Unicode that can be pasted into other applications? If I type ...
9
votes
1answer
128 views
Preserving indentation when creating a new line (when editing in a package)
Background:
This is the third question in a row of questions about how to make editing packages in the front-end much more bearable (the other two are here and here). It seems that the front end is ...
9
votes
1answer
161 views
Shortcut to insert CounterBox
Is there a shortcut to inserting a CounterBox as you type in text mode? I haven't yet made extensive use of them but I can foresee them in my near future and the ...
9
votes
1answer
392 views
Toolbars in Mathematica
Mathematica seriously lacks some useful toolbars. I wonder why keeping a totally barebone gui is part of WRI's policy? Would such a feature be so platform-specific that it does not worth design it? I ...
9
votes
2answers
147 views
How to force neat linewrapping in Print?
I am regularly annoyed by the fact, that a neatly arranged Print statement gets ruined by a large piece of data, which - instead of linewrapping "in place" - is ...
9
votes
1answer
163 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?
9
votes
1answer
90 views
Cell brackets on left side?
Is it possible to have the cell brackets on the left? I looked through the options and couldn't find anything, but maybe it's some kind of esoteric style setting or something.
The reason I'm looking ...
9
votes
1answer
150 views
How do I programmatically add to contextual menus?
To programmatically add to menus you can do as described here:
How do I add to menus?
What can I do to programmatically add to contextual menus? Is something similar to ...
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 ...
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], ...
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 ...
8
votes
2answers
213 views
What is modifying an init.m that changes menu Palettes order?
When I installed the mathStatica application, it seems to have made some kind of change deep in my Mathematica 8.0.4 system files. That change causes the mathStatica palette to appear out of ...
8
votes
3answers
153 views
Intermediate display similar to PrintTemporary
Using MMA we often come across situations like the following
cityLIST = CityData[#, "Name"] & /@ CityData[];
This code if you evaluate will emit some display ...
8
votes
2answers
259 views
How can one define an infix operator with an arbitrary unicode character?
You can setup "UsefulFunction[a, b]" to use custom infix notation "a [LeftRightArrow] b" as follows:
...
8
votes
2answers
166 views
Keeping Quotation Marks in Output
I am running into the following seemingly simple problem. I have this code:
testphrase="i love you";
input=ToLowerCase[StringSplit[testphrase, Whitespace]]
It ...
8
votes
1answer
93 views
How to catch the “Preemptive” evaluations from within the main loop?
When trying to make an optimized version of my plotRange fonction I faced a problem of catching the "Preemptive" evaluations ...
8
votes
1answer
97 views
Is it possible to make v9 ignore case when completing names?
In v8, I could type, say, fulls or texf to get FullSimplify or ...
8
votes
2answers
180 views
Listing all celltags in a notebook
Is there a command to obtain all the CellTags and the style of the cell they are in? This question is derived from this question which was answered by jVincent. ...
8
votes
2answers
304 views
Text in columns
So far I've only seen the front end work in a one-cell-below-the-other manner, so I am probably not expecting much of this question, but here it goes.
Is there any way to create a document with text ...
8
votes
4answers
506 views
Create shortcut in Mathematica for “Equal Symbol Aligned Math Cell”
How do I create a new shortcut for creating a "Equal Symbol Aligned Math Cell" in Mathematica 8?
Update
I meant a keyboard shortcut. An "Equal Symbol Aligned Math Cell" is exactly what @Heike ...
8
votes
2answers
267 views
Move the cursor in a notebook using the keyboard
How can I move through a notebook using only the keyboard?
If one tries to use the arrow keys, the cursor tends to get "trapped" in comments and error messages.
8
votes
2answers
119 views
Make the selection become the button you click
Let's assume I want a button that, when you click it, get the cell that contains it selected.
This approach won't work, it selects the cell containg the selection previous to the click.
...
8
votes
2answers
459 views
Collapse a section of a huge function
(I have recently taken to Mathematica... still a noobie)
Is there an elegant way of hiding/collapsing only a portion of a function (for example, in Matlab, within a function, one can collapse the for ...
8
votes
3answers
231 views
How to anchor a Pane's scroll position to the bottom?
Suppose I have a Pane containing some dynamic text, for example that is being updated by a logging function.
...
8
votes
1answer
128 views
in v9, backspace causes cell to become section style
In the front end of v9, in any given cell that contains content, if I hit backspace to clear the content until there is nothing left, and then hit backspace one more time, the cell becomes a ...
8
votes
2answers
518 views
How to change the style definitions for Default.nb?
I have looked over other questions related to style definitions, and looked through the Mathematica 8 documentation, but I do not know why I am having so much difficulty setting the default font in my ...
8
votes
1answer
109 views
Drag & drop path info into front end?
On OSX at least, it's possible to quickly retrieve a folder/file path by dragging & dropping the folder/file into the terminal, eg:
Is it possible to program Mathematica's front end enable ...
8
votes
2answers
452 views
How to prevent the welcome screen from showing up after I close my last notebook? (Ubuntu 11.10, MMA 8.0.4.0)
I would like to prevent the welcome screen from showing up after I close my last notebook. This is not an issue on my Windows machine, so I suspect it is system dependent. I am running Ubuntu 11.10. ...
8
votes
1answer
249 views
Customize front end to add notifications when evaluation finishes?
Is it possible to add some customization code to the front end, so that when all cells have finished evaluating, some user code can be run?
Background: I'm currently running some Mathematica programs ...
8
votes
2answers
239 views
Default position and size of front-end windows (in Windows 7)
I'm running Mathematica 8 on Windows 7. When I start the Mathematica front end, I would like the menu bar and the blank notebook that opens to appear at a different position and with a different size ...
8
votes
2answers
233 views
How do I change the pressed button appearance?
On my system when a default button is pressed it turns light blue. This appearance can be changed using this code from the documentation:
Use a second element to get the appearance of a pressed ...
8
votes
1answer
167 views
SubTitle and SubSubTitle do not group by default
For some reason, the SubTitle and SubSubTitle cell formats do not group automatically on my machine any more, and I cannot ...
8
votes
1answer
112 views
How does AutoStyleWords work?
The title says it all. I assume it provides some way of automatically applying a certain style, or a list of options, to certain words written, just like other options of the sort like ...
8
votes
2answers
138 views
Is it possible to create Evaluatable cell which will be automatically overwritten?
Am trying to generate an Evaluatable cell which itself is an output cell which will be overwritten when the original Input cell ...
8
votes
1answer
120 views
How can I add a background to a stylesheet?
In version 9 we can set the background to an image, however I'd like to save this into a stylesheet that can be installed.
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 ...
8
votes
1answer
233 views
What is the full list of all font families?
I'm having trouble finding a complete list of the FontFamily strings that mathematica supports.
8
votes
1answer
133 views
Accessing the Options of the parent Cell
From within the Kernel, it is possible to access a Cell's options using CurrentValue. For instance, in a ...
8
votes
1answer
172 views
Pasting TemplateBox with a Dynamic argument
Ok, this is pretty specific...
The objective is to use a TemplateBox to format something that is programatically inserted with ...
8
votes
0answers
101 views
Help bogged down at first query
When I open help at the first time in a mathematica session and I submit a query it always get bogged down for many seconds until a message appears as in the picture. Then I select continue waiting, I ...
8
votes
0answers
334 views
How to copy hyperlink addresses using the keyboard
I would like to copy the address of a hyperlink in Mathematica using the keyboard.
I found code for copying hyperlink addresses in ContextMenus.tr:
...
7
votes
2answers
213 views
How to select all initialization cells?
Is there an easy way to select all initialization cells (and only those) in a Mathematica notebook?
7
votes
3answers
396 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 ...
7
votes
2answers
366 views
List of Mathematica textual symbols
Context
I am using Mathematica to create live documents - documents that are both interactive and show mathematical derivations. Now, I'm aware that there are certain symbols that are available via:
...
7
votes
2answers
128 views
How can I style a cell frame with rounded corners?
I'd like use rounded rectangles for my cell style, but I'm not sure if this is possible. Perhaps it can be faked with an image as a background for it?
7
votes
2answers
242 views
How do I prevent auto loading of blank notebook at startup?
I'm using Mathematica 8 with operating system Mac OS X Lion. When I open Mathematica it always loads a blank notebook. I don't want it to load anything by default.
In the Preferences pane there ...
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
2answers
115 views
Close programmatically all cell groups in Mathematica?
Is it possible to collapse all cell groups in the current notebook? I tried
...
7
votes
2answers
269 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 ...


