Making a right-angle mark using the `calc` package in `TikZ` Announcing the arrival of Valued...

TV series episode where humans nuke aliens before decrypting their message that states they come in peace

In search of the origins of term censor, I hit a dead end stuck with the greek term, to censor, λογοκρίνω

Has a Nobel Peace laureate ever been accused of war crimes?

Israeli soda type drink

Raising a bilingual kid. When should we introduce the majority language?

When I export an AI 300x60 art board it saves with bigger dimensions

Why does Java have support for time zone offsets with seconds precision?

Show two Lagrangians are equivalent

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

How was Lagrange appointed professor of mathematics so early?

Determinant of a matrix with 2 equal rows

Protagonist's race is hidden - should I reveal it?

What *exactly* is electrical current, voltage, and resistance?

Could a cockatrice have parasitic embryos?

Simulate round-robin tournament draw

What happened to Viserion in Season 7?

Processing ADC conversion result: DMA vs Processor Registers

Are there existing rules/lore for MTG planeswalkers?

What does the black goddess statue do and what is it?

Is a self contained air-bullet cartridge feasible?

Why is arima in R one time step off?

Like totally amazing interchangeable sister outfit accessory swapping or whatever

Variable does not exist: sObjectType (Task.sObjectType)

Coin Game with infinite paradox



Making a right-angle mark using the `calc` package in `TikZ`



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Numerical conditional within tikz keys?Labeling sides and angles of a right triangle for an argument of the Pythagorean TheoremDrawing and labeling a triangle for a demonstration for the Law of CosinesTangent to circle given point on circleA drawing of a right triangle is not displayed properlyTikZ: Drawing an arc from an intersection to an intersectionShading inside a triangle when the coordinates of one vertex are calculated by TikZA right angle not drawnLine up nested tikz enviroments or how to get rid of themRight-angle mark not drawn correctly












1















I have a right triangle and the altitude from the vertex of its right angle drawn. A=(-4,0), B=(0,3), and C=(0,0) are the vertices of the triangle, and F=(-36/25,48/25) is the foot of the altitude on the hypotenuse AB. I use the following commands to draw a right-angle mark.



coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


Why doesn't it look like three sides of a square with edge length 3mm?



documentclass{amsart}
usepackage{amsmath}

usepackage{tikz}
usetikzlibrary{calc,intersections}


begin{document}

begin{tikzpicture}

coordinate (circle_1) at (-8/5, 4/5);
draw[blue, fill=blue=25!] (circle_1) circle (4/5);

coordinate (circle_1) at (-3/5, 9/5);
draw[orange, fill=orange=25!] (circle_1) circle (3/5);


path (-4,0) coordinate (A) (0,3) coordinate (B) (0,0) coordinate (C);
coordinate (F) at (-36/25,48/25);
draw (A) -- (B) -- (C) -- cycle;
draw (F) -- (C);



%A right-angle mark is drawn at F.
coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


%A right-angle mark is drawn at C.
coordinate (U) at ($(C)!3mm!-45:(A)$);
draw ($(A)!(U)!(C)$) -- (U) -- ($(B)!(U)!(C)$);


end{tikzpicture}


end{document}









share|improve this question























  • Nice figure! I may use it to accompany a problem on a test in Geometry.

    – user74973
    5 mins ago
















1















I have a right triangle and the altitude from the vertex of its right angle drawn. A=(-4,0), B=(0,3), and C=(0,0) are the vertices of the triangle, and F=(-36/25,48/25) is the foot of the altitude on the hypotenuse AB. I use the following commands to draw a right-angle mark.



coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


Why doesn't it look like three sides of a square with edge length 3mm?



documentclass{amsart}
usepackage{amsmath}

usepackage{tikz}
usetikzlibrary{calc,intersections}


begin{document}

begin{tikzpicture}

coordinate (circle_1) at (-8/5, 4/5);
draw[blue, fill=blue=25!] (circle_1) circle (4/5);

coordinate (circle_1) at (-3/5, 9/5);
draw[orange, fill=orange=25!] (circle_1) circle (3/5);


