Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [front-end]

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

3
votes
0answers
51 views

Mathematica 11.3 crashing on either startup or after typing in a notebook

I have been having an issue with my Mathematica 11.3 installation. Often after running a notebook for a long time, my Mathematica will crash suddenly for strange reasons like just typing in the ...
0
votes
0answers
22 views

Can FrontEndTokenExecute[“Close”] work without a pop-up window?

I wanted to make the notebook automatically be saved and closed after an evaluation of all cells. So, I found a way to add at the end of the code: ...
4
votes
0answers
25 views

Why does't 'Abort evaluation' properly work when NotebookEvaluate is executed

The following procedure can be easily aborted using Evaluation > Abort Evaluation menu item: Do[j + k, {j, 1, 10000}, {k, 1, 10000}] But it is not possible if <...
3
votes
0answers
43 views

Why does Mathematica indent comments the way it does?

Whenever I type multi-line comments in Mathematica, the standard editor automatically performs indentation. I find the indentation rather curious and annoying, with some example frustrations posted ...
2
votes
1answer
39 views

Can I prevent changing the background color from changing the cell spacing?

The first image shows what my list of items looks like with no background color. The second shows what setting the background color to light green does to the cell spacing. That is not what I want. ...
5
votes
1answer
121 views

Context menu in CDF Player

Using Style with the option ContextMenu or AttachedCell it is possible to create context ...
2
votes
0answers
42 views

Why does the kernel strip \< and \> from strings [duplicate]

The FE always passes strings to the kernel that look like: "\"\<asdasd\>\"" And the \< and > get pruned out. We can simulate this for ourselves with: <...
4
votes
1answer
107 views

How can I see all FE nine-patch bitmaps?

The FE stores a bunch of little nine-patch images in the layout that govern the appearance of much of Mathematica. These things are incredibly useful to have as they may be used to give a clean ...
0
votes
1answer
50 views

How to enable loading packages dynamicly in Palette UI [duplicate]

Given a directory path and some .m files in it, I want load these packages files mannually outside notebooks, so I created Palette using code: ...
5
votes
2answers
518 views

Can output of one kernel be called from another on the same PC?

I have two instances of Mathematica running on the same PC. Can I call the output of one from the other? For example if Out[100] is on kernel1 how do I refer to it on kernel2?
5
votes
1answer
77 views

Time stamps for In[] and Out[]

Once a command is entered and numbered, as in In[n], and an output is produced, as in Out[n], is it possible to find the time at which each one was done?
1
vote
0answers
20 views

Cell wierdly auto evaluated when mouse-selecting code through VNC viewer

I have Mathematica 11.3 installed on a Mac. I connect to it from a Windows machine via VNC viewer. Very strangely, whenever I select any piece of code in a cell by clicking and holding my mouse button,...
5
votes
2answers
91 views

Set notebook sections one level up

Suppose I have a notebook filled with many chapters, sections, subsections, subsubsections and so on. Instead of changing the style of each of them manually, is there a clever way to set all or part ...
5
votes
0answers
54 views

How to prevent the message: Not enough memory to display a cell

While running a single-cell GUI application that repeatedly changes and refreshes its content I got this message: There was not enough memory to display a cell... I found in this old MathGroup thread ...
2
votes
1answer
46 views

How to make indepent linking workspace when using NETLink?

I've created two packages file as CompnentALink.m CompnentBLink.m the functions InstallNET[] and ...
2
votes
0answers
39 views

Evaluate notebook without opening cell groups

I have a notebook with grouped cells, where the input cells are hidden and only output cells open. Is it possible in an easy way to evaluate the whole notebook and preventing opening all groups, ...
0
votes
0answers
38 views

How to highlight part of a string

The following two works: ...
1
vote
1answer
48 views

Combining ListLinePlot graphics with Show

I'm new to Mathematica working on a project for school. I'm trying to show the deflection of a cord over time by breaking it up into 14 points and plotting the x,y coordinates of each point over time. ...
4
votes
1answer
33 views

Do an Application's multiple palettes automatically get grouped together?

Among dozens of Applications folders in my $UserBaseDirectory, many have associated palettes in their own FrontEnd/Palettes subfolders. A couple have multiple ...
7
votes
0answers
64 views

Exclude functions from auto-completion

Is there a way to exclude a function from auto-completion? Suppose that you are developing a package, and in the next version a function will be deprecated. It is better not to auto-complete it so ...
1
vote
0answers
51 views

Change magnification only for NEW notebooks? [duplicate]

I'm using Mathematica 11.3. In an earlier version, there was, I believe, an option allowing one to change the magnification for new notebooks (created, say, using the menu item File > New or the ...
3
votes
2answers
60 views

How to set up the new Notebook frontend aligned to screen's TopLeft automatically?

How to config the preference so that when a new Notebook frontend be created or opened then the Notebook be moved and aligned to screen's TopLeft with the screen's Height automatically? On ...
3
votes
1answer
56 views

Using Overdot in function Module?

Fundamental problem is: Is there any way I can use OverDot[var] as symbol in a function? I have tried to use Symbolize[OverDot[x,1]] for example, to no avail. If I ...
6
votes
1answer
234 views

Complete list of documented symbols that require a front-end?

I'm looking for an exhaustive list of symbols that work: On the cmd line kernel (without a Front-End) Only in a notebook (with a Front-End) In the Wolfram cloud (in the paid version and the free lab ...
2
votes
1answer
36 views

How to select Input|Output Cell Groups in the Notebook?

