2,981 reputation
52128
bio website benalpert.com
location Mountain View, CA
age
visits member for 3 years, 8 months
seen Apr 13 at 21:21

I'm a software developer originally from Boulder, CO, currently working at Khan Academy in Mountain View, CA. In my spare time, I contribute to React, make music, and cook.


May
20
comment Make a Vigenère rectangular in LaTeX
@percusse: Presumably just \pgfmathparse{int(mod(\i+\j,26))} would work without the conditional?
May
20
comment What needs to be introduced in a short introduction to LaTeX?
I have seen more than one person write code like If $x$ $+$ 2 $<$ 5 which is bad because the spacing is wrong, the font can be wrong, and it takes more effort to type, anyway – make sure you explain that math mode goes around the whole formula.
May
12
comment Best way to denote an angle in TikZ?
This solution looks smart but it could break in the (perhaps unreasonable) case that the triangle Axy is too small to contain all of the angle mark.
May
6
comment Vertical alignment of align* in enumerate
This is great! Somehow I had decided previously that the fractions wouldn't line up right, but it appears that they do.
Apr
11
comment Exporting true pdf without dpi
You could simply increase the DPI to 300–400 or so.
Apr
7
comment How can I produce black and white source code using the minted package?
Not true -- bw is included by default.
Mar
28
comment Using Sublime Text 2 for LaTeX
I've used the package, but only on OS X, sorry.
Mar
11
comment Asymmetric quoting in LyX
What unacceptable output do you get?
Mar
6
comment How do I find out what fonts are used in a document/picture?
brew install xpdf (or poppler?) on OS X to get pdffonts.
Mar
6
comment \vec{p_{\bar p}} renders strangely
Gotcha, thanks for the explanation (both here and on the other question)!
Mar
6
comment \vec{p_{\bar p}} renders strangely
(Also not suggesting that this would be the best way to typeset this, but I'm wondering why what I tried breaks.)
Mar
6
comment \vec{p_{\bar p}} renders strangely
Sorry, I guess I wasn't quite clear. That's how I got my second image, but what if I want the \vec arrow to be shifted to the right to be centered over the entire p_p "block"?
Jan
29
comment Math column in tabular without “array” package
Have to upload a file to a remote server in order to submit it and I'm not allowed to change the preamble. :\
Jun
19
comment Breaking formulas before and after binary operators
Is there any reason for this rule, though? Just how Knuth felt on the day that he was writing the book?
Jun
19
comment Breaking formulas before and after binary operators
(Is this question acceptable here? It's not specifically about TeX, just about math typesetting.)
Jun
9
comment \mid, | (vertical bar), \vert, \lvert, \rvert, \divides
I am now thoroughly confused – what is an ordinal?
Mar
19
comment Using TeX for hyphenation only
Have you seen hyphenator.js? It uses the same patterns as TeX to hyphenate.
Mar
3
comment How can I pass a shortcut to a `.pdf` to `\includegraphics{}`?
Windows has NTFS junctions which are similar to symlinks.
Feb
28
comment Outline of style I. A. i. a. 1. …
Those definitions should work even without the outlines package.
Jan
27
comment Vertical alignment of align* in enumerate
I really like this as well. Thanks!