25,491 reputation
562136
bio website cims.nyu.edu/~leingang
location New York, NY
age 41
visits member for 4 years, 1 month
seen 2 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
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
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
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
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
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.
Nov
13
comment Ignoring some of the caption content in listoffigures
Did you try \caption[short caption]{long long long caption?}?
Nov
13
comment Label on vector - tikz
or node[midway,above,sloped]
Nov
13
comment Label on vector - tikz
\draw[black,->] (a_2) -- ++ (\angle+90:0.3) node[midway,above] {label}; is how I would do it.
Nov
13
comment tikz: draw a piece of a path between given coordinates
So basically you want to create the path before drawing it, then draw it in pieces?
Nov
13
comment tikz: draw a piece of a path between given coordinates
You probably want the standalone document class instead of minimal. See tex.stackexchange.com/questions/42114/…
Nov
12
comment How to add explanatory text labels to a list of equations / solving steps
Nicely optimized. Can you put \just into the > specification for column 3?
Nov
12
comment How to add explanatory text labels to a list of equations / solving steps
also, replace \Delta by \mathbin{\Delta} so it is typset with the space appropriate for a binary operator.
Nov
12
comment How to add explanatory text labels to a list of equations / solving steps
You can cut out a lot of repetition if you use {>{\(}l<{\)}>{\(\equiv}p{6cm}<{\)\dotfill} l} as your table preamble. Then you don't need any dollar signs, you can eliminate the column of \equiv, and you don't need to have \dotfill in each line.
Nov
12
comment How to add explanatory text labels to a list of equations / solving steps
I am guessing that Fund is font.
Nov
11
comment TikZ: Make stealth decoration follow arc
@A.Ellett right you are. I just compiled the MWE.