Reputation
64,418
Next tag badge:
107/100 score
18/20 answers
Badges
3 116 226
Newest
 Nice Answer
Impact
~1.0m people reached

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?
Jul
17
comment TikZ: Make node height span several others
With outer sep=0pt you set the anchors in the middle of the line not on its border which may not preferable if you want to connect the nodes later. A solution that is not dependent on outer sep would be: \path let \p1=($(A.north)-(D.south)$) in node(Z)[right=of A.north east,anchor=north west, inner sep=0, minimum height=\y1-\pgflinewidth] {Z}; This, of course, could be hidden behind another key similar to fit.
Jul
17
awarded  Necromancer
Jul
17
comment Problem with tikz picture and polyglossia with XeTeX
I’ll get at least ! Package bidi Error: Oops! you have loaded package tikz after bidi package. Please load package tikz before bidi package, and then try to run xelatex on your document again. On that note, I don’t even get a section title without TikZ …
Jul
17
revised multi-part nodes/anchors in a resistor-like symbol which has been split horizontally
added 16442 characters in body
Jul
16
answered multi-part nodes/anchors in a resistor-like symbol which has been split horizontally
Jul
16
comment Error with $ when using math in TikZ figure
The comma in the second variable is actually used as a delimiter between the tupels, you need to write -/{$[-\alpha,\beta)$} or something along the lines. How TikZ distinguish the comma between \alpha and -\beta and the one between $ and -1? Then there is a ] missing in the \node[above before.