Reputation
1,080
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 19
Newest
 Altruist
Impact
~22k people reached

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
Mar
24
awarded  Critic
Mar
24
comment refer to theorems in previous chapter
@cmhughes: That is exactly what the asker wishes to accomplish!
Mar
8
comment stacking three tables on top of each other
FYI, the table environment just floats its contents, the same as figure. There's no need to wrap every tabular inside a table. The \begin{table} may even be causing your error.
Mar
7
awarded  Notable Question
Jan
15
comment TeX capacity exceeded, sorry [main memory size=5000000] with matlab2tikz and reduce_plot
I think you'd be better served just including the .eps file in your TeX document, after using reduce_plot or clean_figure. You can then draw axes and labels on top of the included graphics file.
Dec
12
awarded  Yearling