Reputation
133,117
Next tag badge:
422/400 score
78/80 answers
Badges
15 303 587
Newest
 Good Answer
Impact
~6.3m people reached

Mar
26
awarded  Nice Answer
Mar
26
revised How to increment variable by using same variable?
grammar corrections
Mar
26
revised How to increment variable by using same variable?
adapted OP's example
Mar
26
revised How to increment variable by using same variable?
foreach example
Mar
26
answered How to increment variable by using same variable?
Mar
25
comment Possible to create bullets for \subitems using \itemize without a nested list?
Does my solution no longer answer this question?
Mar
24
revised If.. then else and flipping a variable
eliminate comment of requiring an \edef as per egreg's comment
Mar
24
comment If.. then else and flipping a variable
@egreg: Thanks for pointing that out and have removed that comment regarding an \edef. I know I have had issues with similar use of file names but perhaps it was not with \input.
Mar
24
revised If.. then else and flipping a variable
use edfe in MWE
Mar
24
revised If.. then else and flipping a variable
added images, minor correction
Mar
24
answered If.. then else and flipping a variable
Mar
23
comment How does this partial-string color-highlighting code work?
Did you also change the second #1#2#3 to #1#2 following the color? If you changed it #1#2#3 to #1#2 in both places it should highlight just the first two characters. After the first three characters are processed, \@sectioncolor has done its on and the remaining characters are just text that is not processed by ``\@sectioncolor. Same as $\frac123$ producing the fraction 1/2 followed by 3.
Mar
23
comment How does this partial-string color-highlighting code work?
The parameters to \@sectioncolor are the first three characters #1#2#3. Similar to how \frac12 produces the fraction 1/2. Note that when \@sectioncolor is called its parameters are not enclosed in a brace group.
Mar
22
awarded  Good Answer
Mar
20
comment Issue with underscore inside a newcommand for math mode
Welcome to TeX.SE. It would be helpful if you composed a fully compilable MWE including \documentclass and the appropriate packages that reproduces the problem. And in this case it would go a long way towards clarifying what you are trying to do. I also would not recommend what you are doing, but your actual problem lies elsewhere. The code snippets you have shown should compile fine.
Mar
19
revised Delete an element in a matrix
added 981 characters in body
Mar
19
answered Delete an element in a matrix
Mar
19
comment Make Characters Active via Macro in Math Mode
@LoopSpace: Thanks. Will have a look.
Mar
19
comment Make Characters Active via Macro in Math Mode
When I attempted to use this I got Illegal parameter number in definition of \mathdef.
Mar
19
accepted Make Characters Active via Macro in Math Mode