Reputation
1,180
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
9 20
Impact
~28k people reached

Jan
15
awarded  Nice Question
Dec
12
awarded  Yearling
Nov
23
awarded  Good Answer
Oct
20
comment Are there fiction novels written in LaTeX?
I seem to recall an appendix to one of Neal Stephenson's novels describing his production process, which involved LaTeX, but then the publisher converted everything to Quark. But I could be thinking of a different author.
Sep
24
awarded  Notable Question
Sep
5
awarded  Necromancer
Apr
23
awarded  Altruist
Apr
23
comment Can I get $$…$$ to behave like \[…\]?
Ah, that doesn't work as I'd have hoped, since the text replacement is done before TeX processes it.
Apr
23
comment Can I get $$…$$ to behave like \[…\]?
That said, it would help to reset found_double_dollar to false on each \par, since new paragraphs cannot occur within a math environment: this would just eat one paragraph, instead of cascading failures through the rest of the document ;-)
Apr
23
comment Can I get $$…$$ to behave like \[…\]?
If you know how to use Lua patterns (I do not), it is probably possible to only match instances of $$ not preceded by \, no? However, problems remain (verbatim environments; any unmatched $$ within a comment will throw off the rest of the document…) A robust solution along these lines would probably take excessive effort.
Apr
23
comment Can I get $$…$$ to behave like \[…\]?
Does this deal correctly with non-display instances of $$, e.g. I have \$$33.20$? (I checked: it does not. It eats the rest of the paragraph, and is out-of-sync with display start/stops for the rest of the document.)
Apr
22
comment Defining custom labels
@HenrikBøgelundLavstsen: Can you mention what the arguments to hyperref's redefined version of \newlabel are, or where this is documented? By the way, I am giving you a bounty for this answer. Thanks!
Apr
22
awarded  Investor
Apr
22
comment Defining custom labels
@barto: The second argument to \hypertarget is the culprit; using \hypertarget{#1}{} seems to work perfectly.
Apr
9
comment Tool to find characters encoded differently in T1 vs OT1
@cfr: If there's already a tool to parse text mode vs. math mode, using it would surely be preferable to attempting to recreate one using regular expressions, which is in any case doomed to fail.
Apr
9
awarded  Curious
Apr
8
asked Tool to find characters encoded differently in T1 vs OT1
Mar
29
accepted Numbering subsections and subsubsections with the equation counter
Mar
28
comment Numbering subsections and subsubsections with the equation counter
Regarding subsubsections: I'd like them to be numbered in the same sequence as subsections, but retain their different styling, showing that they're subordinate. Also, if subsections are in some table of contents or something, subsubsections would still not be.
Mar
28
asked Numbering subsections and subsubsections with the equation counter