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

learn more… | top users | synonyms

5
votes
1answer
2k views

Running a shell script within Mathematica

The title pretty much explains it and I have not found something similar already posted. Perhaps I am not searching for the correct title or maybe this is something very basic, but I would appreciate ...
3
votes
2answers
84 views

Cannot find BaseDirectory or UserBaseDirectory in Mac OS El Capitan

I am new to Mac OS, so this might be a silly question, but.... I just searched for $BaseDirectory and $UserBaseDirectory in my ...
0
votes
1answer
38 views

How can I convert a CounterBox into a number?

There must be a possibility to convert a CounterBox into a number. For example ...
7
votes
1answer
189 views

Show StyleSheets and Palettes from custom directory in Mathematica's Menu

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
1
vote
0answers
37 views

Weird copy and paste behaviour [closed]

If I select and copy some text from a Text-cell, say, Cell["Test", "Text"] and paste this somewhere (like here) I get: ...
13
votes
2answers
183 views

How to prevent Dynamic activity with colour swatches in V10+

Since version 10, if I type e.g. an RGBColor or simply a named color, a dynamic colour swatch is returned. Same goes for when you e.g. extract colours from a ...
1
vote
0answers
19 views

How can I get the current Pagenumber of a Selected cell in another open Notebook? [closed]

