26,081 reputation
563139
bio website cims.nyu.edu/~leingang
location New York, NY
age 42
visits member for 4 years, 3 months
seen 23 mins 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.


Jan
21
comment pgfplots “every quiver plot” style key?
Christian notes that it's not as simple as that for an every quiver plot key. See the SourceForge ticket.
Jan
21
comment Long division display
How about this answer: tex.stackexchange.com/a/49230/1402
Jan
20
comment Creating a Beamer Poster
Does the emergency stop come with an error message of any kind?
Jan
17
comment TikZ: Node position in draw environment
Welcome to TeX.SX! Next time, please make your MWE compilable so that answerers don't have to add this text to test.
Dec
17
comment Clipping only the bottom of a graph in pgfplots/tikz?
I already did: Take your code, search for clip=false, and replace with clip mode=individual. I normally would post a complete compilable document but since I only changed 10 characters it seemed like overkill. Here it is as a gist
Dec
17
comment How to insert a dashed line over a bigwedge symbol so that the dashed line behaves like overline would?
Well now you have the opposite problem. The dollar signs put it into inline mode! So you could use \mathchoice or find a way to not use a specific math mode.
Dec
17
comment How to insert a dashed line over a bigwedge symbol so that the dashed line behaves like overline would?
As for #1, your \preclosure macro has \displaystyle in it. That is how it ends up bigger.
Dec
17
comment Is there any advantage in keeping track of aux bbl blg files in a git repository
Good link. pgfplots also adds some temp files that might make good additions to that ignore file.
Dec
12
comment Beamer: always overlay first item on same frame
Next time please include an entire document (starting with \documentclass and ending with \end{document} as your MWE. Makes it easier for answerers who otherwise have to type that text themselves.
Dec
12
comment Beamer: always overlay first item on same frame
@Andrea: glad it helped you. The Only parameter is just dummy text for a frame title. Put whatever you want (or nothing) there.
Dec
8
comment Label four equations on one line
I presume that an advantage of indexing your variables is that you don't have to refer to (what you are calling) equation 10 or 11 separately. So although this is an interesting problem I feel like it doesn't contribute to better math writing. Why not just let it be labeled (10) and write “If we plug equations [note plural] (10) into (9), we get ...”
Dec
5
comment Storing an array of strings in a command
What would you like \getdata[4] to do? With this implementation it fails silently.
Dec
5
comment How to plot hyperbola giving the foci and the fixed differene distance using TikZ
Good answer. Just a note from the math police: I can't tell for sure but it looks like you're referring to the separate branches of the hyperbola as "parabolas". They should just be called branches.
Dec
4
comment Footnote without a marker
@DavidDoria: Gonazalo is re-implementing a macro that the original poster copied from a resource that is no longer available. So we'll never know what bl stands for. One may guess “blind”, but the important think is that it be different from \footnote.
Nov
28
comment Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
I hate to bring in a reference from outside the domain, but the Zen of Python comes to mind: namely Explicit is better than implicit, and There should be one—and preferably only one—obvious way to do it.
Nov
28
comment Using LaTeX to solve math problems in LaTeX more efficiently than with only paper
@alfC: I am aware that braces are optional in one-token parameters. In my answer I am advocating for including them anyway to make the code more readable, searchable, etc. And I don't think that code length is something that needs to be prioritized over code readability. When documents become long and you need to match a missing } it helps to have all the braces out there.
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
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.