path (-4,0) coordinate (A) (0,3) coordinate (B) (0,0) coordinate (C);
coordinate (F) at (-36/25,48/25);
draw (A) -- (B) -- (C) -- cycle;
draw (F) -- (C);



%A right-angle mark is drawn at F.
coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


%A right-angle mark is drawn at C.
coordinate (U) at ($(C)!3mm!-45:(A)$);
draw ($(A)!(U)!(C)$) -- (U) -- ($(B)!(U)!(C)$);


end{tikzpicture}


end{document}









share|improve this question























  • Nice figure! I may use it to accompany a problem on a test in Geometry.

    – user74973
    5 mins ago














1












1








1


2






I have a right triangle and the altitude from the vertex of its right angle drawn. A=(-4,0), B=(0,3), and C=(0,0) are the vertices of the triangle, and F=(-36/25,48/25) is the foot of the altitude on the hypotenuse AB. I use the following commands to draw a right-angle mark.



coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


Why doesn't it look like three sides of a square with edge length 3mm?



documentclass{amsart}
usepackage{amsmath}

usepackage{tikz}
usetikzlibrary{calc,intersections}


begin{document}

begin{tikzpicture}

coordinate (circle_1) at (-8/5, 4/5);
draw[blue, fill=blue=25!] (circle_1) circle (4/5);

coordinate (circle_1) at (-3/5, 9/5);
draw[orange, fill=orange=25!] (circle_1) circle (3/5);


path (-4,0) coordinate (A) (0,3) coordinate (B) (0,0) coordinate (C);
coordinate (F) at (-36/25,48/25);
draw (A) -- (B) -- (C) -- cycle;
draw (F) -- (C);



%A right-angle mark is drawn at F.
coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


%A right-angle mark is drawn at C.
coordinate (U) at ($(C)!3mm!-45:(A)$);
draw ($(A)!(U)!(C)$) -- (U) -- ($(B)!(U)!(C)$);


end{tikzpicture}


end{document}









share|improve this question














I have a right triangle and the altitude from the vertex of its right angle drawn. A=(-4,0), B=(0,3), and C=(0,0) are the vertices of the triangle, and F=(-36/25,48/25) is the foot of the altitude on the hypotenuse AB. I use the following commands to draw a right-angle mark.



coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


Why doesn't it look like three sides of a square with edge length 3mm?



documentclass{amsart}
usepackage{amsmath}

usepackage{tikz}
usetikzlibrary{calc,intersections}


begin{document}

begin{tikzpicture}

coordinate (circle_1) at (-8/5, 4/5);
draw[blue, fill=blue=25!] (circle_1) circle (4/5);

coordinate (circle_1) at (-3/5, 9/5);
draw[orange, fill=orange=25!] (circle_1) circle (3/5);


path (-4,0) coordinate (A) (0,3) coordinate (B) (0,0) coordinate (C);
coordinate (F) at (-36/25,48/25);
draw (A) -- (B) -- (C) -- cycle;
draw (F) -- (C);



%A right-angle mark is drawn at F.
coordinate (U) at ($(F)!3mm!45:(A)$);
draw ($(A)!(U)!(F)$) -- (U) -- ($(C)!(U)!(F)$);


%A right-angle mark is drawn at C.
coordinate (U) at ($(C)!3mm!-45:(A)$);
draw ($(A)!(U)!(C)$) -- (U) -- ($(B)!(U)!(C)$);


end{tikzpicture}


end{document}






tikz-pgf






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 11 mins ago









A gal named DesireA gal named Desire

6931411




6931411













  • Nice figure! I may use it to accompany a problem on a test in Geometry.

    – user74973
    5 mins ago



















  • Nice figure! I may use it to accompany a problem on a test in Geometry.

    – user74973
    5 mins ago

















Nice figure! I may use it to accompany a problem on a test in Geometry.

– user74973
5 mins ago





Nice figure! I may use it to accompany a problem on a test in Geometry.

– user74973
5 mins ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486270%2fmaking-a-right-angle-mark-using-the-calc-package-in-tikz%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486270%2fmaking-a-right-angle-mark-using-the-calc-package-in-tikz%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

(1602) Indiana Índice Designación y nombre Características orbitales Véase...

Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...