62 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,257
31 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
  • 232k
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
  • 135k
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
  • 232k
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

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
  • 26k
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
  • 136k
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.6k
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.6k
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.5k
18 votes

1 Plot, 2 Scale/Axis

Most compatible solution: The solutions provided are not compatible with plots that contain labels. Here's a solution with possibility to add options: ...
The Quantum Physicist's user avatar
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
17 votes

How can I route edges manually for a Graph?

I would do it like this: The example graph g: g = Graph[{1 <-> 2, 2 <-> 3, 3 <-> 1}]; Desired locations of ...
Silvia's user avatar
  • 27.3k
17 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.6k
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
  • 15k
16 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
  • 136k
16 votes

Change colours of Code

Define a new type of symbol (context) called highlight, ...
Albercoc's user avatar
  • 946
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
  • 67k
15 votes
Accepted

Create new notebook at fixed size

If you don't want to modify MenuSetup.tr you can evaluate: ...
Kuba's user avatar
  • 136k
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
  • 33.8k
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
  • 232k
13 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
  • 33.3k
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
  • 10.8k
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.6k
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.6k
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
  • 69.8k
12 votes
Accepted

How do I create annotations for functions?

Edit Karsten 7. suggested a better method in the comments, which does not require a modification of any system files and can be used under English language setting. It works on my 10.2 installation ...
Silvia's user avatar
  • 27.3k
12 votes
Accepted

What is "MemoryMonitor"?

I think it is a vestigial artifact of older days when systems had only a few megabytes of memory and Mathematica was always in danger of running out of kernel memory. I don't think it makes any ...
m_goldberg's user avatar
  • 107k

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