4,654 reputation
21243
bio website
location
age
visits member for 1 year, 10 months
seen 4 hours ago

12h
comment Expanding parameters inside \csname
@JKreft As David says, the \expandafter is useless there, since everything between \csname and \endcsname is expanded before creating the token. What did you want to achieve?
12h
answered Expanding parameters inside \csname
13h
comment Expanding parameters inside \csname
#1 \endcsname has a space, thus you are calling \other• where is a space in the macro name.
13h
comment Conditionals—do something, if a given command is being used in the document
\cs_put_left:Nn would be more like \pretocmd. I think \tl_put_left:Nn is fine here, but it's true what you say :)
13h
comment Conditionals—do something, if a given command is being used in the document
\preto =? \tl_put_left:Nn?
18h
comment LaTeX command for unknown symbol
True, after compiling it myself it looks good. So it's your viewer :) I said that just looking to the first line of your image, it seems to have som sort of distorsion in the center. Nevermind.
18h
comment LaTeX3: tl_map with spaces
@JosephWright Even if it's possible to solve this by replacing spaces (or spaces followed by something), or using the splitting into a seqence… It would be great to know that inline mapping that does not ignore spaces.
19h
comment LaTeX command for unknown symbol
The last one looks better, but still, as the first two (\textstyle and \scriptstyle), it seems that the center of \rotatebox is not perfect, so the three lines form a weird thing at the center where they are toghether. I don't know how to explain, just looking closely to the center of \upY and \downY shows what I mean.
1d
comment LaTeX3: Peek for spaces
@JosephWright I'm not sure what do you mean… It's not “specifically excluded” but “generally excluded” (as any space token after a control sequence), or you mean something different? If you want a tokenized space you need something like, e.g., \use:nn { \token_new:NN \c_space_token } { ~ }.
1d
answered LaTeX3: Peek for spaces
1d
comment LaTeX3: tl_map with spaces
@mh543 Wouldn't \tl_replace_all:Nnn be enough? (I don't know anything about mhchem so probably I'm wrong.)
1d
comment LaTeX3: Peek for spaces
That is the exact same thing as writing \foo so the spaces is “gobbled”. May be you want \c_space_token?
1d
comment Censoring Curse Words with Grawlixes
Definetly better (IMO). I like this way, even now that I'm reading ConTeXt source code and it writes completely different (at least they don't use the opening brace, new line, code, new line closing brace without indentation too much, but something more like %, new line, opening brace and code, more code, and closing brace next to the code).
1d
comment Censoring Curse Words with Grawlixes
It annoys me when you use traditional placing of open and closing brace (open brace adjacent to the function, then new line, then the code, and then the closing brace alone in a new line —without indent—), mixing it with the recommended LaTeX3 way (both alone on a new line, indented the same amount of space).
1d
comment I'd like to have my lower boundary as -infinity but it will only have one character
@qwerty314 In (almost) any command, if you need more than one token in one place, surrounding them by braces works. Moreover, in cases where more than one token is possible, even if you only need one, it's recommended to have {} around the argument (e.g., \frac a 2 should be written as \frac{a}{2}).
2d
comment rtf2latex2e convert ÷ symbol to ÷ in windows
If you have em-dashes, or accents (, á), it also gets it wrong sometimes, puting the dashes in a different paragraph where they belong, and changing many accented words to a Á (e.g., cábala to cÁbala) and many weird things. I think it doesn't work well with UTF8.
2d
comment Command \d invalid in math mode
Isn't there a command \underdot by default? I think I might've seen it.
2d
reviewed Approve suggested edit on How do I make \dots more compact? Or are there alternatives?
2d
answered How do I make \dots more compact? Or are there alternatives?
2d
comment How do I make \dots more compact? Or are there alternatives?
This answer does add to the usual options of ellipsis package, two more configurable spaces: \ellipsisbeforegap and \ellipsisaftergap (space before and after the dots, useful in many cases), apart from making it configurable also for math mode.