Reputation
321
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 10
Newest
 Curious
Impact
~5k people reached

  • 0 posts edited
  • 1 helpful flag
  • 89 votes cast
Jul
15
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
@cfr: Right. I had the hope that the calc library would also do the job, since there are some nice commands which feel quite close.
Jul
15
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
@cfr: I've added an attept for an explanation the question.
Jul
15
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
I got many answers and I'm figuring which one I should accept. Your update comes quite close to what I was hoping for. However, at the moment the constructed coordinate has the name (intersection-1) and not (C). I have to confess that I don't understand the let ... parts of your code. Would you mind explaining a little bit what's going on there? And could you rename the coordinate into (C)? Thank you!
Jul
14
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
Thank you for this answer. According to en.wikipedia.org/wiki/Geometric_mean_theorem the name is right triangle altitude theorem or geometric mean theorem. Actually, this is the kind of solution which I wanted to exclude by "without doing any coordinate calculations by hand".
Jul
13
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
Wow, thanks. I tried it, and it works. However, I have no idea what the line \draw (A) let \p1... does. Would you mind explaining that line a little bit?
Jul
13
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
Thank you! Yes, the manual clipping isn't that great. Would it be possible to restrict the circle to the upper half circle? After that (and with the px path short enough), the automatic clipping should be fine I guess.
Jul
13
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
@Sigur: I've played around a bit with the intersection, but it felt cumbersome and the (invisible) helper paths unnecessarily increased the borders of my tikzpicture. I hope for a solution using coordinate computations only (maybe by introducing an auxiliary point like the center of the circle).
Jul
13
comment TikZ: Draw rectangular triangle by raising a perpendicular on the hypotenuse
@cfr: I don't think so: Note that X is not the center of the circle. It's just some arbitary point on the line segment AB.
Apr
19
comment Switch between different output versions compiled from the same LaTeX source
@anderstood: I have in my file the lines \usepackage{ifthen} and \newboolean{var}. If I compile this with 'pdflatex \def\var{yes}\input' (or pdflatex '\def\var{true}\input', then var seems still to be set to false.
Apr
19
comment Switch between different output versions compiled from the same LaTeX source
@cfr: It's not about a draft version. I would like to control from the command line to include certain parts of the document or not.
Apr
19
comment Switch between different output versions compiled from the same LaTeX source
@DavidCarlisle: Thank you, that is easier than I thought. I'm declaring my variable internally via \newboolean{variable}, which needs the package ifthen. Is is also possible to assign such a variable a value from the command line?
Apr
10
comment Adding two labels to an edge in TikZ, close to the endpoints
@Qrrbrbirlbel: Thanks! Now I know how to create two labels with near start and near end. Where exactly should I use the font keyword?
Apr
10
comment Adding two labels to an edge in TikZ, close to the endpoints
Thanks. Just playing with the remarks in Qrrbrbirlbel's comment, I figured that I can add two nodes to the same \draw command. However, I'm still not sure where to put the font keyword.
Apr
10
comment Adding two labels to an edge in TikZ, close to the endpoints
@Jake: I've added an example. Is this ok?
Mar
15
comment Dice symbols for digits up to 9
@MatthewLeingang: I am using LaTeX (pdflatex) a lot, but I have to admit that I don't have much of an idea what is going on under the hood (concerning characters, fonts, etc). What do you think is the preferable way? Adjusting ifsym, adjusting epsdice or using TikZ?
Mar
15
comment Dice symbols for digits up to 9
@zeroth: ok...May I say thank you now? :)