1,125 reputation
31225
bio website cs.wisc.edu/~tdw
location University of Wisconsin-Madison
age 28
visits member for 3 years, 5 months
seen Nov 19 at 21:36

Ph.D. student in theoretical computer science interested in the complexity of counting problems.


Mar
28
awarded  Famous Question
Mar
20
comment How do I left-align entries in a matrix with \begin{matrix}?
mathtools has the same *ed variants of the family of smallmatrix environments.
Jan
28
comment Displaymath environment that can align equations and squeezes math
I agree with you (egreg) that it would probably take at least three passes to get this behavior, which is probably too many. Ultimately, I ended up rewriting the equation as part of a larger edit to simplify things. This answer gets accepted because it taught me something.
Jan
28
accepted Displaymath environment that can align equations and squeezes math
Jan
27
comment How to center text without adding space AND not altering alignment of surrounding text?
@GonzaloMedina I didn't want to center the last line of a paragraph. I wanted to center specific words in the text.
Jan
27
revised align vs equation
Added "draft" option to LaTeX document so that the badbox is identified
Jan
27
comment Punctuation after multiline math diagram
@MaMing You can use \mathrlap when math mode. See math.arizona.edu/~aprl/publications/mathclap for more information.
Jan
23
awarded  Nice Question
Jan
23
comment Displaymath environment that can align equations and squeezes math
No offense to luatex, but I use pdflatex and won't switch just to have an elegant solution to this problem. I figured out a hack for my specific situation that I would use instead, which is to manually squeeze the math in select locations using \!. Not only does this hack not scale, it doesn't look perfect because the space around operators varies within the same line of math.
Jan
20
comment align vs equation
Eventually are stated using equation for one liners just because my coauthors did. Only in the last week have I realized that there is a visible difference between these two environments (primarily this answer of mine and Will's answer about differing vertical white space before the display math).
Jan
20
comment align vs equation
@Mico Exactly!...which is why I was so surprised when I noticed this behavior in one of my papers. I used to be like the OP and thought align > equation used thus used align everywhere. The only argument I had seen to use equation is because you want the syntax reflect this. However, I often have multi-lined equation that need alignment and even tend to edit equation so the that the need for alignment comes and goes. I found it an annoying waste of time to change the syntax between align and equation.
Jan
20
comment Displaymath environment that can align equations and squeezes math
This complexity makes me think that there is no environment that will do this for me automatically. In my actual situation, I think it is clear that the short side should not have its math squeezed. So if no general answer is possible, I will figure out a hack to get this behavior for my situation.
Jan
20
comment Displaymath environment that can align equations and squeezes math
@Mico I think I understand your concern. In my example, suppose that I removed half of the terms on the RHS of the first line. Then where should the squeezing occur?... just on the LHS and RHS of the second line or also in the RHS of the first line? I think the correct answer depends on how similar the math in the two RHSs. In this case, they are extremely similar, so I think it would look better if both RHSs were squeezed to keep the +s aligned. However, in another situation, I can see how squeezing the math in a shorter side would look bad.
Jan
20
answered align vs equation
Jan
20
answered align vs equation
Jan
18
comment How Do I Horizontally Center An Operator Relative To Aligned Equations Above and Below
I think the text "outside aligned" is supposed to be, well, outside the align environment.
Jan
17
comment Displaymath environment that can align equations and squeezes math
@egreg Of course I don't have just one line. I updated my example. How is that?
Jan
17
revised Displaymath environment that can align equations and squeezes math
added better example
Jan
17
comment Displaymath environment that can align equations and squeezes math
Of course I want to align multiple lines. My example is just to show what I mean by squeezed math.
Jan
17
comment Displaymath environment that can align equations and squeezes math
Wrong. Compile my example and see that only the second of those two displaymath environments has a badbox.