I try to make a Table of Contents of a set of notebooks. Author Tools is crashing regularly when using paginate. I tried to use something like (inspired by another post here form HEIKE - ...
8
votes
0answers
70 views

What is the equivalent of $ModuleNumber for DynamicModule

Mathematica provides access to $ModuleNumber which can be enormously useful. Unfortunately I can't find the equivalent for ...
18
votes
2answers
343 views

Non-english spell check dictionaries for Mathematica?

I've spent a fair amount of time bending Mathematica for taking notes and I've been very happy with it, the only missing piece it seems is a nice spell check dictionary for Polish (my mother ...
5
votes
0answers
119 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug introduced in V9.0 or earlier and persisting through 10.4.0 I have a problem with images with alpha channel which I want to use as labels on Button etc. ...
16
votes
1answer
292 views

What options and settings can be used to create print quality typeset documents with Mathematica?

If I am proficient on dedicated typesetting software (e.g. LaTeX) it makes sense to use that for typesetting but if I am not how can I use Mathematica to create good quality documents. The question ...
3
votes
0answers
52 views

How to reference a cell in a different notebook

I am creating a 'Table of contents' (TOC) generator not unlike the AuthorTools. My "generator" creates cells like the following in the TOC.nb: ...
13
votes
2answers
369 views

ScheduledTask with scoped variables. Working with timed evaluation

I guess I have to try harder and focus more but timed evaluation always frustrates me. I will show the issue on simple example of delayed trigger. ...
4
votes
1answer
54 views

Updating styles which are based on styles changed in private stylesheet

Intro Styles can inherit from other styles: base one style on another? And for example WolframAlphaLong is inheriting from ...
1
vote
1answer
91 views

NewLine Inconsistency

Copy and paste the following two lines into Mathematica. 1 \[Alpha] \[NewLine] 2 f[ 1 \[Alpha] \[NewLine] 2] The first posts ...
0
votes
0answers
42 views

Change the default package toolbar? [duplicate]

Everytime a package file (.m or .wl), it opens with the standard package toolbar (a docked cell) ...
4
votes
1answer
57 views

Choosing specific font variants

Many fonts come with several variants that can be accessed from most OS X applications. Here's an example showing several variants of the Latin Modern Roman font. (These variants in the screenshot ...
7
votes
1answer
316 views

Triangle that collapse cells

I'm not very good in English , so is hard to explain but how put the triangle in the left that deploy or collapse a group of cells ?
4
votes
0answers
52 views

How to display EntityProperty objects with their CanonicalName?

Is there a way to display EntityProperty objects with their CanonicalName instead of the text they are currently displayed with. ...
9
votes
1answer
81 views

How to put Magnification control in docked cell

I have made a handy toolbar that provides access to menu items that are not visible when I F12 a workbook. I would like to add the following function to a button in the toolbar: ...
10
votes
2answers
368 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
1answer
90 views

Fraction shortcut does not work, KeyEventTranslations.tr gets ignored

The fraction shortcut is not working. Any change in my file KeyEventTranslations.tr in my directory ...
42
votes
4answers
2k views

How to disable the small pop-up windows when mouse is over a Mathematica command in V10?

In version 10, when the mouse is over a Mathematica command, a small pop-up window comes up that one can click on for help on the command. Is there an option to disable this feature? Screen shot: ...
1
vote
0answers
43 views

How to Build a Drop Down Menu? [duplicate]

I am new to Mathematica so I am sorry if the question is rudimentary. :) When I was reading the help page, I noticed that there is a structure like the picture below for the topics in the help page ...
13
votes
1answer
219 views

What governs images resizing in the FrontEnd environment

What is responsible for the middle Row images' size? And why single image row is different? ...
4
votes
2answers
86 views

Setting WholeCellGroupOpener [duplicate]

When I write WholeCellGroupOpener, Mathematica autocompletes it, but it doesn't recognize it (it stays blue instead of turning black). Example: ...
0
votes
0answers
31 views

Selection of all the objects with the same style in a notebook [duplicate]

In a notebook, I would like to select all the cells with the "Text" style to change their style. How is possible to do this with a automatic process? For the moment I can do it only cell by cell.
1
vote
1answer
37 views

Button to close cells

I want to have a button that closes cells with a specific tag. The following code does what I want: ...
1
vote
2answers
188 views

Problems opening a notebook in Mathematica

Reviewers: please see the comments below my answer for additional information on why the edits were made. -bobthechemist I have a text file (with a .txt extension) written for Mathematica, but ...
0
votes
0answers
27 views

Private Style in a StyleSheet with preformatted text

I want to create a new Style in my private StyleSheet. I duplicated the Style "Text" and made some alterations. Now I want that a Cell with this style has an expression already filled in, for example ...
2
votes
1answer
70 views

Notebook Magnification changes - Why?

I have written a notebook but in order to edit it, I prefer 125% magification or even 150%. I know Window>Magnification. Also there is a small symbol on the right bottom of the notebook, where I can ...
9
votes
1answer
234 views

Front End options

Inspired by a recent question and others like it, and not finding an existing duplicate, I ask: What is the hierarchy of Front End options? How do they work? How can their values be set and ...
31
votes
5answers
1k views

What is the complete list of valid Front End Tokens?

What is the complete list of valid Front End Tokens? Preferably, by version number. Keywords: FrontEndToken, ...
2
votes
0answers
54 views

No Way to paste a Picture from Clipboard under Linux?

As far as I remember, on a Windows PC in the old days of Mathematica 4 I could paste an image from the clipboard by just pressing Ctl-V. This seems to be no longer available on my Linux PC. If I try ...
7
votes
2answers
74 views

How to Add a PageBreak menu by MenuSetup.tr

In 1998 there was a discussion on comp.soft-sys.math.mathematica how to add am PageBreak menu to Mathematica. I used the recipe from there for very long time (in fact, I used Mathematica 4 till ...
4
votes
1answer
42 views

keyboard shortcut to invoke Insert new matrix

I frequently need to type in some matrices, and the menu command Insert>Table/Matrix>New... ...
7
votes
1answer
448 views

Can Mathematica check spelling during typing?

I can't see a way to get Mathematica to check my spelling as I type. Is this feature not supported? I've done everything I can think of with my options: Is there a setting I'm missing?
1
vote
1answer
33 views

How to find words within cells of same style

I have long notebook with several cells styles (Input, Output, Text, Section, Subsection,...), and I want to find words in the notebook only in the cells have same style. It is very annoying when you ...
0
votes
0answers
46 views

Windows 10 taskbar pushes MMA window

I finally gave in and upgraded to Windows 10 yesterday. Everything is running smoothly so far. The only problem I have is that when the taskbar pops up, it pushes my focused Mathematica window up. ...
3
votes
1answer
84 views

Author Tools layout for a table of contents

Can someone point me at the place, where the Layout of the Table of Contents is stored in the Author Tools. There should be some style sheet, but I can't find it. Author Tools is still a very useful ...
2
votes
0answers
159 views

Copy/Paste of a plot leaves whitespace

I'm trying to copy Mathematica figures into word, but when I do, I get tons of extra white-space for some reason. Either standard ctrl-c - ctrl-p or "copy graphic" does this. I understand that I ...
7
votes
1answer
73 views

Why does the front-end no longer like MixedRadix as an argument for UnitConvert?

I often find MixedRadix very useful for make certain kinds of unit conversions. For example, ...
5
votes
1answer
68 views

hotkey to mark the current cell and make it a text cell

In order to write to a Text cell, you usually just start typing. Then you find out that you are writing in an Input cell. Then you want to convert the current cell to a Text cell. In order to to this ...
2
votes
0answers
23 views

Browse and Import local files with inline autocomplete? [duplicate]

Inline auto-complete is convenient: Can it be extended to browse and import local filesystem? I'm aware of the [[Experimental]] (since V 9?) AutoComplete could be used interactively with ...
4
votes
0answers
62 views

Non-English spell checking dictionaries in Mathematica: Where to get them?

I simply want to be able to spell check my (german) notebooks. There was a question similar to this but with no answer: Non-english spell check dictionaries for Mathematica? You can find this ...
1
vote
1answer
76 views

How to close all windows or just quit mathematica from code? [duplicate]

So my problem is that I want to be able to close all of my currently open windows/notebooks from my code, but Quit[] only quits the current kernel. Is there any ...
0
votes
1answer
49 views

How to start at a given arbitrary PageNumber

I have a Script with several sub-notebooks. I want to start the page of the body-text at 1 with content and foreword before that page. How can I assign a page number to show up in the print-out? I ...
5
votes
1answer
93 views

Close or Open, not OpenClose CellGroups for specific CellStyle

I am aware of the question Close programmatically all cell groups in Mathematica but I am trying to find out how to close only one kind of Cells in a notebook, ...
2
votes
1answer
48 views

How to abort evaluation when clicking CancelButton

If you run the following code you will notice that the evaluation continues in the following cells. I want to abort evolution if CancelButton is clicked. I tried ...
0
votes
1answer
46 views

Results of a function are different when the function call and subsequent statements are evaluated one line at a time

I have some code that I am porting from VBA to Mathematica. The original code processes data on an Excel spreadsheet. In Mathematica, I find it convenient to replicate the Excel spreadsheet data ...