Linked Questions

3 votes
2 answers
740 views

Rotating rectangle node in tikz without getting the right angle [duplicate]

I'm new to tikz and I am trying to make a perpendicular angle mark on a triangle by \path[clip](C)--($(B)!(A)!(C)$)--(A); and \node[draw=black, rectangle,inner sep=0pt, outer sep=0pt, minimum size=...
user avatar
66 votes
4 answers
33k views

How to draw a line passing through a point and perpendicular to another?

I'm having a bit of a headache right now as I can't draw this basic figure: A straight line goes through points A and B. Another line is perpendicular to AB and goes through an arbitrary point P. I ...
user avatar
25 votes
5 answers
5k views

Drawing of triangle and coordinate system using TikZ

I am using TikZ for the first time, and I am experiencing some difficulty getting what exactly I want it to display. I am trying to draw the following picture: Here is the code (I know it is not that ...
user avatar
  • 1,045
16 votes
6 answers
4k views

How do I draw a little red square to label my right triangle?

The sample code: \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw ( 0 , 0 ) coordinate (A) -- ( 4 , 0 ) coordinate (C) -- ( 0 , 3 ) coordinate (B) -...
user avatar
14 votes
3 answers
2k views

Difference between -| and |- in TikZ

Based on this tutorial, I understand symbols -| and |- are used to draw perpendicular lines. But I wish to understand the difference between the two. There are the following related questions: ...
user avatar
  • 9,253
15 votes
4 answers
6k views

Mark 90 degree angle in tikz in german convention

What's the best way to denote a 90 degree angle with german convention like on the following picture in tikz: Suppose I start with something like this: \documentclass{article} \usepackage{tikz} \...
user avatar
  • 27.8k
10 votes
3 answers
1k views

indicate a right angle in 3d

The following MWE shows what appears to be a piece of paper folded. I want to indicate that the angle between the dashed lines is right angled by adding a simple square at M, such that the missing ...
user avatar
  • 2,545
12 votes
3 answers
799 views

Marking right angles (structuralanalysis)

I'm trying to draw this picture: Until now, I have this, with the help of structuralanalysis package: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows} \usetikzlibrary{calc} \...
user avatar
7 votes
1 answer
11k views

Adjust position of node label

In the MWE below, how can I get to adjust the position of the node labels? Note that the nodes are defined by dot/.style={circle,inner sep=1pt,fill,label={#1},name=#1} but I cannot figure out how to ...
user avatar
  • 27.7k
5 votes
2 answers
3k views

How to align a right angle

As you you can see in the following image, a right angle has some space to side BC. How can I fix it and is there any better way to add an right angle? \documentclass{article} \usepackage{tikz} \...
user avatar
  • 621
5 votes
1 answer
2k views

Right Angle Symbol Alignment with TikZ/Calc

I used a solution from @Jake from this post Insertion of Perpendicular Symbol at Intersection of Two Lines, but the alignment is not quite right. I have my suspicions why, but I don't understand the ...
user avatar
  • 1,063
2 votes
2 answers
693 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 ...
user avatar
7 votes
1 answer
426 views

How filling angle symbol?

In the thread Insertion of perpendicular symbol at intersection of two perpendicular lines, Jake proposed a very useful command to mark a right angle. I tried to color the symbol, but I get only half ...
user avatar
  • 3,482
1 vote
0 answers
74 views

Updating from Mint19 to Mint20 breaks tkz-euclide

I just upgraded from Mint19 to 20. A tex file (20 000 lines) was compiling without error in Mint19. Now I get either 1 or more than 100 errors! The following minimal example shows the dilemma: \...
user avatar
  • 834