Skip to main content

All Questions

Tagged with
3 votes
0 answers
41 views

What's the effect of SyntaxForm option in StandardForm boxes of Superscript?

Consider the following sample: ...
xzczd's user avatar
  • 67.1k
7 votes
1 answer
87 views

How do I include additional kinds of boxes that are Tab-selectable

Observe that "PlaceHolder" and InputFieldBox are known by the FE to respond to pressing the Tab key: ...
QuantumDot's user avatar
  • 19.7k
10 votes
3 answers
223 views

Context menu to graphics component

How do I add individual context menus (shown upon secondary mouse click) to various components of a graphics object without needing to go into edit mode? Consider the following example: ...
QuantumDot's user avatar
  • 19.7k
11 votes
4 answers
238 views

How to detect errors that happen in the FrontEnd? [duplicate]

Some errors only seem to be produced at the point of typesetting, making it very difficult to detect them early. For example: ...
Sjoerd Smit's user avatar
3 votes
1 answer
243 views

How to explicitly open or close cell group?

There is a "OpenCloseGroup" in FrontEndTokenExecute. It act like toggle. If the selected cell group is open, ...
matheorem's user avatar
  • 17.2k
6 votes
1 answer
103 views

Turning off automatic hyperlinks

Recently (I only noticed in V12.2), website URLs, such as https://www.wolfram.com, became active in text cells in notebooks. The "hot" nature makes the links hard to edit, since any click ...
Michael E2's user avatar
  • 239k
5 votes
1 answer
547 views

In search of lost time: Mathematica keyboard shortcuts

I am wondering about all the shortcuts that there are in Mma, besides the documented ones in https://reference.wolfram.com/language/tutorial/KeyboardShortcutListing.html. Are there any undocumented ...
hal's user avatar
  • 783
3 votes
1 answer
146 views

Control page width when using ExportPacket[..., "InputText"]

Suppose we have a cell like this: ...
Szabolcs's user avatar
  • 236k
5 votes
1 answer
154 views

Is it possible to get current thickness for every Line, Polygon, Circle object in a plot?

When exporting Mathematica graphics to raster formats with high resolution the common problem is that thickness for such objects as Line, ...
Alexey Popkov's user avatar
19 votes
1 answer
181 views

Why does setting SyntaxInformation add a definition to DefaultValues

Before setting any definitions to the symbol f, the DefaultValues of f is empty: ...
QuantumDot's user avatar
  • 19.7k
8 votes
1 answer
72 views

Can I reimplement something like TogglerBox?

As a purely academic exercise can I make a box structure that'll toggle between two views when clicked and that doesn't ever depend on Dynamic or ...
b3m2a1's user avatar
  • 47k
2 votes
0 answers
44 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: <...
b3m2a1's user avatar
  • 47k
5 votes
1 answer
139 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 ...
b3m2a1's user avatar
  • 47k
4 votes
0 answers
62 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: ...
M.R.'s user avatar
  • 31.6k
4 votes
0 answers
49 views

Get all built-in image files for styling buttons and panels

Mathematica makes use of nine-patch images in styling its resizable interfaces like Panel and Button. Nicer than remaking new ...
b3m2a1's user avatar
  • 47k

15 30 50 per page