4,905 reputation
930
bio website
location Cambridge, United Kingdom
age
visits member for 2 years, 9 months
seen 10 hours ago
stats profile views 192

Researcher in quantum information --- involving algebras over finite dimensional Hilbert spaces, graphs and combinatorics, and vector spaces over ℤ/pℤ.

I habitually edit and re-edit anything I write, as long as I have the time, interest, and ability. I should probably apologize for this tendency, but you will probably have to be satisfied with being warned about it instead.


May
7
comment Heatmap over country like Google Map
How were these animations made?
Apr
29
comment Multiple labels for enumerated item
If it isn't working for you, maybe you should see what other packages, macros, or other code you are using which might be interfering with it.
Apr
25
comment Smart parentheses?
@PålGD: yes indeed, fixed.
Apr
23
comment Style same type of element throughout document
@MatthewLeingang: I'm not sure what you mean. The second example of restyling itemize certainly does, or do you mean item labels if you make an \item[label]? (It does, if that's what you're asking; if one wanted to prevent this behaviour, one could also redefine \itemize so that it modifies the \item command.)
Apr
19
comment Proper way to format text when not using a lot of math
Could you give an example? If you just mean "a document containing a lot of prose with only a few simple equations", then you don't have to worry about \text. (The \text macro is mostly for when you want to do things such as insert a little bit of prose into some mathematics.)
Apr
10
comment heading of section with first letter big capital letter and rest as small capital letters
How big a difference would you like between the first letter and the rest?
Mar
23
comment Is there an equivalent to “big pi” for tensor products?
+1. This notation is standard in the quantum information community.
Mar
14
comment Automatic line break for writing context-free grammars?
@stefan.at.wpf: if you want to avoid the almost-solid-line, you can increase the vertical spacing in the grammar using basicstyle=\itshape\setstretch{1.3} and the setspace package.
Mar
5
comment Should using spaces in math mode be a common thing?
I use spacing in my maths absolutely all the time, without apology. Mathematics is information-dense text, and you may wish to emphasize particular structures in that text in a way that simply cannot be gotten at using generic (however aesthetically pleasing) typesetting practice. Just be consistent with your spacing practise so that people can parse your expressions the same way throughout your paper... and don't go completely crazy with your spacing (subtle is good).
Feb
4
comment Writing the Existential Quantifier with Lower and Upper Limits
@egreg: I think I'm starting to get the idea of when I should expect \vcenter tobe the secret behind vertical spacing of pieces of (La)TeX -- absent actually looking at the definitions, of course. Good point about the redundancy of \mathop, I think it persisted due to two different approaches I was taking to prototyping the macro.
Jan
30
comment Aberrant vertical spacing with {align} and friends?
So then \jot indeed is not random random --- I had thought previously that it was a fixed width --- you just mean that my usage of it was arbitrary. (It indeed was guesswork.)
Jan
30
comment Aberrant vertical spacing with {align} and friends?
Marvellous. (I obviously don't understand what \jot is meant to be doing; just mathglue?) Thanks!
Jan
30
comment Aberrant vertical spacing with {align} and friends?
Consider \savebox0{$\displaystyle \left( \sum_{\substack{a \\ b}} \right)$} text \strut\\[\dimexpr-\ht0-\lineskip-\jot]\strut \phantom{text} $\begin{aligned}[t] \left( \sum_{\substack{a \\ b}} \right)\end{aligned}$. This is not quite vertically aligned, and how well it is aligned will depend on the point-size. What would you recommend in this case?
Jan
30
comment Aberrant vertical spacing with {align} and friends?
I don't think you're understanding me. Consider the answer by mafp, on the other topic. I am trying to find a way that one may modify his code to make the baseline of the top line of the first inner aligned environment be properly aligned with the baseline of the enumeration item. My proposed strategy is to use the right amount of negative space, which raises the question of what that is and how one can go about systematically producing the correct spacing. I was remarking on this in response to your question as to why I want to use a newline, at the end of your answer.
Jan
30
comment Aberrant vertical spacing with {align} and friends?
I remark on precisely that on mafp's answer, in response to the OP for that question. The reason for that is perfectly clear; but this explains why I want to use a new line.
Jan
30
comment Aberrant vertical spacing with {align} and friends?
The reason why I am starting a new line is related to the linked topic in my original question. I want an aligned environment to line properly with an enumeration item in context like \item $\begin{aligned}[t] \begin{aligned}[b] a &+ b \\ &+ c \end{aligned} &= \begin{aligned}[t] d &+ e \\ &+ f \end{aligned}\end{aligned}$. The first inner aligned environment is too tall: to achieve proper alignment, starting a new line and pulling the environment back up to level seemed most appropriate.
Jan
30
comment Aberrant vertical spacing with {align} and friends?
What role precisely is the strut performing in defining the space to undo, presumably with \lineskip?
Jan
30
comment Aberrant vertical spacing with {align} and friends?
This doesn't seem to explain the fact that I have good alignment in the second and third test cases, though.
Jan
29
comment How to construct a long equation that is split in LHS and RHS to occupy a narrow column?
@GarbageCollector: in fact, it is working perfectly: the baseline of the first line of the aligned environment is the same as the enumeration label. The problem is that within the first line is another aligned environment which has multiple lines, and which aligns its baseline on the final line -- causing its first line to sit above the baseline of the enumeration label. I've been puzzling over "the right way" to fix that problem myself. It's easy enough to fudge with something like ~\\[-2.25ex] before the math, but that's not a robust way to do things.
Jan
29
comment How to construct a long equation that is split in LHS and RHS to occupy a narrow column?
Do you mean that the document should have left and right columns, and that once the text / equations have gotten to the bottom of the left column, it should start again on the right? Or is the right column meant to remain blank?