Tagged Questions

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

learn more… | top users | synonyms

4
votes
3answers
271 views

Is it possible to use custom GUI magnifications?

I am running Mathematica 7 on Windows XP Pro. I often use the magnification feature to zoom in on Plots, ListPlots, and ...
7
votes
1answer
112 views

Refreshing the Palettes menu

How can the contents of the Palettes menu be refreshed (preferably programmatically) without restarting the Front End? When droppping a new palette notebook into ...
5
votes
1answer
169 views

Possible to apply a function without brackets?

I was just playing around with entering two dimensional forms of some expressions. As an example, I wanted to write Integral[Cot[t],t]. I got as far as ...
10
votes
3answers
481 views

Programmatically quitting the FrontEnd or running without one?

I have a conundrum. I use an iMac's OS X 10.6.8 settings to start and stop the machine at the specific times that I need a particular notebook to run. I've done this because it has worked more ...
8
votes
1answer
197 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 ...
55
votes
4answers
3k 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 ...
4
votes
1answer
341 views

How to create FORTRAN Cell?

I want to create a FORTRAN cell in Mathematica. ...
6
votes
2answers
186 views

How to access off-cell mouse position inside an EventHandler?

Consider the following example. First, I print the dynamically updated value of the actual position of the mouse, then I print pt, which is the same but is only ...
20
votes
1answer
338 views

How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet?

As per discussion here: User A has a notebook that uses custom definitions from styles.nb. Now user A passes the notebook to user B. The styles do not show up for B because B does not have styles.nb. ...
7
votes
1answer
156 views

Inlining calculations in a notebook

Context In $\LaTeX$, I can write something like: Thus, we have $x = \sqrt{2}$, ... the $ ... $, as opposed to $$ ... $$, inline the LaTeX symbols. Now, with ...
8
votes
2answers
604 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: ...
14
votes
4answers
457 views

Easy button or hot key to switch between `Working` and `SlideShow` Screen Environments to avoid trip to menu

When I edit a slide show it easy to copy whole slides in Working Screen Environment but nice to preview slides in SlideShow ...
10
votes
5answers
396 views

How do you change the font size of a Manipulator label?

I have a stand alone Manipulator (it is not in a Manipulate) and would like to know how to alter the style of the label. There ...
6
votes
1answer
324 views

Mathematica Opens Each Session With Beep

First off, I am using Mathematica 8.0 and Mac OS X 10.7.4. Recently, when starting a new Mathematica session, I am confronted with an error beep and message window stating "The file you tried to open ...
0
votes
2answers
414 views

C interface for Mathematica

I would like to write a small C program which starts a Mathematica session, executes some user defined code and retrieves the output and finally quits the session. Basically I like to have a simple ...
6
votes
0answers
71 views

SetOptions for every new notebook [duplicate]

Possible Duplicate: Mathematica “prelude” I'd like every plot to have a frame and Helvetica labels. I'm satisfied with ...
1
vote
1answer
101 views

Print documentation (or front end) with all Openers open?

From the online reference: http://reference.wolfram.com/mathematica/ref/Opener.html a JS function javascript:open_ES() is invoked to open all Openers within a section. Note (1) this feature is ...
5
votes
4answers
174 views

Dialog inside dialog not DialogReturn-ing properly

How can I prevent the DialogInput from failing (or returning early) as soon as I close the "Close this" dialog? ...
5
votes
1answer
164 views

Why is SystemDialogInput failing to return a save file path?

I am encountering a problem using SystemDialogInput within a Button. The code below shows what I am doing. To test this create a ...
4
votes
1answer
111 views

Is there a way to programmatically do a “save as ” on an init.nb file to save it as init.m?

I am using Mathematica 8.0.4.0 running under Windows 7. Is there a way to programmatically do a "save as " on an init.nb file to save it as init.m? In the documentation center under ...
28
votes
2answers
848 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?
5
votes
1answer
133 views

New display format needed: “drag box”

I want to create a new display type, especially for numbers or text, but potentially for arbitrary objects as well. I want a "drag box" where not all of the number (object) is visible, but dragging ...
4
votes
1answer
123 views

What is the syntax for selecting multiple layers in an Overlay?

