I know this question has been asked before, but for me, something is missing in the answers. I think I might have it figured out though. So the parallax is usually explained with an illustration similar to this:
The parallax angle is the angle $p$. My question is, how do we get $p$? From the previous answers, I understand that the angle is calculated from the distance between the positions A and B. That distance corresponds to an angle, depending on the focal length of the telescope. But the telescope is placed on the earth, not on the near star, so what we get is the angle $r$ in this illustration:
But because the distance from the near star to the far stars is way bigger that the distance from the earth to the near star (and also way bigger than the distance from the sun to the earth of course), the angle $r$ is actually equal to $q$. So $$p=\frac{q}{2}=\frac{r}{2}$$ Is this how it works?