I have a line A-B between the two points A and B and a point X on A-B.
Now I'd like to draw a line through X which then is perpendicular to the line A-B. How can I do this?
Also:
No other (directly related) points around the line are given, I only have X which is the product of the usage of \path and creating two intersecting paths. Hence I say I can't use code in replies to other related questions (shown on the right), at least I do not see how.
Picture

MWE
\documentclass{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{
tikz,
xspace
}
\usetikzlibrary{
intersections,
calc
}
\begin{document}
\begin{tikzpicture}[font=\small]
\draw
(0,0) coordinate (A)
(1,1.435) coordinate (B)
(3,3) coordinate (C)
;
\draw[thick] (A) rectangle (C);
\draw[thick] (A)--(B) node[pos=0.6] (x) {x};
\end{tikzpicture}
\end{document}




tkz-euclideone should work. Also, the fact that the point is on the line opens the door for different solutions, so if the current question is closed as duplicate, it may be worth adding an answer for this particular case to the linked question. – T. Verron Sep 12 '14 at 12:50Pnot on the line who should just be connected perpendicularly to the line. – henry Sep 12 '14 at 14:14X(theirP) is on the line. I'm not sure that all solutions in the other question apply here (not without some tweak at least), but some of them (for example thetkz-euclideone) have a fairly good chance of working in your situation. Also, "Related" links (afaik) are only about hinting future readers of the question towards similar problem (by filling the "Linked" section in the right column), so unless there is really nothing in common between the questions, I see no reason for being shy in posting them. – T. Verron Sep 12 '14 at 14:29