60,137 reputation
10133318
bio website math.ntnu.no/~stacey
location Oxford, United Kingdom
age 37
visits member for 2 years, 10 months
seen 4 hours ago
stats profile views 3,871

I am a førsteamenuensis (UK: lecturer, US: assistant/associate professor) in the Department of Mathematics at the Norwegian University for Science and Technology. I work in both differential and algebraic topology, both of which require that I use some category theory from time to time. I am also extremely interested in how best to use technology to help us do mathematics, particularly in the purer ends of mathematics where the obvious computational uses are not so useful.

For the 2012/2013 academic year I am on sabbatical based at Oxford.


22h
comment What is the difference between \def and \newcommand (Part II)?
@JohnWickerson Duplicates do have their place as they make it easier to find the main question. I would only go for deletion if the question shouldn't have been asked here at all (meaning, if the duplicate hadn't already been here).
22h
comment What is the difference between \def and \newcommand (Part II)?
As you've posted the answer at the other question, maybe this one should now be closed as a duplicate of it.
23h
comment What is the difference between \def and \newcommand (Part II)?
See tex.stackexchange.com/questions/1050/…
1d
comment Get the head, the tail, and the last element of a comma-separated list
@JohnWickerson And a splice function for saving the tail as a new list ...
1d
comment Get the head, the tail, and the last element of a comma-separated list
@JohnWickerson Is the dynamic tail a feasible solution or do you want to be able to save the tail as a new list? (That'll be hard with PGF's native tools.)
1d
comment Get the head, the tail, and the last element of a comma-separated list
@JohnWickerson Misunderstood the type of tail ...
1d
comment Get the head, the tail, and the last element of a comma-separated list
@JohnWickerson Answer updated to include tails.
1d
comment Get the head, the tail, and the last element of a comma-separated list
@JohnWickerson I've been doing too much lua recently ...
2d
comment Append two lists for TikZ foreach loop
I don't think that this can be done. The foreach loop expects either a single macro or a comma-delimited list. So either it just sees the \firstlist or it sees a two-element list {\firstlist,\secondlist}. You could do a double loop: \foreach \list in {\firstlist,\secondlist} \expandafter\let\expandafter\list\list \foreach \x in \list ... but that's not all that pretty! I think that creating an amalgam out of the two lists before the \foreach would be best.
May
21
comment Curve through a sequence of points with Metapost and TikZ
@Blair It's fine to ask here. At the moment, it's best to think of LaTeX3 as just another package (or set of packages). It looks as though hobby wants a more up to date version of the LaTeX3 code than is in the Ubuntu repository. You could try updating your TeXLive. As an alternative, if you're happy with the quick version of the algorithm then edit the file pgflibraryhobby.code.tex and comment out the line \input{hobby.code.tex}
May
20
comment Golden ratio typography in TeX
@morbusg Thanks for that, I hadn't seen that before.
May
20
comment Golden ratio typography in TeX
@cgnieder I agree with that sentiment. Just because we can measure something doesn't mean that it is helpful to do so, particularly if there is a loosely related something that we truly value but can't measure. Then the thing we can measure can become a substitute for the thing we truly value leading to all sorts of skewed behaviour.
May
20
comment Golden ratio typography in TeX
@cgnieder I had thought of posting some images typeset at various values - given by the "golden ratio" formulae and in TeX's normal choices - but I ran out of steam. Once I'd realised that the maths was dubious, I decided to focus on that and leave the typography to others more knowledgeable than myself.
May
18
comment Curve through a sequence of points with Metapost and TikZ
@Blair It's all in one package. And the fact that it is uses LaTeX3 doesn't mean that you as the user do anything different. It can be used in a normal LaTeX2e document without modification. You're probably already using some LaTeX3 stuff without realising it.
May
18
comment Curve through a sequence of points with Metapost and TikZ
@Blair it's the hobby package on CTAN, see link at top of answer.
May
16
comment Can I create a node list from some text entirely within lua?
This gets me the list of nodes as an external file. I guess you meant for me to be able to read those back in via lua to recreate the node list so that I could use it in my lua code. This isn't practical in my particular case as I want to build up a large list of these lists to manipulate. However, as I'm new to luatex then I'll learn from looking at your code so thank you.
May
16
comment Can I create a node list from some text entirely within lua?
Works like a charm! Thanks.
May
14
comment Styling every node without affecting coordinate styles
Is above really cumulative?
May
14
comment A list of pairs in pgfkeys
Take a look at tex.stackexchange.com/q/85637/86 The problem is that \xvalue isn't being expanded early enough.
May
13
comment Create custom node to draw this
Subpictures inside nodes are prone to problems. Search here for "nested tikzpicture"! An alternative would be to draw the inner nodes and then "fit" a larger node around them.