127 views

Drawing some simple orthogonal projections

I'm a beginner with TikZ and I'd like to show that a vector y can be decomposed as How can I tell TikZ to draw a dashed line orthogonal to yp onto X and a vector ε orthogonal to X, starting at the ...
48 views

Align arrows orthogonally to the line array

This code: \documentclass[tikz,border=1mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=4] \foreach \x in {1,...,10}{ \draw (-1+0.1*\x,1+0.1*\x) --...
281 views

Reflecting a line and/or point with named coordinates

This code does not work with named coordinates (such as the following code). How can I reflect the blue line over the red line by using coordinate names. And how do I reflect just a named coordinate? ...
235 views

How to add perpendicular symbol at desired location

I am trying to draw perpendicular symbol on point where the perpendicular line from O is meeting the line AB. But I am unable to achieve it. I try via simple draw because I use pgfplots (you can see ...
142 views

Help in Tikz and how to change bend position

My code follow: \documentclass{book} \usepackage{tikz}% \usetikzlibrary{decorations.text,calc,arrows.meta}% \usepackage{tikz-qtree}% \usepackage{adjustbox} %\usepackage{showframe} \begin{document} \...
2k views

TikZ - How can I draw a line through a point on a line, with the new line perpendicular to the old line?

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 ...
1k views

Can I enlarge lines in TikZ?

I'm currently creating lecture notes for "Geometry and Topology". As we now arrived at part about euclidean geometry, I quite often have the situation that I need to visualize lines (not line segments,...
4k views

Perpendicular line to two-points-line given the length

I have two points A and B, I call the line consisting of A and B as LAB:ax+by+c=0, I would like to draw a line segment starting from the point B perpendicular to LAB and with length len such that the ...
4k views

TikZ: how to find the intersection of two extended lines?

From How to draw a line passing through a point and perpendicular to another? I learned to use shorten to extend lines. But the extended part doesn't seem to "really exist". For example, I would like ...
5k views

How to draw orthogonal vectors using TikZ

I have the problem, that I want to draw a vector that is decomposed into two orthogonal parts. A short example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{...