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

learn more… | top users | synonyms

1
vote
0answers
128 views

What's the name of the default font used in Mathematica 10?

I really like the default font in Mathematica 10. So I would like to use it for my other applications. I tried to search for the name of the font, only found that a lot of people is talking on how to ...
9
votes
2answers
142 views

Dynamic cells after Kernel restart/quit:

After quitting the kernel only one Dynamic cell fires. And it does not matter how many are there. ...
5
votes
2answers
96 views

How do I change the color of a hyperlink?

When I create a hyperlink in a notebook, the text is blue, like the user defined variables. (Any word in the title like Graph which is a M function is in black.) How can I change the color to ...
10
votes
3answers
807 views

List of Mathematica glyphs

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: ...
10
votes
2answers
174 views

Is mathematica's right click menu customizable to add Simplify tools?

Mathematica provide Algebraic Manipulate palette for simplifying expression. But the palette window will always stay on top, which is quite annoying. Is is ...
9
votes
1answer
187 views

What is FrontEnd`AttachedCell?

Perhaps it's not accessible from the front end, but what is this so-called attached cell? ...
7
votes
0answers
170 views

Help with a Mathematica front end touchscreen problem

I really like using my Windows 10 touchscreen to move around in websites, documents, etc. It doesn't work in Mathematica. Can that be fixed by changing a global notebook setting, or is it something ...
10
votes
2answers
331 views

Prevent 10.2 from creating “Wolfram Mathematica” directory on Linux

Since upgrading to version 10.2.0.0, every time I start the Mathematica front-end it creates a "Wolfram Mathematica" directory under my home directory. (It never seems to put anything in it.) Anybody ...
7
votes
1answer
267 views

How to edit a hyperlink once created inside a notebook?

When a hyperlink is created in a notebook, there does not seem to be an easy way to actually edit the hyperlink (maybe to correct the URL). To hyperlink some text, one selects the text using the ...
4
votes
1answer
47 views

Font size for help drop down menu in input cell

Consider: Where do I go and how do I increase the FontSize in this drop down menu to make it more easy to read?
14
votes
1answer
283 views

How do I programmatically add to contextual menus?

To programmatically add to menus you can do as described here: How do I add to menus? What can I do to programmatically add to contextual menus? Is something similar to ...
0
votes
0answers
42 views

Copy an image into a cell will auto generate an inline Cell

Copy/Cut an Image from a cell into another, will auto generate an inline cell. Sometimes I just want to copy/cut an image into a Text-Style Cell, the below image ...
3
votes
0answers
467 views

With comma as decimal separator, how do you insert a period in the header/footer?

I have enabled comma as my decimal separator, which means that comma still acts normally and when pressing period it will be converted to a comma. In the header I would like to make a period, so I ...
3
votes
1answer
110 views

Import displays Dicom Image differently in mathematica 9 and 10

Mathematica 9 (windows 10) displays image as: mathematica 10.2 (windows 10:) displays image as: Here is the source file: Import["https://dl.dropboxusercontent.com/u/68983831/46405725"] How to ...
3
votes
0answers
58 views

The first Chinese word always becomes a question mark, what is wrong with my mathematica?

I made a gif to show my problem. You can see, the first word I type always becomes a question mark, what is wrong? I am using version 10.3. At first, there is no such problem, it shows up recently, I ...
0
votes
1answer
83 views

Blank sequences do not display anymore as continuous lines

BlankSequence[] and BlankNullSequence[] "suddenly" do not display anymore as "continuous lines" in my v.10.0.1 (OSX) (of course ...
2
votes
0answers
52 views

Autocomplete not working with tab key on Mathematica 10.3 Linux

when I want to autocomplete a function I can't use TAB key to expand what I typed in. If I press TAB, it escapes the popup suggestion menu. Autocomplete only works if I press ENTER. Furthermore,once ...
8
votes
0answers
84 views

How can autocomplete entries be added for DownValues and Properties?

I'd like to assign DownValues to a symbol like this x["firstvalue"] = 1; x["secondvalue"] = 2; And then have the ...
2
votes
0answers
66 views

KeyEventTranslations.tr gets ignored

Any change in my file KeyEventTranslations.tr in my directory ...
1
vote
2answers
944 views

Copy and pasted graphics are fuzzy

I have a function that creates a 2D line with filling to the axis. When I copy this graphic into MS Word it is very fuzzy, so much so that the numbers and text are almost unreadable, not to mention ...
8
votes
1answer
234 views

There is a button in the “basic math assistant” which wraps highlighted text in chosen brackets. Is there no keyboard command for this?

This counts as something of a basic question, but one for which I cannot find an answer. I checked the documentation, I checked google, I searched it here, I read a bunch of different things, but ...
8
votes
2answers
94 views

Seeking for method to speedup and get more flexable control Notebook History

When doing calculations in notebook, I modify the code a lot, and there are several versions of similar codes in the same notebook. But I found myself easily forgot which version is the newest, and I ...
11
votes
1answer
135 views

How can I make a stylesheet that counts subcells?

The example cells in the documentation each have count of the cells inside their section: ...
6
votes
1answer
74 views

Update/refresh notebook variable color on clear

By default, Mathematica displays variable names already assigned as black while new variables are displayed in blue. When executing Clear["Global`*"], variables ...
15
votes
3answers
982 views

