23,046 reputation
256127
bio website cims.nyu.edu/~leingang
location New York, NY
age 41
visits member for 3 years, 6 months
seen yesterday

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.


Mar
18
comment How to draw a return arrow from node-3 to node-1
@Nicolás: I would agree it's easier to read than mine, but remembering just comes with a few repetitions. I try to follow DRY when coding TikZ, so if I want to change the name of BLOCK3 I only have to change it in one place. But there is room for both methods, to be sure.
Mar
13
comment Is there a way I can use Tahoma font from Microsoft in latex?
@TorbjørnT.: Thanks! I'll edit.
Jan
24
comment Chart showing the relative number of pages in the document
Let me give you the advice my advisor gave me. there are two kinds of theses: a good thesis, and a done thesis.
Jan
8
comment how to make text be copied to another part of a document?
I don't think this is abuse of the aux file at all. IMO the whole reason the aux file exists is to allow back-definition like the OP wants (and I didn't realize at first).
Dec
20
comment how to make text be copied to another part of a document?
That seems to be exactly what macros are for.
Nov
20
comment Prevent pdflatex from writing a bunch of files
I didn't know that writing file names to a file called .hidden will hide them like all other files that start with .. In which unices is that supported? (not Mac OS as far as I can tell)
Nov
14
comment How to include audio file in PDF
The docs for that package say it is obsolete and suggest media9.
Nov
1
comment Is hyperref really the best way to add metadata to a TeX file?
@Speravir: filecontents would allow me to write text to a file verbatim, true. I'm thinking more of a process that would dynamically generate the XMP file. Since I made the original comment, I have learned that the attachfile and attachfile2 packages can be used for the embedding part of the task.
Nov
1
comment Prevent pdflatex from writing a bunch of files
@JonathanBaldwin: Not all stati quo are created equal. IMO the work needed to force LaTeX to not use auxiliary files will not lead to inventions on the level of the printing press.
Oct
15
comment How can I easily use the same preamble on all my documents?
I would suggest that the local texmf directory follow the TeX Directory Structure, so a custom package would go in temxmf-local/tex/latex/mypackages/ At the same time you can put your images in texmf-local/tex/generic/images, etc.
Oct
8
comment insert -> Senseless!
Google suggests you tried to insert a caption outside of a float. But without more information it's hard to tell.
Oct
3
comment Is there a way to change the font color of a piece of text ONLY on beamer mode?
Till Tantau gave us pgfkeys and overlay specifications. Marvelous innovations!
Aug
13
comment How can I get the enumerate environment to count by n?
@adamglesser: Yes, that would be tougher. :-) Francis's solution is more customizable to situations like that.
Aug
13
comment Create an overview of scattered items / requirement list
@Lumiukko: You want \addtocontents{lor}{\protect...} and not \addcontentsline.
Aug
1
comment How can I work around this TikZ bug: (\x)^2 and \x^2 produce different results in TikZ plot?
This is the only acceptable answer since it reports the resolution of the bug report. Although I disagree with the design choice I agree to work with or around it. Since I've opened this question I've moved on to pgfplots for graphing functions, and haven't faced any gotchas like this.
Jul
26
comment What is the DRY way to get Theorem 1(a)?
@egreg: No, not always.
Jul
26
comment What is the DRY way to get Theorem 1(a)?
I normally use enumitem, but since memoir duplicates the enumerate package I thought I was not able to use it here. Might work.
Jun
20
comment How to get the square brackets that are involved in integration working
I assumed you were asking about the limits of evaluation on the right-hand side. They are typed the same way as the limits of integration on the left-hand side...with ^ and _. Sorry for being glib. But since the right hand side doesn't have any integration, you could google "square brackets latex" and find the answer.
Jun
20
comment How to get the square brackets that are involved in integration working
What did you type for the left-hand side? It's the same thing. :-)
Jun
19
comment Can we mirror a part in tikz?
@sandhu: did you change both instances?