From the documentation: Overlay[{Subscript[expr, 1],Subscript[expr, 2],...},{i,j,...},s] allows selections to be made and controls to be clicked in Subscript[expr, s]. and an example of ...
7
votes
3answers
197 views

Using a Slider2D to add data points to a list

This bit of code sets up a list with the first entry already in it -- {{1,1}}: ...
4
votes
2answers
179 views

How to display cell groups in documentation pages

I recently introduced my WildCats package in the Meta Thread What third-party packages do you use? and @Szabolcs promptly observed that: "I noticed that there are many cell groups in the documentation ...
11
votes
2answers
409 views

How can I overload autocompletion to work with full contexts?

I would like for the autocomplete feature to search through contexts, for example if I have a symbol named A`B`C`MyFunction, when I type A` and press "cmd + shift + k" it will complete it. Edit To ...
7
votes
2answers
229 views

Close programmatically all cell groups in Mathematica?

Is it possible to collapse all cell groups in the current notebook? I tried ...
3
votes
1answer
536 views

How to close the (local) Debug window/palette

I have this local debug window that is so annoying How can I hide it? What is the purpose of it?
14
votes
2answers
431 views

Defining symbol shortcuts in the Front End

I was wondering (because I could not find any documentation on this) if it is possible to do shorthand abbreviations for domains or could one define them? E.g. In[1]:= Element[p,Complexes] ...
8
votes
2answers
383 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 ...
6
votes
0answers
142 views

TeXToBoxes and BoxesToTeX BoxRules options

A recent question has gotten me to look more into the tex conversion rules. Consider the following latex string: ...
14
votes
1answer
486 views

Creating a cross referencing shortcut

I believe I have gather all the pieces of information I need to create what I want but yet I cannot make the connection. Let me start with the goal. Simple Cross referencing Let us start by creating ...
9
votes
2answers
247 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
1answer
318 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 ...
8
votes
1answer
162 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 ...
10
votes
3answers
236 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 ...
17
votes
4answers
519 views

How can I make an InputField with a proper newline/carriage return?

The return key does not work as expected in an InputField, how can I overcome this?
36
votes
3answers
868 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 ...
9
votes
2answers
597 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: ...
9
votes
2answers
330 views

What is the simplest way to set the toolbar of a notebook to an image?

For custom stylesheets, it's nice to have a graphic banner in the Docked Cell. According to the doc page tutorial/IntroductionToToolbars, this is how you do it, but it seem a bit overkill: ...
12
votes
2answers
402 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
2answers
221 views

How to add an entirely new menu

Is it possible to add an entirely new menu, say menu "CustomApp" on the fly? For example a CustomApp package could add its own menu "CustomApp" with submenus, ect, once Needed. Former examples I ...
16
votes
1answer
488 views

Best way to add KeyEvents and faster Quit

Many users have asked how to add KeyEvents to speed/improve keyboard input. This is just a random example. The technique is always the same. It requires that you ...
11
votes
2answers
311 views

Memory leak in FE?

A very abridged example of what was originally a major leak ...
24
votes
1answer
555 views

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

The EventHandler documentation, More Information section, lists 5 mouse events: ...
5
votes
1answer
94 views

Unexpected behavior of PasteButton

Assume the following very complex palette: CreatePalette[ PasteButton[FontColor -> RGBColor[1, 0, 0]] ]; Its purpose is to insert a ...
15
votes
2answers
339 views

Obtaining the number in CounterBox

Is there a way of obtaining the current number of a counterbox? Say for instance that in a new notebook you create 3 section cells. Then by evaluating the command: ...
4
votes
1answer
157 views

Searching Notebooks for String Patterns using Workbench v2

The Workbench webpage describing new features in version 2 lists the ability to "Search notebook documents with the Mathematica pattern search utility" under the heading Mathematica Front End ...
3
votes
1answer
201 views

Inline cells and conversion rules

In the following link you can find the following about ConversionRules when exporting to HTML: specifies mappings from Mathematica cell styles to HTML elements, ...
7
votes
1answer
623 views

Creating and editing new stylesheets

I'm trying to create a stylesheet, but the process has become painful. I'm sure that this has to do something with resetting something in Mathematica everytime I make changes to the stylesheet. To ...