I copied Tomasz M. Trzeciak's code from Elliptic Moebius map on sphere using Tikz to draw a shaded sphere with parallels and meridians. Only the sphere was drawn - no parallels or meridians. When I changed the \tikzset(#1/.estyle to \tikzset(#1/.style in the LongitudePlane and LatitudePlane macros the lines were correctly drawn. I am running the latest version of OS X 10.9.3 and have the full Mac Latex install with the latest updates (as far as I can tell).

  • 2
    what is your question? May 30, 2014 at 12:22
  • 1
    Welcome to TeX.SX! Besides elaborate more the question, could you also put a reference to Tomasz M. Trzeciak's code? May 30, 2014 at 12:33
  • This is introduced in TikZ v3.00 I think. I remember vaguely about a bug report.
    – percusse
    May 30, 2014 at 12:40
  • @percusse May be ticket #306? May 30, 2014 at 13:24
  • 1
    This problem was all about the way the /.prefix Key Handler works. On my latest Mac installation if you attempt to /.prefix a style to an existing /.estyle the expanded macro includes a /noexpand after the prefix so that the original key code is NEVER expanded! Chaos ensues as you would imagine! Simply creating another key for the prefix and then 'manually' inserting it with the prefixed style works perfectly!
    – adlibber
    Jun 11, 2014 at 17:55

1 Answer 1


I had the same problem with the Stereographic and cylindrical map projections example of Tomas M. Trzeciak only when I used pgf/tikz-Vers.3.0 and not the version 2.0.

In this case i replaced \tikzset(#1/.estyle with \tikzset(#1/.style and the 3d sphere was printed as expected.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .