Reputation
7,602
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 32 41
Newest
 Good Answer
Impact
~331k people reached

Dec
16
comment How to read a stream of tokens up to one of two different delimiters
@StephanLehmke: A very good idea! For anybody who's wondering, the input-gathering logic happens somewhere in \collect@body/\collect@@body; for the environments that call into \start@align (e.g., align and alignat and their starred variants), this body is passed to \measure@, which you can hack into. Note that aligned and alignedat (at least) don't pre-gather their input (as far as I can tell).
Dec
15
awarded  Nice Question
Dec
15
comment How to read a stream of tokens up to one of two different delimiters
Fair enough, really. (Especially since I'm making amsmath-like environments anyway.) Would you consider leaving this as an answer, then? I'll leave the question open for now to see if anybody can answer it as asked, but your answer is a good one. (And thanks for the link.)
Dec
15
comment How to read a stream of tokens up to one of two different delimiters
@StephanLehmke: I had thought about that, but had hoped to avoid it, since it's just sort of ugly (and probably inefficient, especially for large environments)—I don't need all that information :-) But it's true, that would work.
Dec
15
asked How to read a stream of tokens up to one of two different delimiters
Nov
21
awarded  Good Answer
Oct
18
awarded  Enlightened
Oct
18
awarded  Nice Answer
Oct
10
awarded  Yearling
Sep
27
comment In the minted package, how do I enforce straight single quotes?
For anyone who comes across this later: the upquote package modifies all verbatim text (\verb and the verbatim environment) to render ' and ` as the upright versions, not the “smart” and . Since (as I understand it) minted and listings rely on fancyvrb, which itself calls out to verbatim text under the hood, this has the desired effect.
Sep
10
awarded  Nice Answer
Sep
9
revised How can I save shell output to a variable in LaTeX?
Fixed usage of `\immediate` and added some extra explanation of various things.
Aug
14
awarded  Nice Question
Aug
8
awarded  Nice Answer
Aug
5
awarded  Nice Question
May
25
awarded  Benefactor
May
25
comment Hyperref jumps to the wrong equation if the equation has a \tag and cleveref is used
This works, but is clearly sort of ugly. If there's a better solution, I'm all ears (really!), but this is what ended up in my document.
May
25
comment Hyperref jumps to the wrong equation if the equation has a \tag and cleveref is used
I awarded you the bounty because your solution is what gave me the ability to understand what was going on and come up with a half-assed fix; thank you! (I'd still love to see if/how this generalizes to a nicer solution, but my urgent deadline is past, so it's just academic at this point. And/or if I need it in the future.)
May
25
accepted Hyperref jumps to the wrong equation if the equation has a \tag and cleveref is used
May
22
answered Hyperref jumps to the wrong equation if the equation has a \tag and cleveref is used