This is for questions about creating and using custom notations. For help on the use of the built-in operators, see syntax.
8
votes
1answer
2k views
13
votes
2answers
235 views
Difficulties in creating strict and robust equivalence between two symbols using the Notation package
I am investigating the use of the Notation package facilities to create strict the equivalence between pretty-printed symbols such as ...
16
votes
1answer
278 views
Prefix operator with low precedence
The question is simple, but I will elaborate on the background as well for those interested in the idea:
How to define a new operator with specified precedence value?
Background
Mathematica was ...
8
votes
2answers
259 views
How can one define an infix operator with an arbitrary unicode character?
You can setup "UsefulFunction[a, b]" to use custom infix notation "a [LeftRightArrow] b" as follows:
...
14
votes
5answers
648 views
Having the derivative be an operator
How do I create an operator which acts like a derivative to everything to the right of it:
for example:
$ \left( \partial_x + \partial_y + z \right ) x \psi $
How do I make that evaluate to:
$x ...
7
votes
1answer
173 views
Can the Notation function support complex structures on its left hand side?
In my investigation of the possibilities offered by the Notation package, I came over a limitation in the complexity of the left hand side symbol. For instance, although I am able to enter
...
12
votes
2answers
279 views
Going full functional (Haskell style)
I'm trying to define some notation so that Mathematica code would be more functional, similar to Haskell (just for fun): currying, lambdas, infix operator to function conversion, etc.. And I have some ...
4
votes
1answer
162 views
Simplistic Notation example
Notation package looks poorly documented.
For example, GridBoxDividers option is not documented at all.
Can someone give me a simplistic example of a Notation set ...
6
votes
1answer
175 views
$\TeX$ conversion, support for \hphantom
I'm trying to write some $\TeX$ conversion for a tensor with an upper and a lower index, but I would like the lower index to be displaced to the right by the width of the upper index. In (La)TeX I ...
3
votes
0answers
172 views
Best Practice for using Notation, $Pre, MakeExpression in a package
I'm setting up a package that defines a custom Notation.
I'd like to inquire about best practices and possible issues of:
using the Notation Package
using $Pre ...
5
votes
1answer
270 views
Using the symbol I for electrical current [duplicate]
I would like to use the I as a symbol for the electrical current. How can I redefine it, so it is not interpreted as the imaginary unity?
