Reputation
64,703
Next tag badge:
107/100 score
18/20 answers
Badges
3 119 229
Newest
 Nice Answer
Impact
~1.1m people reached

Jul
22
answered Tikz clip shapes with another (built in) shape
Jul
22
comment Is there an advantage in using the pgf Basic Layer over tikz?
Related: Conversion of pgf code into TikZ code?
Jul
22
comment Is there a way to define starred variants for a keyvalue system?
No, simply title*/.initial= sets the value to an empty string. The .style itself implies one argument. Though, as I said, I’d check for empty values as egreg did but with pgfkeys, of course.
Jul
22
comment Is there a way to define starred variants for a keyvalue system?
The only difference between title and title* that I see is that the un-starred version includes a final \\. If you define title as a key that simply forwards its argument appended by \\ to title*. On the other hand, I would actually post-process the values so that the user doesn’t need to work so much; of course, this would involve some checking for empty values and is probably depending on how complex the input scenarios can get.
Jul
22
comment Is there a way to define starred variants for a keyvalue system?
You could define title/.style={title*={#1\\}}. By the way, is there a reason you use .code handlers that simply define a macro? You could just use an actual value-key (handler: .initial) and reduce the overhead.
Jul
22
revised McKinsey curve in pgfplots (creating continuous cost curves)
image
Jul
22
comment McKinsey curve in pgfplots (creating continuous cost curves)
Welcome to TeX.sx! As new user without image posting privileges simply include the image as normal and remove the ! in front of it to turn it into a link. A moderator or another user with edit privileges can then reinsert the ! to turn it into an image again.
Jul
21
revised how to draw a diagram that forks out, then joins in the middle then forks out again?
deleted 305 characters in body
Jul
21
answered how to draw a diagram that forks out, then joins in the middle then forks out again?
Jul
21
comment how to draw a diagram that forks out, then joins in the middle then forks out again?
That’s what I feared. Could you add images of one or two of the “trees” you want to draw? Depending on the complexity and the treeiness I can see solutions using tikz-qtree (or any tree-growing packages/libraries), chains, purely the positioning library and a little manual labor or maybe even a matrix/tikz-cd with manually drawn lines.
Jul
21
comment how to draw a diagram that forks out, then joins in the middle then forks out again?
I agree here with @SeanAllred, at least for the library part. Is this the only tree you want to draw? How much un-tree-y would your diagrams get? In this simple case (i.e. one tree down, one tree up where the last generation connects to one node) you could use the link tree style from my answer to How to reflect duplicating a tree horizontally?
Jul
21
comment Whitespace as wide as a character
\phantom also produces vertical white space (though, most times this will not matter). For only horizontal white space, use \hphantom, for vertical, \vphantom.
Jul
21
comment Node shapes in TikZ
I’ll retract my duplicate vote. The linked question seems like a duplicate but the original image is different, though Claudio’s answer is much more organized than the answers here. Shall we merge the answers anyway?
Jul
21
awarded  Revival
Jul
21
revised TikZ picture shapes
broken image url extracted from Google Image Cache (but in lower resolution), original link in question history
Jul
21
revised TikZ picture shapes
rolled back to a previous revision
Jul
21
revised TikZ picture shapes
updated image link
Jul
21
comment TikZ picture shapes
May I suggest a improvement of predefined process? Instead of the current append after command style, I’d use two lines that are dependent of inner xsep so that they never cross the text box. The factor 0.15 may give surprising results for different text widths.
Jul
20
revised Displaying genetic algorithms on data
edited tags
Jul
20
answered Displaying genetic algorithms on data