# Andrew Stacey

less info
reputation
13182399
bio website math.ntnu.no/~stacey location Trondheim, Norway age 38 member for 3 years, 8 months seen 3 hours ago profile views 5,060

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.

 Apr13 comment Reuse tikz picture in another tikz picture Embedding pictures inside pictures is generally not a great idea in TikZ. Apr13 comment Reuse tikz picture in another tikz picture Are you using the latest version of TikZ (3.0)? If do, this has a new way of being done. Apr7 comment Floating point and fixed point arithmetic in LaTeX3: Where documented? Safe to use? What do you mean by that last parenthetical comment? I know that new stuff has been added to the fp library recently (inverse tan springs to mind). Apr7 comment What package allows Elvish in TeX? (Just read your profile ... welcome to the site and good luck with the projects.) Apr7 comment What package allows Elvish in TeX? Thanks for adding the details! Next time I want to get elvish script in one of my papers then I know what to do. I completely agree with the "something done for fun and beauty" - best of both worlds. Apr5 comment Commutative diagram using TeX Writer @egreg Ask and ye shall receive ... Apr5 comment Commutative diagram using TeX Writer @egreg Just tried it and it does work. Anything else I should try? Apr3 comment How to put arrows on boundary circles in the tqft package The boundary circles are nodes in their own right so you can use the angle anchors to avoid doing the calculations. Thus \node at (a incoming 1.90) {$\wedge$}; \node at (a outgoing 1.90) {$\vee$}; would put them at the right places. Apr2 comment Dashed lines only for covered boundaries with TQFT Are you using the latest version of TikZ (3.0), by the way? If so, I've rewritten the TQFT code to make use of the pic syntax that has now been introduced and with the rewrite I've added more styling options such as would fix this. It's ready for testing from bazaar.launchpad.net/~tex-sx/tex-sx/development/files (run tex on tqft-pic.dtx and look at tqft-pic_test.tex for examples) but I need to test it and rewrite the documentation before unleashing it on CTAN. Mar29 comment Dashed lines only for covered boundaries with TQFT There's a node shape tqft boundary circle which you can use rather than the cap. Your middle node would be \node[tqft boundary circle,draw] at (A.outgoing boundary 1) {};. The ability to style incoming and outgoing boundary components differently is on the TODO list for this package. Mar6 comment Tikz shortandoff-on newcommand problem @Tarass I recommend that you accept Claudio's answer. It's the better solution. Mar6 comment Tikz shortandoff-on newcommand problem @ClaudioFiandrino I was completely unaware of the existence of this library! (And it doesn't appear in the documentation as far as I can tell.) What it appears to do is to effectively issue \shorthandoff at the start of the tikzpicture and \shorthandon at the end, plus some extra for handling nodes. That's neat. I recommend you post that as a solution. Mar6 comment Tikz shortandoff-on newcommand problem @ClaudioFiandrino Not sure I get what you're suggesting there. The problem isn't (I think) with the order of loading. babel doesn't do its catcode changes until the \begin{document} is issued, so any commands defined beforehand are in the old catcode regime not the new one. Mar6 comment Tikz shortandoff-on newcommand problem @percusse \show\pgfversion reports 3.0.0 on my system and I saw the problem with the original code. So whilst TikZ v3.00 probably is better than previous versions, it doesn't appear to have a complete solution. Not that I think it should: a complete solution would be to test for every catcode variant of the given character each time which would be far too expensive. Mar1 comment How to make a portion of curve red using TikZ? @user1942348 Done. Feb27 comment 3D font in LaTeX See also tex.stackexchange.com/q/85050/86 Feb26 comment Path and node problem See also tex.stackexchange.com/q/4057/86 Feb22 comment How to combine Hobby paths with PGF Basic Layer commands? Looking at the PGF code, I found where it stores the last coordinate on the path. I've just updated the code at launchpad to use that. So that should obviate the need to tell it the initial point. Please test! And if you have other ideas for the basic layer interface, let me know. Feb22 comment How to combine Hobby paths with PGF Basic Layer commands? Actually, all you need to do is \pgfpoint{1cm}{1cm}. Feb22 comment How to combine Hobby paths with PGF Basic Layer commands? Yes, that's probably the best. How about an option to override the current method. So if nothing is specified then it uses the last \pgf@x and \pgf@y.