25,826 reputation
563138
bio website cims.nyu.edu/~leingang
location New York, NY
age 42
visits member for 4 years, 2 months
seen 2 days 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.


Dec
21
answered When I type the following code, the table comes above the question. How can I make it appear below the question?
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
answered Clipping only the bottom of a graph in pgfplots/tikz?
Dec
17
comment How to configure $PATH (for LaTeX) and run commands in Terminal?
You don't have to run the commands in Terminal if you are using TeXShop as your editor. Look at the Typeset menu. If you want to run the commands in Terminal, make sure your working directory in shell is the containing folder of the document.
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
17
revised Is there any advantage in keeping track of aux bbl blg files in a git repository
incorporated link suggested by Habi
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
12
answered Beamer: always overlay first item on same frame
Dec
10
awarded  Good Answer
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
6
awarded  Nice Answer
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.
Dec
3
answered Tikz Diagram: Block Diagram
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.