How to set focus of a dialog window?

I have a dialog, which, when pops up, requests input from the user. How can I set the window up that the focus is on the InputField of the new window (i.e. the ...
2
votes
0answers
61 views

Docked Cell that scrolls?

I use two finger movement on my trackpad for scrolling a notebook page up and down. Is it possible to make a docked cells that scrolls to the left and right using a two finger movement on the ...
10
votes
1answer
116 views

Use EvaluationCompletionAction to notify me only after long evaluation

Is it possible to use the option EvaluationCompletionAction to notify me (e.g. with a Beep[]) when an evaluation that took ...
9
votes
2answers
247 views

Create new notebook at fixed size

Using Ctrl+n we are effectively doing FrontEndTokenExecute["New"] and, at least on Windows, new window has WindowSize equal to ...
11
votes
3answers
726 views

Opening new notebooks with a non-default window size

I'd like to set Mathematica (8.0.4.0) up so it opens new notebooks with the "NaturalColor" stylesheet and with a WindowSize like ...
2
votes
0answers
42 views

Add keyboard shortcut without creating a new menu item [duplicate]

I want to some key combination like CtrlShift+ to insert Print[ ]; into a workbook. I used ...
6
votes
1answer
117 views

Make all new cells have a specific style as a function of the Mathematica installation

I would like all new Input and Output cells, in fact all new cells including section headers and such, to have a specific stylistic property (...
6
votes
1answer
75 views

Why does NotebookDelete fail on cells with Copyable set to False? Bug?

Bug introduced in 9.0 or earlier and fixed in 10.3 Consider this: ...
10
votes
0answers
152 views

Autocomplete of non-global functions

In Mathematica 9 and 10 they added autocompletion. Out of the box this works great, but when I set the CellContext to "Notebook" ...
24
votes
1answer
433 views

How to export a Mathematica notebook into Markdown?

Is there a way to export a Mathematica notebook into Markdown? I'm sure it's possible to implement rules for converting each Mathematica cell subexpression into Markdown, but I'm also sure that I ...
23
votes
2answers
1k views

How do I extract the contents of a selected cell as plain text?

My aim is to extract the contents of an Input cells as plain text. Ideally I would like to be able to select one or more Input cells and press a button which would then extract the text from these ...
4
votes
1answer
171 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 ...
4
votes
0answers
77 views

“ClosingActions” option for FrontEnd`AttachCell [duplicate]

I'm looking to find the possible values for the ClosingActions options FrontEndAttachCell. I have found ...
22
votes
3answers
295 views

How to create a dynamic expanding DisplayForm's styled like the ones in v10?

The display forms for objects like ClassifierFunction are nice clickable boxes I like this, and now I'm trying to create my a custom version of this for my ...
14
votes
1answer
263 views

Why is SparseArray and InterpolationFunction always grayed out?

In the front end of Mathematica version 10, a new feature was implemented which dims output cells that no longer correspond to its input cells. So when you type ...
2
votes
1answer
58 views

How do I make those nice summary boxes like Dispatch and SparseArray do? [duplicate]

Dispatch and SparseArray have nice output forms that summarise their contents: The contents even manage to be retained fully ...
8
votes
1answer
122 views

How do I turn off the little display icons for `SparseArray`, `InterpolatingFunction` and so on? [duplicate]

As noted elsewhere, in Mathematica 10.x, many functions that return "opaque" objects display them as cute little icons: ...
14
votes
1answer
278 views

Are formal characters like \[FormalA] to be used differently than other symbols?

I noticed that Mathematica has a set of special 'Formal' characters such as \[FormalA], \[FormalB] , etc.. In the front end, it ...
8
votes
3answers
796 views

Where can I find a dark stylesheet for mathematica?

The default white is very tiring for the eye after some hours.
13
votes
1answer
699 views

High Contrast Syntax-Highlighting

I have a neurological disorder which causes me to have migraines if I look at a white computer screen. To combat this, I have put the following at the top of all of my Mathematica notebooks: ...
2
votes
0answers
74 views

How can I add shortcut to StyleBox [duplicate]

How can I add shortcut to StyleBox?. We can Ctrl+B to overstrike font. i.e. strong or **strike**. Can I add one new shortcut ...
3
votes
2answers
311 views

Create custom shortcut to change font color

Just wondering if I can create a custom shortcut key to change the font color of the notebook text. I've created a custom shortcut (in dkyeventtransactions.tr) to bring up the font color dialog, as ...
1
vote
0answers
44 views

Is it possible to maintain the cursor position within a cell following evaluation?

It is possible to evaluate a cell and for the cursor to remain in its position within the code in the current cell? For example, when I evaluate: ...
5
votes
1answer
90 views

How to set different background, input and output colors

I want to create a notebook where the background is one color, the input cells are another color, and the output cells are white. I have tried messing around with Option Inspector and creating a ...
9
votes
1answer
141 views

Evaluating a notebook programmatically with -ne

I am running Mathematica 10.2 on an Ubuntu workstation. I would like to be able to evaluate a notebook through the command line, and save its final state so that I can launch evaluation remotely ...
5
votes
1answer
60 views

Toggle close all input cells in a notebook, keeping output cells open

For presentations, can all input cells in a notebook be toggled open/closed, while keeping output cells open? Either through menu or palette. Probably would not work well programmatically. Related ...