Reputation
7,690
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
23 51
Impact
~508k people reached

Sep
2
comment How to correctly format (and align) a LaTeX proof?
@alexjlockwood: typically, it means "advance to the next column". In eqnarray (don't use it!) equations are blocked into groups of three columns: right-aligned, center-aligned, and left-aligned, after which you jump rightwards some distance to start a new equation further to the right. In align, equations are blocked into groups of two columns: right-aligned, and left-aligned. You'll also encounter & any time you use a table, or a matrix, or similar sorts of environments.
Sep
2
comment How to correctly format (and align) a LaTeX proof?
@alexjlockwood: in a word — never. What was the second question?
Sep
2
comment How to correctly format (and align) a LaTeX proof?
Hm. I didn't know that, perhaps as a result of not using lefteqn. I adopted this method (those rare times when I've used it) as it is a way of getting remarks flush with equation numbers.
Sep
2
comment How to make an arrow bigger and change its color in TikZ?
What do you mean by "bigger... without impacting the line"? Do you mean just to increase the size of the arrow-head?
Sep
2
revised How to correctly format (and align) a LaTeX proof?
added 79 characters in body
Sep
2
answered How to correctly format (and align) a LaTeX proof?
Sep
2
comment Draw an arc between 2 nodes and label it in TikZ
Thanks. Generally, you should post a complete working document in such cases, to avoid such confusion. (Especially where TiKZ is involved, which has more accessories than the proverbial Malibu Stacy doll.)
Sep
2
comment Draw an arc between 2 nodes and label it in TikZ
Your code does not compile for me. What TiKZ libraries are you using?
Aug
31
answered How to use a comma in lstlisting keywords?
Aug
31
answered How to emphasize with in a listing an identifier containing a digit?
Aug
30
accepted Obstacles to simulating an amsmath matrix by a TiKZ matrix of math nodes
Aug
30
comment Obstacles to simulating an amsmath matrix by a TiKZ matrix of math nodes
With experimentation, I found some minor improvements: row-spacing should be set to {\mtxrowsep,between borders} in order for the spacing to be correct at different typeface sizes; and the value of \mtxrowsep should be changed to \arraystretch\baselineskip as the first step in the wrapper environments to get the correct row-spacing. I found that inner ysep=0.7ex and inner xsep=0 to be better than a symmetric inner sep. Finally, depending on the font size, yshift values ranging from 0 to 1ex may be needed. This gives essentially robust results for different matrix dimensions.
Aug
30
revised What GUI applications are there to assist in generating graphics for TeX?
revision to clarify question
Aug
30
suggested approved edit on What GUI applications are there to assist in generating graphics for TeX?
Aug
30
comment Anonymous Functions (Closures) in LaTeX
@rcollyer: the answer then is "no": they're visible to anyone intrepid enough to browse your source-code. But the definition you give a macro may be limited by scope (within an environment, between a \bgroup and an \egroup, etc.), or may not be persistent (the macros \@tempa and friends are routinely cobbered as work-space by other macros); and in other ways may not be things which are reliably accessible outside of the context you use them in. Does that make them "practically anonymous"? That depends on who you're shielding your macros from. Just worry about robustness on your end!
Aug
30
comment Anonymous Functions (Closures) in LaTeX
I am no profound expert in TeX. Having said this: if there is any means of defining properly anonymous (e.g. purely lambda-expression-type) functions in TeX or LaTeX, it is an extremely well-hidden feature. You can certainly define macros which are overloaded (such as \@tempa, \@tempb, etc.) to do things that you want ad-hoc; but there is no means to describe "the function which does bla" without giving it at least a temporary name.
Aug
30
comment Smaller frame with listings
Nice tidy approach!
Aug
29
comment Obstacles to simulating an amsmath matrix by a TiKZ matrix of math nodes
This is a very, very good effort! I notice only a slight difference in the row-spacing between the two TiKZ variants and the AMS original in each case; and no significant differences otherwise, for these 2x2 examples. (One would hope that a suitable study of amsmath.sty, latex.ltx, or even more primordial source files might yield the precise row-spacing in any case.) Interestingly, I also do not notice any significant difference in the examples given between the first two matrices of each type. I also appreciate the effort taken into crafting wrapper environments!
Aug
29
comment Obstacles to simulating an amsmath matrix by a TiKZ matrix of math nodes
Yes --- the TiKZ documentation emphasizes that every row must terminate in \\, which while unfortunate is something one can hope to take care of with a wrapper environment of some sort.
Aug
29
comment Obstacles to simulating an amsmath matrix by a TiKZ matrix of math nodes
I'm not sure entirely what's going on with these examples; but if I leave in the \fill (0,0) circle [radius=2pt]; commands, it doesn't finish compiling in any short time, and if I remove that command I get a squashed matrix either well above or well below the baseline (i.e. even more poorly aligned than previously). Is there something missing?