Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on working with templates in Mathematica, File/String/Notebook/Expression Templates and the functions used for manipulations like TemplateApply.
9
votes
3
answers
402
views
Disable templates for user defined functions with usages
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[\! …
10
votes
1
answer
207
views
User defined template completion with symbols instead of placeholder
In Mathematica 9, the following usage definition generates the corresponding template (obtained by ctrl+shift+K after typing out myfunction in the front end):
myfunction::usage = "myfunction[{a,b,c}, …
4
votes
1
answer
172
views
How to make TeXForm use TemplateBox to generate code?
If I define the TraditionalForm formatting of myFunction without TemplateBox, then
TeXForm works properly:
ClearAll[myFunction]
myFunction /: HoldPattern[MakeBoxes[myFunction[a_, b_, c_], Traditiona …
40
votes
1
answer
1k
views
What is the status of `::usage` and Templates in Mathematica v11?
Since Mathematica 9, a number of issues concerning the ::usage and templates were raised. … Certain inflexibility about the text in the templates was raised here and again here, and inconsistencies reported here (also see here). …