22,657 reputation
260116
bio website ryancreich.info
location Ann Arbor, MI
age 31
visits member for 3 years, 8 months
seen 18 hours ago

I am a mathematican. Since math is written in TeX, I have come to enjoy tinkering with the language; at the moment, I have one package on CTAN, ytableau, for drawing Young tableaux and Young diagrams in a variety of ways, some of which are not possible with the other such packages.

I am mostly proficient in the programming aspects of TeX and LaTeX, particularly the pgfkeys package, which is a complete programming language in itself (and with much better syntax than TeX). All my good answers are either about macros or TikZ :)


Apr
11
awarded  Nice Answer
Apr
8
awarded  Announcer
Feb
24
comment What is the correct way to get a pgfkey value?
The third line in your first block of code contains a directory change that makes the following two lines set the key /my color/my color.
Feb
23
awarded  Nice Answer
Feb
23
revised What is the correct way to get a pgfkey value?
added 88 characters in body
Feb
23
revised What is the correct way to get a pgfkey value?
edited tags
Feb
23
comment What is the correct way to get a pgfkey value?
It seems to me that your .cd makes the use of my color in the following key-setting lines an error.
Feb
23
answered What is the correct way to get a pgfkey value?
Feb
20
comment Does LaTeX allow for namespaces to eliminate the risk of package clashes?
@jubobs I was thinking of the package documentation
Feb
6
comment What is “expansion”?
@Gonzalo Knuth has a penchant for super-dense instructive examples. In his "Art of Computer Programming" he has at least one exercise on the MIX programming language that he proudly informs the reader contains deliberate errors (unspecified) for them to uncover and unravel for further edification upon the relevant concepts.
Jan
21
awarded  Favorite Question
Jan
5
comment how to have \tag, \text and cases environment like things in eqnarray
Good job finding a valid pretext for asking a question about eqnarray :)
Jan
1
comment Defining Commands With Multiple Meaning
Though of course you can do just about anything with macros, the best way to use them is to encapsulate material that is either complicated (involving some algorithmic or typesetting considerations) or changeable (such as semantic markup taking the place of explicit formatting). Replacing simple, if common, words is probably obfuscating (unless, of course, "interface" is a changeable semantic term).
Dec
23
comment Common, per-section numbering of theorems, lemmas etc.
@Olivier \renewcommand\thedummy{\value{dummy}} after \numberwithin.
Nov
14
comment Obtaining “greedy” pattern-matching in macros
Then, there's no way without introducing some modification. You have to specify where the greedy search ends, and TeX will complain if it goes too far and doesn't find any more \pars.
Nov
14
comment Obtaining “greedy” pattern-matching in macros
Put braces around \b five \par.
Nov
5
comment Redefine \item command to not typeset some items
Have you seen my answer to a similar question?
Nov
1
awarded  Popular Question
Oct
27
comment Is it possible to create a box with a fixed dimension, regardless of how large its content is?
@Mico I meant a "virtual bounding box", a container that takes up some made-up amount of physical space but whose "ink" can be anything, even outside the box.
Oct
27
comment Is it possible to create a box with a fixed dimension, regardless of how large its content is?
Also, with tikz there are better ways to make it not take up space. See the overlay key.