Skip to main content
2 of 2
Added an example
QuantumDot
  • 19.8k
  • 7
  • 48
  • 124

Disable templates for user defined functions with usages

It appears that fixing the template system is low on Wolfram Research's priority list. For my package, I have defined Usage info for my functions involving lots of formatting, which causes the template system to run amuck. Since this looks very unprofessional, I want to prevent the front-end from trying to render templates for these functions. How do I disable the templates only for the functions in the package I am writing (in v9 and v10)?


Here is an example (version 9.0.1):

function::usage = "function[\!\(\*StyleBox[\"x\", \"TI\"]\)] carries out some complicated algorithm.

Possible options: AlgorithmComplexity, SimplifiedOutput"

and here is what the template looks like:

enter image description here

QuantumDot
  • 19.8k
  • 7
  • 48
  • 124