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

learn more… | top users | synonyms

12
votes
2answers
223 views

How can I access a variable in one evaluator from another evaluator?

I have two notebooks, each with a different kernel. Is there a way to grab the value of a variable in KernelA from KernelB?
7
votes
1answer
113 views
35
votes
3answers
724 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 ...
8
votes
1answer
183 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 ...
6
votes
2answers
228 views

Select Cells to End of Notebook

I'd like to create a keyboard shortcut that will allow me to select all of the cells from the current cell until the end of the notebook, similar to how ShiftCtrlEnd functions when editing text in ...
8
votes
1answer
342 views

Enhanced “Complete Selection” (dynamic autocomplete) for Text input?

The autocomplete ("Complete Selection") feature Ctrl-K (or F2 on Windows) works fine for functions and code input. Is there a way to enhance it for text input? Today’s standard (see e.g. OpenOffice ...
0
votes
0answers
124 views

How to set Math text size & line spacing [duplicate]

I have chosen different font for text. Unfortunately this font is larger than the standard Times font. So all math symbols (e.g. greek) are now a little too small. If I could just set the FontSize for ...
3
votes
1answer
267 views

Opening a notebook from command line in an existing front end instance

I am using Linux, and I would like to be able to programmatically open notebooks in a running Mathematica instance from the command line. Currently, doing something like ...
4
votes
1answer
62 views

How can I kill one evaluator from another?

I have a kernel named A in one notebook and other notebook with kernel B, how can I kill B from A?
7
votes
1answer
904 views

How to add more levels to Outline notebooks

The Outline stylesheet only seems to cover 6 levels of depth. Is there any way to increase that? Here's an example. Hitting tab on the last level just indents its content, but doesn't add another ...
8
votes
2answers
164 views

Difference in integral character heights

Above is an example of what happens. It seems that the first integral is longer than the second because the y-character is longer than the x-character as this doesn't happen with other ...
15
votes
3answers
332 views

How can I get the unchanged Box form of an arbitrary expression?

One may observe that MakeBoxes does not give the actual Box form of various expressions: MakeBoxes[{1*^4, 000123, a*b c}] ...
19
votes
1answer
673 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"]?
3
votes
0answers
124 views

How to hide inline Cells

By giving a cell the simple option CellOpen -> False, it can be hidden from view. But for inline cells (cell within a cell) this does not work. An option ...
3
votes
1answer
193 views

Cursor Position / Insertion Point

Is there a way to access (or even set) the cursor position in a Notebook? (By Cursor I refer to the keyboard input postion, or "Insertion Point". For the Mouse we have ...
11
votes
0answers
349 views

Is it possible to regain Mathematica 5.2's palette input focus behaviour with version 8.0?

Between Mathematica 5.2 and later versions, there has been a change in determining which notebook gets the palette input focus, which leads to quite unfortunate behaviour if you use ...
0
votes
0answers
52 views

Custom Magnification Setting [duplicate]

Possible Duplicate: In Mathematica 7 for Windows, is it possible to use custom GUI magnifications? I am able to use a custom Magnification by setting ...
4
votes
2answers
320 views

Custom (physics) dictionary for mathematica (used for word-processing, spell checking)

Is there a dictonary available that contains physics slang like spinor, vacua, gauge etc.?? How would one integrate such a file (or a simple text file containing the words) into the front-end without ...
3
votes
2answers
289 views

Page breaks appearing as thick line on actual print-out

I'm using Insert->Page Break to do just that, but thick black lines are appearing on the actual printed copy wherever I indicated a break. Can this be turned off?
9
votes
1answer
126 views

How to make certain mathematical characters be written as bold by default

In a notebook, when writing \[RightVector] over a variable I always end up bolding it to make it more visible. But it'd be easier if it could be set up to bold that ...
3
votes
0answers
77 views

Sometimes notation gets auto-converted from traditional to raw input and won't convert back

For example, I'm typing this: When upon hitting the last character it gets converted to: And trying to Convert To TraditionalForm has no effect. This glitch has happened a few times and on ...
3
votes
0answers
78 views

Parsing subscripts when loading package files via the FrontEnd

I am working on some code, and have found it easier to use a Mathematica package because it is easier to run via command-line (lightweight) it allows for easier source versioning (Git), and it ...
7
votes
0answers
357 views

How can I export aligned equations to $\LaTeX$?

Using Palettes -> Writing Assistant -> Math Cells, you can enter aligned equations such as: ...
3
votes
0answers
59 views

Automatically including custom stylesheet with notebook [duplicate]

Possible Duplicate: How can I easily eliminate the dependency of a stylesheet on a non-built-in stylesheet? For some work I am doing, I take my notes in a notebook with a custom stylesheet. ...
13
votes
2answers
188 views

What is the complete sequence of evaluations/transformations from submitting a cell to actual evaluation?

This question is inspired by that one. Reading it, I noticed that while (I think) I know what happens when entering an expression directly to the kernel (i.e. after typing ...
8
votes
3answers
196 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 ...
4
votes
1answer
151 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 ...
8
votes
1answer
525 views

Start Mathematica without the menu bar?

Is there any way to start Mathematica without the main menu bar? To be precise: Sometimes I make standalone mini-applications that I would like to just have in their own little windows without the ...
8
votes
2answers
139 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. ...
14
votes
1answer
375 views

How to Print to the Console

Background: Using the settings under Edit-> Preferences->Evaluation I can redirect all the Print statments to the console. What I'd really like to do is redirect just some specific ...
6
votes
0answers
713 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 ...
10
votes
2answers
1k 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 ...
12
votes
1answer
486 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
165 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
71 views

Why do syntax errors make a 8.` run through $PreRead in a TagBox?

Modified code from the help file on $Pre: ...
11
votes
2answers
411 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
197 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
130 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 ...
5
votes
0answers
88 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
146 views

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

I created a notebook and was manipulating its WindowOpacity option: ...
6
votes
0answers
149 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
105 views

How to insert or use the PackageTemplate?

In the system resource file MiscStrings.tr there is a template: ...
11
votes
1answer
197 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
3answers
407 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
309 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
194 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
164 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
189 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
241 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 ...