Skip to main content

Questions tagged [front-end]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

How to change *Mathematica* 14 preferences by modifying application file(s), rather than by using the graphical user interface (GUI)?

I'm running Mathematica 14 on Windows 11. Is there a way to modify Mathematica's preferences by modifying one or more application files, rather than using Mathematica's graphical user interface (GUI) ...
Andrew's user avatar
  • 10.6k
1 vote
0 answers
73 views

How to see fraction line clearly in Windows Mathematica 14.0.0?

I just downloaded Mathematica 14.0.0 trial version on Windows 11. But the "horizontal fraction line" is hardly visible in the output on my screen. An example is shown below. I couldn't find ...
Zack Fisher's user avatar
3 votes
2 answers
156 views

How to typeset a key combination in Mathematica notebook?

I'm writing a tech note in Mathematica, and would like to include some key combination shortcuts. For example, Ctrl+/ for entering fractions. How do I typeset key combinations so that they look like ...
nflswsykimi's user avatar
1 vote
1 answer
36 views

Button styling when using SelectionPlaceHolder

I am trying to create a button to export a user-selected image. According to the documentation for button, "Button[label, None, BaseStyle->stylename] inherits button functionality from the ...
Spencer Rugaber's user avatar
0 votes
0 answers
27 views

Slow front end in notebook whilst another is runing on a different kernel

I wish to work on a project whilst another is working in the background. As such I utilise two different notebooks each running on a different kernel, let's call them kernel-1 and kernel-2. However, ...
user3353819's user avatar
1 vote
1 answer
33 views

Programmatically bring notebook to front, open minimized notebooks? (particularly to Messages)

I want to do the equivalent of navigating to the Window menu and selecting a notebook. In particular, I'm interested in forcing the messages window to the front. My ...
Tapiocaweasel's user avatar
3 votes
0 answers
65 views

Adding common words or public dictionaries to Mathematica's spell check?

Is there an update to this:Stack Exchange 242114? (That post is a couple years old and has a response from the WRI tech support that the following is impossible and they requested this as a feature) I ...
Craig Carter's user avatar
  • 4,625
3 votes
1 answer
91 views

Defining an output format that doesn't break Ctrl+Shift+I

I'm used to pressing Ctrl+Shift+I (or N if I want a shorter form) to reformat my input cells in a nicer way after editing them, e.g., to remove unnecessary parentheses, add or remove spaces as needed, ...
Najib Idrissi's user avatar
1 vote
0 answers
45 views

How to detect (and follow) OS dark mode with wolfram language?

I intend to use the DarkMode resource function to switch to and from dark mode in accordance with the appearance of Windows overall. This detection can be achieved ...
Gravifer's user avatar
  • 872
2 votes
1 answer
62 views

How to clear NotebookEventActions or unbind keyboard event

I tried to write a function to "Evaluate in Place", as I've shown in: How to get the output of evaluating in place and append the output to the place. But now I have encountered a new ...
Yao Li's user avatar
  • 111
1 vote
0 answers
59 views

Weirdly big spacing around ε character

For some reason my ϵ (\[Epsilon]) character has a lot of empty space above and below it. It's best described by a screenshot ...
Jakob Neef's user avatar
3 votes
0 answers
46 views

Is this list of Formal Symbols complete? Which versions have unprotected Formal Symbols?

Formal Symbols are protected against being assigned values, making them handy for avoiding name collisions for things like fit parameters and pattern matching. Because formal symbols (and others) like ...
Tapiocaweasel's user avatar
0 votes
0 answers
35 views

Can one force Print[] statements within a Dynamic[] to appear in the Notebook? If so, should one ever do that?

For a simple demostration of the behavior, note that the print statements in this expression appear in the Messages window: ...
Tapiocaweasel's user avatar
2 votes
0 answers
49 views

CreateDialog and GraphicsArray

I think I have hit on a true bug in the Mathematica Front End: If I define plotFunc[] := Print[GraphicsGrid[{{Plot[x^2, {x, 0, 1}], Plot[x^3, {x, 0, 1}]}}]]; I can ...
Stefan Gillessen's user avatar
3 votes
1 answer
76 views

Mathematica 11.3.0, .nb file running for too long on Windows 10

I am doing simple calculation in Mathematica 11.3.0 on Windows 10. Here is my code: ...
SHASHANK RANJAN's user avatar
2 votes
1 answer
73 views

How do I change my Input/Output labels back to the default?

My notebooks have a non-standard In/Out labels. They look like this: I changed label style so long ago, I can't remember how I did it. I've tried changing the CellLabelTemplate option, but that didn'...
Craig Carter's user avatar
  • 4,625
