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

Jul
17
answered multi-part numbers and units in siunitx
Jul
17
answered how to draw nodes with same size
Jul
17
comment how to draw nodes with same size
Clarification: You want the bigger nodes to have the same radius as the smaller ones? Is r1 actually given or do you want to get that from the small nodes?
Jul
17
comment Fill of a thermometer
@azetina Have you seen my other answer with the keys and the insert path style? That consists only of the lower arc (angle initially 270), a line upwards (of length height), the upper arc (angle initially 180, from the looks of it, this is not the same as in your example) and a -- cycle, i.e. a line downwards. Both solutions being based on path picture won’t work if you rotate something (the path picture bounding box is always in the canvas plane).
Jul
17
comment Fill of a thermometer
@azetina It does for values above 100 °C, e.g. \path (C0) -- (C100) coordinate[pos=1.1] (@aux);. Or what do you mean? I fear I can’t follow you completely. If fills as smooth as it does for the lower arc of the thermometer …
Jul
17
comment TikZ: Make node height span several others
Well, it is more a math vs CSS thing (which is probably derived from the usual reading direction of humans (downwards) while up more feels like s height thing which mostly increases if you go up). A minor correction (to my comment and now your answer): You actually need to subtract 2*(\pgfkeysvalueof{/pgf/outer ysep}) (which defaults to 2* .5\pgflinewidth).
Jul
17
revised How can I draw tikz arrows on a calculated triangle?
edited body
Jul
17
revised How can I draw tikz arrows on a calculated triangle?
added 1093 characters in body
Jul
17
comment How can I draw tikz arrows on a calculated triangle?
@LaRiFaRi I’ve updated my answer to include the rotation and the \vec. Due the use of styles I only needed to change things in two placed. Given that u is always vertical (and hasn’t a given length) it is even easier (and fully defined of course).
Jul
17
revised How can I draw tikz arrows on a calculated triangle?
little changes
Jul
17
revised How can I draw tikz arrows on a calculated triangle?
added 3617 characters in body
Jul
17
comment TikZ: Make node height span several others
I should have read the question, I guess. ;) In your question, you end up with a negative minimum height. You need either abs() or switch the subtraction.
Jul
17
comment How can I draw tikz arrows on a calculated triangle?
@LaRiFaRi I believe there is still a variable left as α and β are relative to the paper plane. In both cases there are two possible triangles: The vector u has two solutions, the one that your images show and another one (think about a circle around the point where w and u meet with the length of u, this circle intersects c twice).
Jul
17
comment How can I draw tikz arrows on a calculated triangle?
@LaRiFaRi Yes, it is clear now but it also renders my answer useless as its takes the definition of the angles differently but it can surely be made in the same manner. The only difference between the left and the right triangle is simply the order of (vector) addition?
Jul
17
revised How can I draw tikz arrows on a calculated triangle?
added 1065 characters in body
Jul
17
comment How can I draw tikz arrows on a calculated triangle?
You don’t need the on background layer scope if you remove the -- from the path and add the options shorten >=.5\pgflinewidth, shorten <=.5\pgflinewidth (given that angle arrow and the vector arrows have the same line width) and the angle arrow would only touch the red vector line.
Jul
17
comment Using tikzlibrary spy without magnifying line width and/or mark size
@joaocandre Have you changed anything at the example from my answer? The given solution is not very flexible, you will need to change values at a view places to get correct results. But if you didn’t change anything, it should work. Are you using an up-to-date distribution and up-to-date packages?
Jul
17
answered How can I draw tikz arrows on a calculated triangle?
Jul
17
comment How can I draw tikz arrows on a calculated triangle?
@LaRiFaRi I am still not sure I fully understand the relation between the lengths and the angles. What are—definition-wise—the differences between the left and the right triangle? Could you give an example of values that should (kind of) produce this pictures. Where is β?
Jul
17
comment How can I draw tikz arrows on a calculated triangle?
Isn’t there at least one variable missing? Another angle or another length? How are the vectors in the paper plane related to the triangles? (If at all, drawing is the easiest part here.) Could you also add your idea on the input syntax or an example of given values/variables?