7,589 reputation
12857
bio website
location Switzerland
age
visits member for 4 years
seen Jul 1 at 8:23

Mathematician


Jan
23
awarded  Good Answer
Jan
23
awarded  Notable Question
Jan
20
comment numbering of theorems in chapters
You need to provide a lot more information for this to be answerable. Consider coming up with a MWE and including it in your question.
Jan
7
answered “Flatten” macros prior to sharing LaTeX file
Jan
7
comment “Flatten” macros prior to sharing LaTeX file
@cfr I tried with separation; as it happens my usual workflow already puts the commands in a custom .sty file; all I did was change the filename to reflect the requirement (I assume, based on the documentation) that it ends in -private.sty.
Jan
6
comment “Flatten” macros prior to sharing LaTeX file
@TorbjørnT.: you answered with de-macro in that linked question. The documentation for that package on the CTAN website is very brief. Would you saying a few more words about it? (I've just tested it and the result doesn't look too promising: it introduced an extra brace to the preamble causing a syntax error, and made zero changes to the body. It is likely that I am using it wrong.)
Jan
6
comment “Flatten” macros prior to sharing LaTeX file
@DavidCarlisle: which is why I also asked for existing tools. For simple definitions with no arguments, a regexp is easy enough to do by hand. But for definitions with arguments and possibly optional arguments, I wouldn't trust myself to cobble together something in a short amount of time. If someone has a nice perl/python script that can reliably handle the parsing (up to certain known caveats), it would make me very happy.
Jan
6
asked “Flatten” macros prior to sharing LaTeX file
Dec
18
comment Citations with names instead of numbers
You can probably get it using the default debug style, but I wouldn't recommend that as the real solution. See section 3.3.1 of the biblatex guide for the default styles, and section 4.3 for how to write your own citation styles.
Dec
12
comment How to insert searchable value for PDF reader?
If you just want searchable and are okay with the headword being slightly off (in terms of the highlighted parts when you search), you can just use \rlap{\color{white}Original Word}Head-word-with-symbols instead of the \makebox incantation. This way you also don't need to measure the lengths.
Dec
12
comment Is it more common to type period inside dollars or outside?
And don't worry too much about the "punctuation for sentences ending in displayed formula" issue if you are preparing the document for a commercial publisher. House styles overrule whatever you personally like. (I had just dealt with some author proofs where every other displayed equation there is a change log of the form "removed \; before punctuation".)
Dec
12
comment \multicolumn issues
The OP probably would want the last lines to be \cline{1-3} \multicolumn{1}{|l|}{Average and uncertainty}, considering the examples he linked to.
Dec
11
comment Combining different projects into one (papers into PhD Thesis)
Possible duplicate of tex.stackexchange.com/questions/11311/… See especially Martin's answer.
Dec
6
comment ASCII graphs in LaTeX document?
How is the parser supposed to know to add edges between the nodes? And how it is supposed to know when not to add edges between the nodes? If you are flexible to using a better-formed syntax, maybe you can consider graphviz? ctan.org/tex-archive/macros/latex/contrib/graphviz
Dec
3
awarded  Nice Question
Dec
3
comment How to test whether the starred-version of a command is defined?
Both very good answers, accepting this one sort of randomly, and because the last sentence got me thinking enough to come up with another way around my problem. Thanks!
Dec
3
accepted How to test whether the starred-version of a command is defined?
Dec
3
asked How to test whether the starred-version of a command is defined?
Dec
2
comment What's the best way to write e-mail addresses?
@user25957: I am not familiar with TexWorks, do this or other questions in the texworks tag help? If not try asking a new question about it.
Nov
27
revised Insert ams classification in scrartcl
added 1453 characters in body