696 reputation
210
bio website math.ru.nl/~jcommelin
location
age
visits member for 2 years
seen 2 hours ago

Apr
9
comment How do I write $\sim$ approximately with the correct spacing using siunitx?
Use \approx, instead of define \appr. Also, the 2nd example looks like a big hack to me.
Apr
9
answered How do I write $\sim$ approximately with the correct spacing using siunitx?
Mar
26
comment Unwanted line - problem
It looks like you tried to make a MWE. Still, you could/should strip out a lot of packages and definitions in the preamble that have nothing to do with your question.
Mar
25
comment How to change the label of one item in an enumitem list
Wonderful answer, because (i) this easily generalises to nested lists, and (ii) changing the format of labels now only needs to happen in one place.
Mar
25
accepted How to change the label of one item in an enumitem list
Mar
25
comment How to change the label of one item in an enumitem list
@egreg — Awesome. Somehow it did not pop up out of my search. Your answer there is fabulous.
Mar
24
awarded  Nice Question
Mar
24
comment How to change the label of one item in an enumitem list
The example only has a * in front of the digit. In the code it reads *\arabic*, but the latter * is part of the enumitem syntax.
Mar
24
revised How to change the label of one item in an enumitem list
Clarifies question
Mar
24
comment How to change the label of one item in an enumitem list
Awesome, thanks. In the end it was easier than I thought. I don't know why I didn't try this combo. (I was trying to difficult stuff, somewhere in the internals of enumitem.) Note that you have one * too much. In the end I did \def\staritem{\refstepcounter{enumi}\item[(*\number\value{enumi})]}. Would you mind to edit this into your answer?
Mar
24
comment How to change the label of one item in an enumitem list
@lockstep — Thanks for the edit.
Mar
24
asked How to change the label of one item in an enumitem list
Mar
23
awarded  Yearling
Feb
4
comment Boxes in LaTeX not proper
Also \colon not :. The usual : has the wrong spacing for function definitions (but correct spacing for e.g. $\{ x : x > 0 \}$.
Jan
9
comment How does one write a paper's `Reference` section?
I second jon's suggestion. bibtex, biblatex, natbib, and others are very cool, but for a translation I would just use the thebibliography environment.
Dec
24
answered Compilation of LaTeX style files?
Dec
2
comment Creating an example environment structured exactly like amsthm's proof environment
I guess the ntheorem and thmtools packages can help a lot. They are a lot more flexible than amsthm. Could you indicate whether it is an option for you to use another package, instead of amsthm?
Nov
29
comment To have nice tabbed text next to equations?
I recommend the OP to read the amsmath manual on a rainy afternoon!
Nov
29
comment How to get the number of elements in a \foreach loop?
So, are you actually asking how to obtain the length of a list? Your title (and first sentence of the body) suggest that you want to obtain it using \foreach. I suggest changing the title to something like: “Obtaining the length of a list in tikz-pgf”
Nov
26
revised Displaying slides with Beamer and Article class
Improves answer, code, and formatting