Questions related to the Mathematica front-end (graphical user interface).
13
votes
1answer
206 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 ...
11
votes
1answer
318 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 ...
8
votes
2answers
514 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 ...
0
votes
1answer
133 views
11
votes
1answer
295 views
Why are all the lines commented when I create a Mathematica script?
When I created a Mathematica script, I found that all my lines were commented out (when opened with vi or gedit or any other ...
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 ...
6
votes
0answers
577 views
Limiting the use of discrete graphics card on Mac
Apple's laptop running Mac OS have a pretty nice feature to make the battery last longer: the dynamically switch between the low-power integrated graphics card and the higher-performance dedicated ...
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:
...
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:
...
6
votes
0answers
71 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 ...
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 ...
4
votes
0answers
87 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
168 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 ...
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:
...
13
votes
1answer
394 views
Programmatically move the cursor to a desired location on the screen
Is it possible to set/move the mouse pointer's location directly from Mathematica without using external tools like Run["xdotool mousemove x y"]?
9
votes
2answers
303 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 ...
20
votes
1answer
306 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. ...
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
211 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
135 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 ...
16
votes
1answer
218 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 ...
4
votes
1answer
141 views
Programmatically opening a palette from the Palettes menu
How can I programmatically open a palette from the Palettes menu? Is there a Front End token for this?
Motivation:
Certain settings for the palettes that are installed into standard locations and ...
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
81 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
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 ...
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 ...
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 ...
32
votes
3answers
1k 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
230 views
6
votes
2answers
154 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
184 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
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 ...
7
votes
2answers
365 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:
...
11
votes
4answers
270 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
255 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
188 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 ...
-2
votes
2answers
312 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 ...
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
...
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 ...
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?
...
5
votes
1answer
109 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
85 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 ...
22
votes
2answers
471 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
109 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
93 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 ...
6
votes
3answers
103 views
Use 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}}
...


