63 votes

Is it possible to define a new PlotTheme?

Illuminated by @Mr.Wizard's answer, here I provide a complete example of a self-made plot theme, called "Academic". It can be used as a base theme. The axes ...
Everett You's user avatar
  • 2,277
32 votes

Argument completions for user-defined functions

Before you start using this, be aware that this is all undocumented and unsupported functionality. It may change at any time, it may crash Mathematica, and it may bite you when you least expect it. I ...
Szabolcs's user avatar
  • 235k
30 votes
Accepted

How do I remove the little × that shows up in the frontend when typing?

Thanks to the hint by Jason. It is called AutoMultiplicationSymbol. It can be turned off in the Option Inspector: It worked. Now ...
Nasser's user avatar
  • 144k
27 votes

1 Plot, 2 Scale/Axis

Hope is the last to die. Nine years later, we finally have a native multi-axis implementation. ...
Murta's user avatar
  • 26.3k
26 votes
Accepted

How to get old message formatting in version 11?

We can get old-style messages using Internal`$MessageMenu = False Needless to say, this is unsupported and undocumented functionality.
Szabolcs's user avatar
  • 235k
25 votes

Programming of a natural language interface

OP seems to be mostly interested in Mathematica's built-in capabilities for grammar definition, parsing, and interpretation, but I think some of the questions asked can be seen and answered within a ...
Anton Antonov's user avatar
24 votes

Live code templates

Revision history: v0.8.0 (06-07-2018) VerificationTest template v0.7.0 (21-02-2018) V10.4 support As of v0.7.0 code templates should work in V10.4. Yes, in a beta stage at the moment. Feedback ...
Kuba's user avatar
  • 137k
21 votes

Creating a custom web API ServiceConnection

Template Notebook I sunk some time into making a good template notebook for integrating with all this. It lives here: https://github.com/b3m2a1/mathematica-BTools/blob/master/Resources/Templates/...
b3m2a1's user avatar
  • 46.9k
20 votes

Google Drive API connection: (or how can I build a service connection to an OAuth2 service?)

Code See this for the main issue that made it take so long to get this up If you just want the service connection you can get it like this: ...
b3m2a1's user avatar
  • 46.9k
19 votes
Accepted

How to efficiently input matrices in Mathematica (compared to what MATLAB offers)

Quick-n-dirty. I dispense with open/close bracket, trivial to put in if it matters: ...
ciao's user avatar
  • 25.8k
18 votes

Set spell checking language

To change the DefaultNaturalLanguage for the current notebook for example to "German" one can use ...
Karsten7's user avatar
  • 27.4k
18 votes

Can we implement a Neural Network interactively?

Update: So after adding the missing features I decided to give your actual problem a go. This is what I have: You'll note a little "Add Layer" ActionMenu ...
b3m2a1's user avatar
  • 46.9k
17 votes
Accepted

ShowGroupOpener's behavior change in 11.3

TL;DR; To set ShowGroupOpener on a global level, previously done by CurrentValue[$FrontEnd, ShowGroupOpener] = True, now use: <...
Kuba's user avatar
  • 137k
16 votes

How to make a custom NN layer in Mathematica?

Supporting custom layers is on our to-do list, and should be ready for either 11.2 or 11.3. For interest: what applications do you want custom layers for? And how performant do you need your custom ...
Sebastian's user avatar
  • 3,479
16 votes
Accepted

Is it possible to change/customize some conversions done by TeXForm?

You could use my TeXUtilities package: ...
jkuczm's user avatar
  • 15.1k
16 votes

Change colours of Code

Define a new type of symbol (context) called highlight, ...
Albercoc's user avatar
  • 988
15 votes

1 Plot, 2 Scale/Axis

Here is just a quick update of J.M.'s code to use some newer (read undocumented) functions in the Charting`context. ...
Jason B.'s user avatar
  • 68.4k
14 votes

1 Plot, 2 Scale/Axis

Using ResourceFunction["CombinePlots"], you can combine arbitrary plots into two-axes plots, without the need to create a new version for every type of ...
Lukas Lang's user avatar
14 votes
Accepted

Set spell checking language

I do not know where there is a way to set this in the Preferences dialog, but it is changeable in the Options Inspector: search for "DefaultNaturalLanguage" and change the value of the drop-down. For ...
rcollyer's user avatar
  • 34k
14 votes
Accepted

Receive macOS notification when evaluation finishes

A quick Google search returned: How can I trigger a Notification Center notification from an AppleScript or shell script? Based on this, we can use ...
Szabolcs's user avatar
  • 235k
13 votes
Accepted

Mathematica in degrees mode

Possibly a bad idea for the reasons mentioned in previous messages, but you could do something like the following: ...
chuy's user avatar
  • 11.2k
13 votes

Can I implement something like the old documentation help browser?

Update This code is no longer the most up-to-date. The properly up-to-date code is in the package on GitHub. For a run-down of the changes between this and that see the discussion between b3m2a1 and ...
b3m2a1's user avatar
  • 46.9k
13 votes

How can I automatically generate all the front-end settings for a function?

The answer is a qualified yes. Yes, we can do all of this, but it won't be as finely tuned as if we did it by hand. There are 4 things we need to handle, "usage" ...
b3m2a1's user avatar
  • 46.9k
13 votes
Accepted

How can I create a help button that looks more "professional"?

Why not just use the graphic in the question, or any other images that you like: Use ImageSize to control the final size of the button: An alternative, that I use ...
Mike Honeychurch's user avatar
12 votes

Argument completions for user-defined functions

This can be accomplished with the AddCodeCompletion function in the function repository. Evaluate the following piece of code: ...
C. E.'s user avatar
  • 70.6k
11 votes
Accepted

Beep anytime evaluation finishes

An alternative to EvaluationCompletionAction would be to adjust $Post. Try ...
Kiro's user avatar
  • 1,521
11 votes

Nine patch appearances

We'll start by reviewing our nine-patch images from here. Basically there are four things we need: A vertical stretch zone A horizontal stretch zone A vertical content zone A horizontal content zone ...
b3m2a1's user avatar
  • 46.9k
11 votes

Improving paclet formatting

Demonstration Here's what the end result looks like with my implementation: I included information that I personally find important and useful. Of course, this is a bit subjective, and there's a ...
Szabolcs's user avatar
  • 235k
11 votes

How can I create a help button that looks more "professional"?

Here's the general way this type of thing seems to be handled in the built-in things plus code to build the type of buttons you want. First the button code: ...
b3m2a1's user avatar
  • 46.9k
11 votes

Turn off Control+=

{$InstallationDirectory} / SystemFiled / FrontEnd / TextResources / {OS} / MenuSetup.tr One can set it up on a corresponding path in $UserBaseDirectory (search ...
Kuba's user avatar
  • 137k

Only top scored, non community-wiki answers of a minimum length are eligible