I am trying to convert a Cell expression to an image. I created a new notebook and copied the cells that need to be rendered. ...
2
votes
1answer
48 views

Automatic space after comma in Code cell style

"Input" cell style automatically inserts a space after each comma, with natural exceptions such as when quotation marks are open. ...
0
votes
0answers
39 views

Define a new Front End Syntax for Function Argument Checking & Debugging

In this question I asked a basic question about how to check argument types such that there was useful output from the front end when calling functions. Based on elements of the nice answer by @j-m-is-...
0
votes
0answers
34 views

Keyboard shortcuts to invoke and navigate help attached cell?

How to create a keyboard shortcut to invoke and navigate the small help attached cell with that contains the syntax templates and the link to the documentation? Currently this help cell only shows up ...
7
votes
2answers
218 views

Mixed fraction input

How do I make mathematica treat $5\frac{1}{2}$ as a mixed fraction rather than 5 times one-half? I'm using typesetting keyboard shortcuts (if that's important) Currently I'm using $(5 + \frac{1}{2})$...
1
vote
1answer
69 views

SetSelectedNotebook does not work [closed]

I have a small program like this: nb1 = SelectedNotebook[]; nb = NotebookOpen["data 2015 - 2018.nb"]; SetSelectedNotebook[nb1]; After the 2nd command the front-...
4
votes
1answer
48 views

InputField of size that fits the content

I'd like to have an InputField that adjusts its size to the content. I can't make ImageSize->{All, All} or anything similar ...
17
votes
1answer
255 views

Add spaces to Mathematica comment delimiters?

Not exactly the world's most pressing problem, but one that has now exceeded my tolerance level. If I comment out a line of input such as f[x_]:=x+1; with Alt-/ (...
5
votes
4answers
75 views

Non vector graphics display in a notebook

When I generate multiple scatter plots with a large number of points and display them as output, the notebook becomes very sluggish (I assume that this is because each plot has a huge number of points ...
0
votes
0answers
21 views

Can't open setting of Parallel Kernel Configuration on Mac and Windows after configuring remote kernels

In Mathematica 11.3 on Mac and Windows. Once I've set up the connection with gridMathemtaica's remote kernels. Then I close those machines/kernels and restart my Mathematica. When I click the ...
5
votes
1answer
30 views

What can I do when GenerateDocument fails to work from within in a complex interface?

I have found that when GenerateDocument is called from a button within a complex interface that the function does not work, i.e. nothing happens, and the front end "...
1
vote
1answer
54 views

MouseOver and Speak

I am having an issue where Mouseover doesn't work with Speak and instead returns Null. All ...
1
vote
1answer
38 views

Custom Hotkey Toggle Initialization

In this old stack overflow answer (referring to this even older page) it is shown how to make custom hotkeys by modifying the file KeyEventTranslations.tr. Some ...
0
votes
1answer
60 views

Mathematica keeps turning text cells into inputs

I am using version 11.3 of Mathematica and when I make my notebook files I make sure to convert specific cells into text and deselect "evaluatable", yet when I save and reopen the file, the text cell ...
0
votes
0answers
37 views

Document Center Search is not working in Mathematica 11.3?

If I type "Table" (without the quotes, of course) or any other search term into the Documentation Center search, I get: ...
2
votes
1answer
43 views

Monitor the values of two variables at the same time

Monitor and Dynamic give the possibility to check the value of one variable in a program, but is it possible to monitor the ...
0
votes
0answers
60 views

Mathematica 11.3 on Ubuntu & XFCE crashes

I have recently upgraded from version 10 to 11.3 on my group's server (Ubuntu 16.04 LTS). Up until now, we have all used VNC(Xfce) connections to use the various programs on the server. With the new ...
4
votes
0answers
28 views

Is it possible to set multiple languages for spell check in a mixed-language notebook?

I am working in a notebook that uses a mix of two languages, is it possible to allow for both dictionaries to by used simultaneously? I have tried: ...
3
votes
1answer
51 views

How to use the progress indicator in “open from cloud”?

I like the circular loading indicator seen in the "save to the cloud" dialog: Is there any way to call it programmatically?
0
votes
1answer
108 views

Manipulate within Manipulate

Since the original post of mine, which is below, is too long, too complicated and time-consuming for others, I tried to mimic the same structure with a very simple ...
5
votes
2answers
97 views

How can I implement a listener variable in Mathematica?

I'd like to be able to listen to a variable and know when it's been changed and accept/reject the change as well as use it as an update listener for Dynamic how can ...
7
votes
1answer
65 views

How can I open the Documentation Center window with FrontEndTokenExecute?

FrontEndTokenExecute["Save"] saves the current notebook, but FrontEndTokenExecute["Wolfram Documentation"] does not open the ...
1
vote
2answers
118 views

Input editor does not like my Thread over Circle expression

I am using Mathematica 11.3.0.0, 64 bit. Here is my code: Graphics[Thread[Circle[{{-1, 0}, {0, 0}, {1, 0}}, {0.5, 1.0, 0.5}]]] Here is code as it looks in a ...
6
votes
1answer
92 views

Conditional rendering of items

Let's say I have a column to display and each of its items can be hidden separately. Question: Is there a way to make it work without re-rendering whole column whenever a particular item is hidden? ...
11
votes
1answer
201 views

MousePosition in AttachedCell?

I can't figure out why the following stops working when "WindowAbsolute" is replaced with "Graphics"? ...
3
votes
0answers
32 views

How to make custom attached menubars? [duplicate]

I would like to understand how to build an attached menubar. For example, Image has the following bar - an attached cell that arises when clicked on: ...