1,146 reputation
922
bio website
location
age
visits member for 4 years, 5 months
seen Jan 22 at 15:41

Jan
22
comment calculating coordinates of a path within a \newcommand
Use \coordinate (x,y); to save coordinates. Look at the pgfmanual, the section about coordinate calculations (13.5) and the section about pics (18). Try defining your own pic, then you'll be able to use it like so: \pic[rotate=90] at (-3.5,0) {lightfocus}; to have a vertical focused light path at your favourite coordinate.
Jan
13
comment TikZ 3.0---Multiple arguments for `pic`
It doesn't work if you do \tikzset{pics/giraffe/.style 2 args={code{.... It must be \tikzset{pics/giraffe/.style 2 args={code={..., with the =.
Jan
7
comment How do I add some “texture” to a tikz fill?
Maybe you could use $\pgfmathrnd$ (see the TikZ/PGF manual, section 90.2.6) to create random coordinates on which you draw the details of the papery pattern? At the end you can clip it with a path (which may be random as well).
Jan
7
comment Adding space to a center line
Do you mean TikZ decorations? Have a look at chapter 24 of the current TikZ/PGF documentation.
Jan
7
comment How do I add some “texture” to a tikz fill?
What have you tried so far?
Dec
15
comment 3d cube with a surface
Another thought... do you think it is worth doing this with TikZ? Have you considered a ray tracer like POV-Ray?
Dec
15
comment 3d cube with a surface
Instead of yslant and xslant, use the 3d coordinate system to specify coordinates like (1,2,3). A solid 3d sphere at (x,y,z) projected onto 2d is basically a filled circle at the same coordinate with the same radius, with some shading like (here)[texample.net/tikz/examples/spherical-and-cartesian-grids/]. And then you want to clip that circle in a clever way...
Dec
15
comment Trouble with directing lines between elements with tikz
@linuxfan, you're using below left of, did you mean just left of?
Dec
8
comment Strange behaviour involving nested TikZ pics an the to path
@PaulGaborit, but why does to without arguments not need to know? Because it just invokes --?
Dec
8
comment Strange behaviour involving nested TikZ pics an the to path
In my case, I can get away with giving the base pic an empty name: \pic () {brokenbase};.
Dec
8
asked Strange behaviour involving nested TikZ pics an the to path
Dec
8
comment How to draw the following GERT network node diagram using tikz
Also, going through the TikZ and PGF manual will answer a lot of your questions.
Dec
2
accepted Why does \ifnum not work inside of TikZ style definitions?
Dec
2
comment Why does \ifnum not work inside of TikZ style definitions?
Great, finally I have the feeling to understand how styles are being parsed!
Dec
2
asked Why does \ifnum not work inside of TikZ style definitions?
Dec
1
revised Tikz “none at all” style
added 467 characters in body
Dec
1
revised Tikz “none at all” style
added 150 characters in body
Dec
1
comment Tikz “none at all” style
@Percusse, right, but thankfully TikZ styles are sort of scoped. Also, I'm not really interested in not drawing the objects, but rather "drawing them invisibly".
Dec
1
asked Tikz “none at all” style
Dec
1
revised Is it possible to use beamer's overlay specifications in other documentclasses?
added 405 characters in body