Conversation started Jan 28, 2019 at 7:49.
Jan 28, 2019 07:49
6
So I just passed the 2,000 rep threshold this morning and, eager to try out my newfound powers of automatic editing, I went ahead and looked for the first post I could find that could use some prettying up. I quickly found a post that was well written but had some funky-looking italic math format...
Perhaps a warning not to do this should be included in Guidelines for good use of $\rm\LaTeX$ in question titles.
Anyway, we should probably edit out occurrences of newcommand and DeclareMathOperator in the titles.
Searching for
\def using built-in search does not work well: math.stackexchange.com/search?q=title%3A%5Cdef But we should be able to find such posts using SEDE: data.stackexchange.com/math/query/972169/… Possibly when editing such posts we could include the newcommand into
begingroup...\endgroup as explained here: The scope of \newcommand is the entire page. @quid I remember that you have used Is this true: $\DeclareMathOperator{\Hom}{Hom}\Hom_R(S,R) \otimes_S P \cong \Hom_R(P,R)$? for testing purposes (in connection with one of the questions above).
Jan 28, 2019 08:03
11
It pains me to break this thread by fixing the issue, but here we are. :) We are now inserting \begingroup and \endgroup directives into post and comment bodies, so all command definitions should be scoped to individual posts. For now, I'm only enabling this on Math (and here on meta), but barr...
It seems that the issue isn't completely fixed. See math.meta.stackexchange.com/q/29702/18398 — Joel Reyes Noche 4 hours ago
To add a bit more to detail to @Joel's comment: a newcommand in titles can still cause issues. This is especially a problem when a title containing a newcommand appears in "linked" and "related." This can create rather confusing situations. — quid ♦ 14 secs ago
Conversation ended Jan 28, 2019 at 8:12.
Problem with \newcommand in titles
Jan '1928
Participants
- Martin Sleziak 75%
- quid 24%
all times are UTC