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

learn more… | top users | synonyms

8
votes
3answers
208 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 ...
11
votes
2answers
253 views

can a ColorFunction have side effects?

Can anyone explain this (to me) odd behavior. If I run this code once (fresh kernel) it works as intended. ...
9
votes
1answer
495 views

Monospaced fonts are not monospaced

I'm using Linux-x86-64 as operating system. Can someone explain this behaviour and maybe give a hint how to resolve it? Here are two lines of exact the same number of letters of a monospaced font: ...
8
votes
1answer
269 views

How to suppress undesirable kerning rules in math inline cells?

Update: (11/29/2012) Looks like Mathematica 9 has the same behavior. The following graphic shows how Mathematica kerns italic characters in an inline math formula cell (first row) where an ...
4
votes
1answer
175 views

How to make a notebook that will be window maximized when open?

I use CreateDocument[cells, opts] to create a notebook. When the notebook is open, it has a small default windows size and I need to manually maximize it every ...
5
votes
3answers
675 views

Is it possible to typeset left and right angle brackets?

I would like to typeset the following in a Mathematica notebook: $$\langle P \rangle$$ Is it possible to typeset left and right angle brackets? In $\LaTeX$, they are given by ...
3
votes
1answer
162 views

Mathematica 8 and window names for modified files

I do not know if this is particular to Mac OS, but with version 8, the window name of a notebook no longer changes (with an appended *) when it is modified, as it used to do with version 7 (as well as ...
13
votes
1answer
248 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 ...
12
votes
1answer
776 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 ...
11
votes
2answers
2k 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
335 views

StringJoin/FileNameJoin doesn't quite work in script

My mathematica script is as follows: ...
15
votes
1answer
591 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
167 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
806 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
75 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
217 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: ...
5
votes
0answers
93 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
134 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
191 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
111 views

How to insert or use the PackageTemplate?

In the system resource file MiscStrings.tr there is a template: ...
11
votes
1answer
220 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
146 views

Notebook with a WindowOpacity too small becomes “click-through” for mouse

I created a notebook and was manipulating its WindowOpacity option: ...
19
votes
1answer
765 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"]?
11
votes
2answers
526 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 ...
27
votes
1answer
764 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
342 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, ...
10
votes
3answers
456 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
207 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
192 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
209 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 ...
8
votes
2answers
287 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 ...
17
votes
1answer
503 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 ...
5
votes
1answer
203 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 ...
4
votes
3answers
261 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
109 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
472 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
191 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 ...
54
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
337 views

How to create FORTRAN Cell?

I want to create a FORTRAN cell in Mathematica. ...
6
votes
2answers
182 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
331 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
155 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
597 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
452 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
390 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
321 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
406 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
100 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 ...