# Tag Info

### List of symbols without built-in meaning

Updated to include both unary and binary operators One idea is to use the usage message of a symbol as a clue that it has a special display form, probably with no built-in meaning. For example: <...
• 127k
Accepted

### Shorthand for map at level 2

Corrected to use SubscriptBox as Rojo showed and Kvothe commented, fixing binding. Rojo shows a way in Is it possible to define custom compound assignment ...
• 267k

### Having the derivative be an operator

Update I've created a paclet. Install with: ...
• 127k

### How can I tell Mathematica to interpret 0xffff as a hexadecimal number?

Update As pointed out by @Edmund, my initial answer didn't work with hex numbers starting with an integer. To fix that, I included an initial \[DiscretionaryHyphen]...
• 127k

### Defining indefinitely many functions

Agree with other answers, this is a bad idea (why, precisely do you want to do this?), but in the spirit of encouraging unmaintainable write-once read-never code, here's my entry into the freak show: ...

### Shorthand for map at level 2

I'm not aware of a simple one, but perhaps you could make your own? The following is not great because it requires you to enter CenterDot as Esc+.+Esc, and you can'...
• 22.4k

### Can symbols like + or * be used to denote the Plus and Times functions?

You can use the Notation package. It requires a GUI palette though. Needs["Notation"] Once you have this package loaded, ...
• 4,256

### Defining indefinitely many functions

Just to be clear, I think this is a terrible idea but nevertheless, a question has been posed for which there is a simple answer: ...
• 87.7k

### How to use in for MemberQ

The big issue here is that is a system defined symbol and messing with it in this way can have all manner of unintended consequences. You don't know what is ...
• 40.7k
Accepted

### Is it possible to write time derivatives with the dot notation?

I can't test robustness, because I don't know what your work flow is, but one can Format the expression: ...
• 22.4k
Accepted

### Redefining a built-in operator

Use upvalues. You don't want || to change its behavior except when it's operating on impedances. So, use a wrapper (z[ ], say) around the quantities that represent impedances, and associate upvalues ...
• 13.6k

### List of symbols without built-in meaning

Here is an approach based on reading the Front End resource UnicodeCharacters.tr. This method finds some operators that do not presently appear in Carl Woll's list ...
• 267k

### How to imitate list comprehensions for constant arrays?

The Notation package is not necessary to use an infix form of \[Star] as that is handled automatically. Also I recommend ...
• 267k

### Redefining a built-in operator

I don't like the idea of redefining Or (||). Rather, I would suggest defining a function with the name ...
• 107k

### Can we use letter with a subscript as a variable in Mathematica?

You can also do this: << Notation Symbolize[ParsedBoxWrapper[SubscriptBox["_", "_"]]] If you want to, you can import the Notation package first, then use ...
• 305

### Series with specific notation

I think SeriesCoefficient is what you want. Then you can use it to display formatted formulas ...
• 43.2k

### What are the differences between using MakeBoxes and Interpretation?

Assuming that you want to create a special display form for foo that can be used in all contexts, you should use neither of these solutions. Why? ...
• 231k

### How can I tell Mathematica to interpret 0xffff as a hexadecimal number?

One approach is to the use that Notation Package's AddInputAlias function to setup an alias that will convert Esc 0x Esc to 16^^ ...
• 40.7k
Accepted

### Dot in place of prime to denote differentiation

Maybe this? OverDot[f_, n_Integer] := Derivative[n][f] It really only works for . and ...
• 226k

### One line definition of a symbol with plus-minus

The most robust way I know of would be to use the built in Notation package and write something like ...
• 1,130

### Can symbols like + or * be used to denote the Plus and Times functions?

For Plus, there's this, from How would I add together any list of arguments as a pure function?: +Sequence[1, 2, 3] (* 6 *)
• 226k

### How to use in for MemberQ

To avoid any conflict with the built-in symbol for \[Element], I would use the small element symbol, instead (this is a ...
• 96.2k
Accepted

### What are the differences between using MakeBoxes and Interpretation?

Point of conversion A large and perhaps key difference is that MakeBoxes (foo) only transforms the expression into the expanded ...
• 267k

### How can I automatically replace [[ and ]] with the \[LeftDoubleBracket] and \[RightDoubleBracket] operators?

You can use CellEpilog to modify the contents of the cell upon evaluation: ...
• 30.2k

### How can I automatically replace [[ and ]] with the \[LeftDoubleBracket] and \[RightDoubleBracket] operators?

Here is a stylesheet solution modeled after Lucas' answer, except that I use CellEventActions to tie the transformation to a keyboard short cut: ...
• 127k
Accepted

### Making ^ work as MatrixPower for matrices

One way to do it is to use Notation package. ...
• 878

### How to use Feynman slash notation?

Here is a palette that does the slashing when you select a character and press the button: ...
• 96.2k

### Seeking more verbose syntax, e.g. "Then" -> ","

This still requires some commata and also additional brackets, but it might be somewhat more legible. ...
Accepted

### Defining new brackets

One way of doing this is to use \$Preprint: First define the variables you want to print with double brackets. Then define a ...
• 37.7k