Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

The definite integral template takes 4 arguments as can be seen here:

enter image description here

Is it possible to make a function that can be called in the same kind of way?

For example is it possible to make this call a function foo, like so:

enter image description here

share|improve this question
1  
There are topics how to work with interpretation. Here's how to create Alias: SetOptions[EvaluationNotebook[], InputAliases -> {"test" -> SubsuperscriptBox[RowBox[{"<", "\[SelectionPlaceholder]", ">"}], "\[Placeholder]", "\[Placeholder]"]}] –  Kuba Mar 26 at 23:25
add comment

1 Answer 1

up vote 6 down vote accepted

Like with the Notation package?

enter image description here

share|improve this answer
    
Works perfectly, thanks! –  Tyilo Mar 27 at 0:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.