26 questions linked to/from The scope of \newcommand is the entire page
58 views

### Proper hygiene for macros [duplicate]

I often use \def to define macros in my answers, but it concerns me that these definitions leak out of my answer and can affect the entire page. The potential ...
6k views

### Formatting Sandbox

Basically the same as Formatting Sandbox in Meta Stack Exchange, but since this and Statistical Analysis are the only two sites (I know) supporting $\TeX$ formatting, I believe we also need one here ...
4k views

2k views

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

As some of you may know, you can use \newcommand and \DeclareMathOperator to create new TeX macros. For example, ...
928 views

### Showstopper bug: MSE+MathJax unusable for 6 months with Chrome

For roughly six months or so, since around the latest MathJax deployment, the site has been highly unstable using recent Chrome versions (17-22) on Windows 7. I see guaranteed page freezes composing ...
370 views

### A specific confusing MathJax syntax that works randomly or not

Today I ran into the specific MahJax problem for which I cannot find the cause. Interestingly, if this Mathjax syntax somehow works in the Q&A area, it definitely doesn't work in the comment ...
255 views

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

For context, I was making a tweak to GReyes' answer on this question, just cleaning up some formatting with the trigonometric functions. Specifically, I was turning ...
619 views

### MathJax and iddots / udots or reflectbox

I wanted to actually sketch a matrix and needed the flipped version of $\ \ddots\$, but I can't find a way to do it. Tried reflectbox iddots udots and all the crazy stuff you find somewhere at TSE. ...
485 views

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

Not too long ago, a Stack Exchange software was changed in such way that macros defined in a post are valid only inside that post (similarly for comments). It was announced in an answer on this meta: ...
513 views

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

A little over 4 years go I discovered that MathJax supports the $\LaTeX$ command \newcommand, and started to use it in my own answers and questions: this makes ...
338 views

### old \def definitions linger

It's possible to use \def, and it usually works. However, there's a problem in that the definitions stick around and there seems to be no way to get rid of them ...