25,821 reputation
563138
bio website cims.nyu.edu/~leingang
location New York, NY
age 41
visits member for 4 years, 2 months
seen 20 hours ago

Math professor by day, hacker by night.

I teach calculus and try to implement teaching and new media technologies. I use a lot of LaTeX and the occasional scripting language.

So glad I found this site—now I can unsubscribe to some of those mailing lists I should be paying attention to but never have the time when the mails come.


Nov
28
comment Aligning of “=” sign in three-row formulas
You need ampersands in the first line, too.
Nov
28
comment Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
@alfC: there is no point in optimizing code space if it makes the code harder to read or edit. If you have five ways to write the same fraction, what if you have to search for one? Or change them all? For that reason I find it more efficient to key it the same way each time. As for \over, it's been taboo since the dawn of LaTeX.
Nov
26
awarded  Nice Answer
Nov
21
comment Facilitate switching between latex (eps) and pdflatex (png/pdf) in the same paper
Classic XY problem!
Nov
20
comment What are coding conventions in LaTeX?
Thanks for understanding. I've edited again slightly; I think it reads better and still makes your point. I'll delete my previous comment as well.
Nov
20
revised What are coding conventions in LaTeX?
edited “for beauty” to “with beauty in mind.”
Nov
20
comment Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
@Manuel: re "definitely end up writing faster" with macros and text expansion I will believe it when I see it. I am pretty sure I can scribble a 𝛗 faster that you can type \phi.
Nov
20
comment Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
@T.Verron: I learned about cool on this site too. I know about the \Int macro now but not the first time I wrote the code sample above.
Nov
20
revised Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
corrected formatting of a bullet
Nov
20
comment Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
@T.Verron: Yes. And people who edit journals will probably tell of many more LaTeX sins.
Nov
20
answered Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
Nov
20
comment Is opacity a valid key for \includegraphics?
Put \listfiles in your preamble and compile on both machines. It will show the packages used and their version numbers. Install the version of graphicx.sty that's on the working machine onto the non-working machine.
Nov
20
comment Responsive design with LaTeX
You could definitely swapout different page sizes and create multiple PDF files. And use server side content negotiation to give the right size file for a given browser/OS.
Nov
19
revised pgfplots “every quiver plot” style key?
changed title to include “style”
Nov
19
revised pgfplots “every quiver plot” style key?
added second solution with original interface
Nov
19
answered pgfplots “every quiver plot” style key?
Nov
19
asked pgfplots “every quiver plot” style key?
Nov
18
comment A command to end any environment?
TeX is powerful enough to change its own syntax. You're suggesting a more brace-like notation for the contents of an environment than an XML-like notation which explicit begin and end markers. Yes, it would work and some might like it that way, but it's basically a non-LaTeX syntax and experienced LaTeXers would be (a) confused and (b) offended.
Nov
13
comment TikZ: draw lines connecting border of shapes
+1 for explaining why the original code gives an undesired result.
Nov
13
comment radianpersecond error in SIUNITX
Even though you could, I would recommend not creating a macro for that (not saying that you are). You save two backslash keystrokes and you make your code less portable.