24,933 reputation
460135
bio website cims.nyu.edu/~leingang
location New York, NY
age 41
visits member for 3 years, 11 months
seen 3 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.


Sep
25
comment Pgfplots: picture moves with sample size!
For variable tick locations, you can use \pgfmathsetmacro{\tickone}{1-\DELTA/2}\pgfmathsetmacro{\ticktwo}{1+\DELTA/2} then xtick={0,\tickone,\ticktwo,2}.
Sep
25
comment Pgfplots: picture moves with sample size!
For plotting piecewise linear functions, see tex.stackexchange.com/questions/63024/…
Sep
25
comment Pgfplots: picture moves with sample size!
You have more than one question here (all of them good). Better to ask them separately.
Sep
18
comment Separating the preamble to another file
@TimHoffmann: either are perfectly acceptable. But if you are putting auxiliary code in a package you will probably want to use it more than once. That suggests a central location.
Sep
11
comment Problem with *fancyhdr* package: no headings diplayed
Welcome to TeX.SE! Please replace your preamble with a minimal working example (MWE) so users will be able to see the issue.
Sep
9
comment Names of items aligning out of frame in Beamer
Not really a beamer issue; if you did the same thing in the article class the second item label sticks out into the left margin.
Sep
4
comment How can I suppress table of contents that is appearing before every slide in beamer?
Can you post the complete code rather than just a snippet? We can't give advice on what to change without knowing what you are doing.
Aug
19
comment Odd graphics error — “division by 0”
@crmdgn: Thanks. See below.
Aug
14
comment Odd graphics error — “division by 0”
I still think it's the path. Usually Dropbox doesn't mount at the top level. Are you sure it's not ~/Dropbox or /Users/crmdgn/Dropbox?
Jul
24
comment Creating Multiple-State Models (rectangular nodes)
@Clarinetist: > is a key to set the arrowhead on the far end of the line segment. There are several possible values, and latex gets you the filled triangular arrowheads like you see above. There are plenty of other choices; see the “Arrow Tip Library” section of the PGF/TikZ manual.
Jul
22
comment Beamer - Title page is perturbed when adding notes
Looks like your version of beamer is older than mine. I have 3.26 and you have 3.24. So I would start by upgrading your beamer installation.
Jul
22
comment Beamer - Title page is perturbed when adding notes
Put \listfiles in your preamble and add to your question the contents of the log file between *File List* and *****.
Jul
22
comment Beamer - Title page is perturbed when adding notes
You might want to remove any temporary files and recompile to see if the unwanted behavior persists. As for your second request of putting the next slide in the note page...this would be a nice feature but seems pretty hard to implement because TeX goes through the file in one pass, shipping out pages as it goes. To put a future slide on a page you'd have to save it from a prior run and insert it. Could work, but not a simple task.
Jul
21
comment Beamer - Title page is perturbed when adding notes
When I compile your MWE I get something different. The top half of the handout version has the slide just as it appears with the beamer version. The bottom half of the handout version has a mini version of the slide (without the background) and your notes. Is that what you want?
Jul
21
comment Why doesn't this code compile?
In the future try to include the error message you received at the point the compilation halted. That is useful information that can help others (or maybe even yourself) solve the problem.
Jul
21
comment How do i get the coordinates (east, west, north) of an ellipsoid? (code does work for rectangulars)
Could you fill in your question? "this" in the title is a bit ambiguous.
Jul
17
comment Use the beta variant
Step 2 doesn't seem that necessary since the link at Step 1 shows the beta in each of the locally installed fonts.
Jul
16
comment Use the beta variant
@egreg: Good to know. I've been using mathspec for years and run into some bugs but I didn't realize it wasn't ready for prime time. I've included a unicode-math implementation.
Jul
16
comment Use the beta variant
Oops! I assumed it was since fontspec is. I've edited.
Jul
16
comment TikZ: Re-arranging the hierarchical diagram
You have a working code example, an idea of how you want to change the result, and the manual. Spend a few hours with those items. Then post your best attempt at getting what you want.