Questions related to the Mathematica front-end (graphical user interface).
0
votes
1answer
135 views
4
votes
1answer
144 views
Where can I find a list of functions, specifically views, that can be translated to a C standalone executable?
I want to create a standalone mathematica executable. I would like to have some view capabilities like CreateDialog or TabView or those kinds of things. I would like my users to have an interface to ...
2
votes
1answer
63 views
Why do syntax errors make a 8.` run through $PreRead in a TagBox?
Modified code from the help file on $Pre:
...
20
votes
1answer
307 views
Open two copies of the same notebook
Is there a way to open one notebook in two (or more) different windows? This can be helpful when working with a long notebook and one wants to edit one part of it while looking at a different part. ...
9
votes
2answers
304 views
Take screenshot of the entire desktop using Mathematica
Is it possible to get a screenshot of the entire desktop directly in Mathematica?
I am on Ubuntu running Mathematica 8. For some reason GUIScreenShot[] fails. But ...
1
vote
2answers
150 views
Closing front end from within
Based on this I'd like to close the mathematica front end without the nagging dialog boxes that follow.
Why am I trying to do this?
I have a bash script which is such:
...
1
vote
1answer
112 views
How to switch between different CDFs in CDF Player?
I recently got a Mac. It has CDF Player, but not Mathematica. How do I get CDF Player to switch between different CDFs on OS X Lion?
Edit
I forgot to mention that I want to know how to switch ...
6
votes
0answers
73 views
Clear Citation Style Cache
How can I clear the "Citation Styles Cache" created when you use the EndNote citation management feature for the first time in Mathematica. The Citation Management tutorial indicates that such a ...
10
votes
1answer
138 views
Notebook with a WindowOpacity too small becomes “click-through” for mouse
I created a notebook and was manipulating its WindowOpacity option:
...
5
votes
0answers
88 views
Page Break Adjustment In Long Documents
Has anyone else had trouble in relocating page breaks in a long document? In a ~45 page long document I wanted to keep certain things on the same page. The system worked on the first three or four ...
5
votes
1answer
87 views
How to insert or use the PackageTemplate?
In the system resource file MiscStrings.tr there is a template:
...
11
votes
1answer
169 views
Programmatically minimize mathematica?
I can minimize a notebook easy enough with Mathematica code, but how does one minimize all of the Mathematica front end? Just as if you clicked the minimize button on the menu bar? This is for ...
20
votes
1answer
371 views
What is the most effective way to setup a Notebook with transparent background but solid contents?
I know there is a Notebook option WindowOpacity can be used to adjust the opacity of a whole notebook. But what I want is keeping the text and graphics and so on ...
10
votes
3answers
324 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 ...
15
votes
1answer
238 views
What is Sub Mathematica?
When looking at the locally available licenses, I see four entries: "Mathematica", "MathKernel", "Sub Mathematica" and "Sub Mathkernel". Now "Mathematica", "MathKernel" and "Sub Mathkernel" are clear, ...
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
2answers
158 views
Using mouse back/forward buttons in Mathematica's help system
I have a generic mouse with back/forward buttons. Those buttons are recognized by the system - I can use xev to see that they generate events for buttons number 8 ...
6
votes
2answers
136 views
Can individual locators in LocatorPane be temporarily disabled?
This follows up on another question about the sensitivity of Locators in a a LocatorPane.
I would like to be able to enable/disable individual locators in a LocatorPane.
In the simplified version of ...
3
votes
1answer
148 views
Using DynamicWrapper with multiple Dynamics with different TrackedSymbols
I have two variables A and B that are linked such that changes to one causes the other to be updated to the same value. However at each change I'd also like to know which variable cause the update to ...
7
votes
2answers
153 views
Restrict Sensitivity of Locators in LocatorPane
We can restrict the movement of locators in a LocatorPane as follows:
In the following example, the first locator's movement is confined to the x-axis and the ...
11
votes
1answer
164 views
Implementing bookmarks in the front end when editing a package
Sometimes when working on larger pieces of code or on a larger package I really miss the option to bookmark the current line/position in the code.
Since the front-end is quite extendable my question ...
16
votes
1answer
219 views
Saving my code before cell evaluations: Insurance against front end hanging
I guess my programming working style is not unique. I develop programs one cell at a time, and when I have some confidence about what I did, I put all my mess together refining the code, building up ...
6
votes
2answers
161 views
Prevent text from wrapping in a notebook
By default in the Notebook interface the text wraps.
Is it possible to prevent this wrapping?
2
votes
3answers
157 views
In Mathematica 7 for Windows, 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
82 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 ...
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 ...
5
votes
1answer
147 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 ...
6
votes
1answer
189 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 ...
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:
...
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 ...
6
votes
2answers
155 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 ...
17
votes
1answer
185 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. ...
10
votes
5answers
257 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 ...
17
votes
1answer
283 views
How do I find all the possible events that work with EventHandler?
The EventHandler documentation, More Information section, lists 5 mouse events:
...
11
votes
4answers
272 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 ...
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
1answer
133 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 ...
-2
votes
2answers
314 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 ...
5
votes
4answers
123 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?
...
16
votes
0answers
291 views
Changing FrontEnd automatic scrolling in version 8
In Mathematica versions $\le$ 8, the FrontEnd has a very intelligent behavior:
On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
27
votes
6answers
1k views
How to visualize/edit a big matrix as a table?
Is it possible to visualize/edit a big matrix as a table ? I often end up exporting/copying big tables to Excel for seeing them, but I would prefer to stay in Mathematica and have a similar view as in ...
10
votes
2answers
345 views
Is it possible to insert an animated image into Mathematica notebook?
I find it very convenient to use Mathematica notebooks to organise the codes + results.
I was wondering if it is possible to insert an animated image (say an animated gif) in the middle of a ...
20
votes
2answers
473 views
How do I add new menuitems to menus?
What are some complete examples of what one would include in a FrontEnd init.m that would make use of FrontEnd`AddMenuCommands ...
5
votes
1answer
217 views
How make AddMenuCommands work in an init.m
I want to add some items to the Mathematica 8.0.4 Help menu (under Mac OS X). In
[$UserBaseDirectory]/Autoload/FrontEnd/init.m
I have the following cell:
...
7
votes
1answer
156 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 ...
10
votes
1answer
193 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 ...
10
votes
2answers
267 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]
...
1
vote
1answer
89 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 ...
15
votes
3answers
429 views
How to convert between various ItemSize/ImageSize units?
How can one convert between the implicit units used by Grid (ems and line height for horizontal and vertical dimensions) and printers points (in ...
4
votes
0answers
53 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
...