2 votes
1 answer
42 views

Intercepting typos/misstyped symbols and automatically correcting them in the FrontEnd

I often mistype Print[] as PRint[] and Remove[] as REmove[]. I was wondering if its possible to use $NewSymbol to intercept ...
Tapiocaweasel's user avatar
3 votes
0 answers
117 views

How to use GPT-4 vision?

How exactly do you call GPT vision, both programmatically and in chat-enabled notebooks? It seems like the image is being downsized when pasted inline, and it is unclear how many prior cells are in ...
M.R.'s user avatar
  • 31.6k
2 votes
0 answers
27 views

Notebook search with snippets programmatically

The normal "find" function in large notebooks hangs. I'd like to implement in-notebook find programmatically with displayed snippets of the results: ...
user5601's user avatar
  • 3,695
10 votes
4 answers
450 views

Visualizing Wicks' contractions using brackets

Given a string like MMMM, what is the easiest way to draw all Wicks contractions similar to the diagram below (from Ch. 2 of Eynard paper)? Example below is for (MMMM), but I need it to work for other ...
Yaroslav Bulatov's user avatar
4 votes
0 answers
42 views

How can I make Subsubsection collapsible? [duplicate]

In my work, I’ve encountered the need to make sections of level ‘Subsubsection’ collapsible. Sections of higher levels are collapsible by default. However, I’m unable to make Subsubsections ...
Konstantin's user avatar
1 vote
0 answers
36 views

Why does Mathematica change my type style when using the control button to create expressions?

When I am typing in a text line in Mathematica, if I use a control hotkey, such as Ctrl+/ for creating a fraction or Ctrl+6 for a superscript, the item I create is highlighted in a yellow box and the ...
ncharness's user avatar
1 vote
0 answers
48 views

Component stylesheets

A bunch of years back I wrote a reasonably functional IDE for Mathematica development in Mathematica, which required me to tackle a bunch of thorny theming issues In particular, I consistently came ...
b3m2a1's user avatar
  • 47k
1 vote
0 answers
56 views

Monokai Pro Stylesheet

I am searching for a Monokai or Monokai Pro Stylesheet for Mathematica. Any idea of where I could find it or how I could easily import it from Monokai Website?
Daniel Rosencat's user avatar
8 votes
1 answer
84 views

Is it possible to disable and re-enable LaTeX editing?

Entering text with the "^4" shortcut produces a selectable field which--when selected--allows one to edit the TeX. After I am finished editing TeX, the mouse-over highlighting is annoying ...
Craig Carter's user avatar
  • 4,625
1 vote
0 answers
52 views

How to cache results of "Animate" in NotebookDirectory?

I have some Animate cells in my notebook using pattern Animate[doplot[i],...]. When I deploy the notebook on the Web, I want the ...
Yaroslav Bulatov's user avatar
0 votes
0 answers
60 views

Can IntelliJ be made to look like notebook?

I am developing a package for my company, which has grown into multiple sub-packages. I have been using the notebook frontend for .wl files which is ok but I need ...
user13892's user avatar
  • 9,523
6 votes
2 answers
141 views

Display of nested fractions as products of fractions

How do I get Mathematica to avoid displaying nested fractions in outputs, and instead automatically display them as parenthesized, factored-out terms? For example, I would like ...
Christopher's user avatar
4 votes
1 answer
152 views

How to create a hyperlink to an executable?

I tried the following: Hyperlink["label","file:C:\\Program Files\\ProgramName\\program.exe"] But when I click the generated link the system ...
user13892's user avatar
  • 9,523
4 votes
0 answers
32 views

How do I stop unwanted spaces in Mathematica cells styled as text?

Context: I am working in a Mathematica notebook (I am using 14.0, but the problem to be described was observed in earlier versions. At some time in the past, though, it was not happening.) Problem to ...
PaulCommentary's user avatar
0 votes
0 answers
41 views

Error message in "Copy As Graphics Expression" of graph

Evaluate the following code: Graph[{{1, 2}, {2, 3}, {3, 1}}] Then right-click the graph and choose ...
azerbajdzan's user avatar
1 vote
0 answers
27 views

How to add File->Save to Cloud... and Cell->Cell Properties to my customized toolbar?

I'm programming my own DockedCells toolbar. Everything happened ok, the only things beyond my ability to resolve are: (1) adding a button (or an ...
hlediks's user avatar
  • 31
0 votes
0 answers
60 views

Is it possible to do something automatically before opening .nb?

