# Tag Info

### The scope of \newcommand is the entire page

It pains me to break this thread by fixing the issue, but here we are. :) We are now inserting \begingroup and \endgroup ...
• 100

### When is it ok to use \newcommand and \DeclareMathOperator?

I don't think there exist general guidelines. However there are some characteristics of this site and of MathJax that together suggest, at least to me, a certain set of rules: The relevant ...
• 42.1k

### When is it ok to use \newcommand and \DeclareMathOperator?

While celtschk already mentioned this in their answer, I think this deserves highlighting: There is a way to use MathJax macros safely in SE posts: Add ...
• 25.4k

### Should titles be included in begingroup..endgroup (similarly as posts and comments)?

Proposal: Defining macros in the titles should be strongly discouraged and we should ask Stack Exchange to add them to blacklisted phrases in the titles.1 This would mean blacklisting: ...
Accepted

### A possible bug regarding MathJax, previews, and the arctangent/tangent functions?

A linked question contained some malicious code in the title. I've removed it.
• 26.2k
Accepted

### Can custom TeX/MathJax commands be defined by default for a site?

Yes, this is possible. You can run a list of commands in the header of the documents that define a list of macros. I have that on my website, so I can always write ...
• 379k
Accepted

### Is there some way to include some default text quickly in a post?

I'm not certain exactly what you are looking for. There are a few ways which I can see interpreting what you're asking for. How to implement it, or what to use, is going to depend on what you want and ...
• 103

### Should I fix my 175 posts that use \newcommand without \begingroup?

In my opinion, the obvious solution would be to gradually edit all and only those posts where you have redefined a predefined LaTeX-MathJax command. The reasons are as follows: If anyone wants to ...
• 54.9k

### A possible bug regarding MathJax, previews, and the arctangent/tangent functions?

• 2,960