Is it possible to do something before opening .nb ? I mean, When the Mathematica kernel(?) receives a command to open the .nb, ...
imida k's user avatar
  • 4,315
1 vote
0 answers
109 views

Save as custom folder in menu bar in 1 step

I found the solution for myself. For some reasons I decided to write the updated content(=solution) at the top. One important reason is.. that you almost don't need to read after the solution. ...
imida k's user avatar
  • 4,315
0 votes
0 answers
42 views

Button with a certain built-in function makes error [duplicate]

Note that if I execute NotebookSave[InputNotebook[], SystemDialogInput["FileSave", "C:\\myfile.nb"]] will popup ...
imida k's user avatar
  • 4,315
0 votes
0 answers
58 views

Modify save as.. in the menubar (by editing MenuSetup.tr) [duplicate]

I use mathematica V 14.0.0. Is it possible to modify the behavior of Save as.. in the menubar? That is, I want to change the initial full path. We see a window ...
imida k's user avatar
  • 4,315
2 votes
1 answer
110 views

Button : interactive save as + custom initial path

Is it possible to create a button whose action is "save as... in menu bar" with custom initial full path. (custom initial full path is specified by user.) Note that if you click ...
imida k's user avatar
  • 4,315
0 votes
0 answers
52 views

Open multiple instances(=windows) of same .nb? [duplicate]

Is it possible to open multiple instances of the same .nb (on local disk)? First, open c:\test1\test1.nb. After that, can you open another instance(=window) of <...
imida k's user avatar
  • 4,315
1 vote
2 answers
165 views

Change default save path/location of an .nb by code

If I open c:\test1\test1.nb and click Mathematica MenuBar - File - Save as... then a window for Save as... pops up, and the default save path is ...
imida k's user avatar
  • 4,315
6 votes
1 answer
281 views

Hyperlinks that open smoothly in the same window

Suppose that I have test1.nb and test2.nb in my local disk. For simplicity, suppose that ...
imida k's user avatar
  • 4,315
12 votes
1 answer
362 views

ScreenResolutionCompatibilityMode not working in version 14 on Windows 11

I'm facing a problem with the relative scale of fonts and controls in Mathematica. In version 14, the ScreenResolutionCompatibilityMode (in CTRL+SHIFT+O settings) ...
Kirill Belov's user avatar
7 votes
1 answer
329 views

Notebook starts formatting content automatically and then collapses

I am working on a notebook of size 5 MB which contains only data and Plot or ListPlot on WIN64 with MMA13.3. I am experiencing ...
MMA13's user avatar
  • 4,644
3 votes
1 answer
133 views

Notebook key shortcut to move current cell group up/down/in/out?

How would one add (four custom keyboard-based not palette-based) shortcuts for moving the cellgroup containing the cursor up and down and in and out (akin to tab indent) relative to adjacent cells. ...
user5601's user avatar
  • 3,695
1 vote
1 answer
45 views

Why is the form of the expression not copied in PasteButton?

I'm going to make a palette for partial differential and total differential. ...
Milk's user avatar
  • 1,728
12 votes
2 answers
327 views

Turn off keyboard shortcut

Every once in a while when editing a formula, I want to add a parenthesis at the beginning of the line by pressing Shift9 to get (. However, I will accidentally ...
user297024's user avatar
0 votes
0 answers
55 views

No-op front-end token to "unmap" key events

Is there a no-op front-end token that does nothing? The reason I ask this is because on Linux, Mathematica 13.3 produces nonsensical characters (see image below) on pressing ...
B215826's user avatar
  • 101
1 vote
1 answer
45 views

How to maintain the form of the formula when using PasteButton?

I want to make a pallet button that keeps the form of the formula intact. ...
Milk's user avatar
  • 1,728
2 votes
0 answers
59 views

How to apply Esc key as double typing in EventHandler?

I wrote a code to delete the text in InputField with the Esc key. ...
Milk's user avatar
  • 1,728
0 votes
0 answers
23 views

How to strip out Graphics exported using `FrontEnd`ExportPacket[..., "InputText"]`?

I've tried converting 913 Mathematica notebooks I've accumulated over the years into text, and the problem I ran into while using this solution is that some files are over 100MBs because they export ...
Yaroslav Bulatov's user avatar
2 votes
1 answer
85 views

Export Notebook as Text (in 13.3 &14)

What is the best way to export a notebook as readable plaintext - while preserving as much structure as possible? The motivation here is the need to bulk-ingest notebooks and chunk them (for use in ...
user5601's user avatar
  • 3,695

1
2 3 4 5
39