A `coordinate` command ignored Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeConnecting an arced path in TikZTikZ/ERD: node (=Entity) label on the insideHow to draw points in TikZ?TikZ: Drawing an arc from an intersection to an intersectionRelative transparency in TikZ?Line up nested tikz enviroments or how to get rid of themRectanglar cloud shaped node in TikZCorrect linejoins at tikz to path II

Why are vacuum tubes still used in amateur radios?

Why is a lens darker than other ones when applying the same settings?

Trying to understand entropy as a novice in thermodynamics

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

One-one communication

Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?

I can't produce songs

What does Turing mean by this statement?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Positioning dot before text in math mode

How to write capital alpha?

Co-worker has annoying ringtone

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

"klopfte jemand" or "jemand klopfte"?

GDP with Intermediate Production

Would color changing eyes affect vision?

NERDTreeMenu Remapping

How can a team of shapeshifters communicate?

How to ternary Plot3D a function

Why is std::move not [[nodiscard]] in C++20?

Can an iPhone 7 be made to function as a NFC Tag?

Tannaka duality for semisimple groups

Test print coming out spongy



A `coordinate` command ignored



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeConnecting an arced path in TikZTikZ/ERD: node (=Entity) label on the insideHow to draw points in TikZ?TikZ: Drawing an arc from an intersection to an intersectionRelative transparency in TikZ?Line up nested tikz enviroments or how to get rid of themRectanglar cloud shaped node in TikZCorrect linejoins at tikz to path II










2















$triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at



O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1))


and its radius is 12(sqrt(3) - 1). Leg AC is the shorter leg. The equation of the line through it is y = sqrt(3)*x. The line perpendicular to AC has slope -sqrt(3)/3, and the line through O with slope -sqrt(3)/3 is



y = (-sqrt(3)/3)*(x - 2*(sqrt(3))*(sqrt(3)-1)) + 2*(sqrt(3)-1) .


The two lines intersect on leg AC at



Q = (8*sqrt(3)*(sqrt(3)-1), 24*(sqrt(3)-1)) .


So, the command draw (O) -- (Q); should draw a radius of the circle to leg AC. On my computer, the command renders a line segment through the other leg and ridiculously long. It seems to me that the command locating point Q has been ignored.



documentclassamsart
usepackageamsmath



usepackagetikz
usetikzlibrarycalc,intersections


begindocument

noindent hspace*fill
begintikzpicture

path (0,0) coordinate (A) (8,0) coordinate (B) (2,2*sqrt(3)) coordinate (C);
node[anchor=north, inner sep=0, font=footnotesize] at (0,-0.15)textitA;
node[anchor=north, inner sep=0, font=footnotesize] at ($(B) +(0,-0.15)$)textitB;
node[anchor=south, inner sep=0, font=footnotesize] at ($(C) +(0,0.15)$)textitC;
draw (A) -- (B) -- (C) -- cycle;
path let n1=2*(sqrt(3))*(sqrt(3)-1), n2=2*(sqrt(3)-1) in coordinate (O) at (n1,n2);
draw[fill] (O) circle (1.5pt);
draw[blue] let n1=2*(sqrt(3)-1) in (O) circle (n1);


path let n1=2*(sqrt(3))*(sqrt(3)-1) in coordinate (P) at (n1,0);
node[anchor=north, inner sep=0, font=footnotesize] at ($(P) +(0,-0.15)$)textitP;
draw (O) -- (P);
path let n1=8*sqrt(3)*(sqrt(3)-1), n2=24*(sqrt(3)-1) in coordinate (Q) at (n1,n2);
draw[fill=green] (Q) circle (1.5pt);
draw[green] (O) -- (Q);


endtikzpicture

enddocument









share|improve this question
























  • @marmot Why didn't I have to include *1pt in the commands locating O and P?

    – A gal named Desire
    3 hours ago











  • This was just a guess, and it was wrong. However, you ask TikZ to do path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); which is equivalent to path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); (meaning you do not need calc for that, and this is where TikZ places the point.

    – marmot
    2 hours ago











  • I want to manually locate Q. You may not believe that the coordinates I give render OQ perpendicular to leg AC, but you should know that it will be a point on leg AC.

    – A gal named Desire
    2 hours ago












  • TikZ is not putting Q on leg AC, though.

    – A gal named Desire
    2 hours ago






  • 2





    I multiplied both coordinates of Q by 8 errantly.

    – A gal named Desire
    1 hour ago















2















$triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at



O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1))


and its radius is 12(sqrt(3) - 1). Leg AC is the shorter leg. The equation of the line through it is y = sqrt(3)*x. The line perpendicular to AC has slope -sqrt(3)/3, and the line through O with slope -sqrt(3)/3 is



y = (-sqrt(3)/3)*(x - 2*(sqrt(3))*(sqrt(3)-1)) + 2*(sqrt(3)-1) .


The two lines intersect on leg AC at



Q = (8*sqrt(3)*(sqrt(3)-1), 24*(sqrt(3)-1)) .


So, the command draw (O) -- (Q); should draw a radius of the circle to leg AC. On my computer, the command renders a line segment through the other leg and ridiculously long. It seems to me that the command locating point Q has been ignored.



documentclassamsart
usepackageamsmath



usepackagetikz
usetikzlibrarycalc,intersections


begindocument

noindent hspace*fill
begintikzpicture

path (0,0) coordinate (A) (8,0) coordinate (B) (2,2*sqrt(3)) coordinate (C);
node[anchor=north, inner sep=0, font=footnotesize] at (0,-0.15)textitA;
node[anchor=north, inner sep=0, font=footnotesize] at ($(B) +(0,-0.15)$)textitB;
node[anchor=south, inner sep=0, font=footnotesize] at ($(C) +(0,0.15)$)textitC;
draw (A) -- (B) -- (C) -- cycle;
path let n1=2*(sqrt(3))*(sqrt(3)-1), n2=2*(sqrt(3)-1) in coordinate (O) at (n1,n2);
draw[fill] (O) circle (1.5pt);
draw[blue] let n1=2*(sqrt(3)-1) in (O) circle (n1);


path let n1=2*(sqrt(3))*(sqrt(3)-1) in coordinate (P) at (n1,0);
node[anchor=north, inner sep=0, font=footnotesize] at ($(P) +(0,-0.15)$)textitP;
draw (O) -- (P);
path let n1=8*sqrt(3)*(sqrt(3)-1), n2=24*(sqrt(3)-1) in coordinate (Q) at (n1,n2);
draw[fill=green] (Q) circle (1.5pt);
draw[green] (O) -- (Q);


endtikzpicture

enddocument









share|improve this question
























  • @marmot Why didn't I have to include *1pt in the commands locating O and P?

    – A gal named Desire
    3 hours ago











  • This was just a guess, and it was wrong. However, you ask TikZ to do path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); which is equivalent to path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); (meaning you do not need calc for that, and this is where TikZ places the point.

    – marmot
    2 hours ago











  • I want to manually locate Q. You may not believe that the coordinates I give render OQ perpendicular to leg AC, but you should know that it will be a point on leg AC.

    – A gal named Desire
    2 hours ago












  • TikZ is not putting Q on leg AC, though.

    – A gal named Desire
    2 hours ago






  • 2





    I multiplied both coordinates of Q by 8 errantly.

    – A gal named Desire
    1 hour ago













2












2








2


2






$triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at



O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1))


and its radius is 12(sqrt(3) - 1). Leg AC is the shorter leg. The equation of the line through it is y = sqrt(3)*x. The line perpendicular to AC has slope -sqrt(3)/3, and the line through O with slope -sqrt(3)/3 is



y = (-sqrt(3)/3)*(x - 2*(sqrt(3))*(sqrt(3)-1)) + 2*(sqrt(3)-1) .


The two lines intersect on leg AC at



Q = (8*sqrt(3)*(sqrt(3)-1), 24*(sqrt(3)-1)) .


So, the command draw (O) -- (Q); should draw a radius of the circle to leg AC. On my computer, the command renders a line segment through the other leg and ridiculously long. It seems to me that the command locating point Q has been ignored.



documentclassamsart
usepackageamsmath



usepackagetikz
usetikzlibrarycalc,intersections


begindocument

noindent hspace*fill
begintikzpicture

path (0,0) coordinate (A) (8,0) coordinate (B) (2,2*sqrt(3)) coordinate (C);
node[anchor=north, inner sep=0, font=footnotesize] at (0,-0.15)textitA;
node[anchor=north, inner sep=0, font=footnotesize] at ($(B) +(0,-0.15)$)textitB;
node[anchor=south, inner sep=0, font=footnotesize] at ($(C) +(0,0.15)$)textitC;
draw (A) -- (B) -- (C) -- cycle;
path let n1=2*(sqrt(3))*(sqrt(3)-1), n2=2*(sqrt(3)-1) in coordinate (O) at (n1,n2);
draw[fill] (O) circle (1.5pt);
draw[blue] let n1=2*(sqrt(3)-1) in (O) circle (n1);


path let n1=2*(sqrt(3))*(sqrt(3)-1) in coordinate (P) at (n1,0);
node[anchor=north, inner sep=0, font=footnotesize] at ($(P) +(0,-0.15)$)textitP;
draw (O) -- (P);
path let n1=8*sqrt(3)*(sqrt(3)-1), n2=24*(sqrt(3)-1) in coordinate (Q) at (n1,n2);
draw[fill=green] (Q) circle (1.5pt);
draw[green] (O) -- (Q);


endtikzpicture

enddocument









share|improve this question
















$triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at



O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1))


and its radius is 12(sqrt(3) - 1). Leg AC is the shorter leg. The equation of the line through it is y = sqrt(3)*x. The line perpendicular to AC has slope -sqrt(3)/3, and the line through O with slope -sqrt(3)/3 is



y = (-sqrt(3)/3)*(x - 2*(sqrt(3))*(sqrt(3)-1)) + 2*(sqrt(3)-1) .


The two lines intersect on leg AC at



Q = (8*sqrt(3)*(sqrt(3)-1), 24*(sqrt(3)-1)) .


So, the command draw (O) -- (Q); should draw a radius of the circle to leg AC. On my computer, the command renders a line segment through the other leg and ridiculously long. It seems to me that the command locating point Q has been ignored.



documentclassamsart
usepackageamsmath



usepackagetikz
usetikzlibrarycalc,intersections


begindocument

noindent hspace*fill
begintikzpicture

path (0,0) coordinate (A) (8,0) coordinate (B) (2,2*sqrt(3)) coordinate (C);
node[anchor=north, inner sep=0, font=footnotesize] at (0,-0.15)textitA;
node[anchor=north, inner sep=0, font=footnotesize] at ($(B) +(0,-0.15)$)textitB;
node[anchor=south, inner sep=0, font=footnotesize] at ($(C) +(0,0.15)$)textitC;
draw (A) -- (B) -- (C) -- cycle;
path let n1=2*(sqrt(3))*(sqrt(3)-1), n2=2*(sqrt(3)-1) in coordinate (O) at (n1,n2);
draw[fill] (O) circle (1.5pt);
draw[blue] let n1=2*(sqrt(3)-1) in (O) circle (n1);


path let n1=2*(sqrt(3))*(sqrt(3)-1) in coordinate (P) at (n1,0);
node[anchor=north, inner sep=0, font=footnotesize] at ($(P) +(0,-0.15)$)textitP;
draw (O) -- (P);
path let n1=8*sqrt(3)*(sqrt(3)-1), n2=24*(sqrt(3)-1) in coordinate (Q) at (n1,n2);
draw[fill=green] (Q) circle (1.5pt);
draw[green] (O) -- (Q);


endtikzpicture

enddocument






tikz-pgf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago







A gal named Desire

















asked 3 hours ago









A gal named DesireA gal named Desire

6831411




6831411












  • @marmot Why didn't I have to include *1pt in the commands locating O and P?

    – A gal named Desire
    3 hours ago











  • This was just a guess, and it was wrong. However, you ask TikZ to do path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); which is equivalent to path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); (meaning you do not need calc for that, and this is where TikZ places the point.

    – marmot
    2 hours ago











  • I want to manually locate Q. You may not believe that the coordinates I give render OQ perpendicular to leg AC, but you should know that it will be a point on leg AC.

    – A gal named Desire
    2 hours ago












  • TikZ is not putting Q on leg AC, though.

    – A gal named Desire
    2 hours ago






  • 2





    I multiplied both coordinates of Q by 8 errantly.

    – A gal named Desire
    1 hour ago

















  • @marmot Why didn't I have to include *1pt in the commands locating O and P?

    – A gal named Desire
    3 hours ago











  • This was just a guess, and it was wrong. However, you ask TikZ to do path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); which is equivalent to path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); (meaning you do not need calc for that, and this is where TikZ places the point.

    – marmot
    2 hours ago











  • I want to manually locate Q. You may not believe that the coordinates I give render OQ perpendicular to leg AC, but you should know that it will be a point on leg AC.

    – A gal named Desire
    2 hours ago












  • TikZ is not putting Q on leg AC, though.

    – A gal named Desire
    2 hours ago






  • 2





    I multiplied both coordinates of Q by 8 errantly.

    – A gal named Desire
    1 hour ago
















@marmot Why didn't I have to include *1pt in the commands locating O and P?

– A gal named Desire
3 hours ago





@marmot Why didn't I have to include *1pt in the commands locating O and P?

– A gal named Desire
3 hours ago













This was just a guess, and it was wrong. However, you ask TikZ to do path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); which is equivalent to path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); (meaning you do not need calc for that, and this is where TikZ places the point.

– marmot
2 hours ago





This was just a guess, and it was wrong. However, you ask TikZ to do path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); which is equivalent to path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); (meaning you do not need calc for that, and this is where TikZ places the point.

– marmot
2 hours ago













I want to manually locate Q. You may not believe that the coordinates I give render OQ perpendicular to leg AC, but you should know that it will be a point on leg AC.

– A gal named Desire
2 hours ago






I want to manually locate Q. You may not believe that the coordinates I give render OQ perpendicular to leg AC, but you should know that it will be a point on leg AC.

– A gal named Desire
2 hours ago














TikZ is not putting Q on leg AC, though.

– A gal named Desire
2 hours ago





TikZ is not putting Q on leg AC, though.

– A gal named Desire
2 hours ago




2




2





I multiplied both coordinates of Q by 8 errantly.

– A gal named Desire
1 hour ago





I multiplied both coordinates of Q by 8 errantly.

– A gal named Desire
1 hour ago










2 Answers
2






active

oldest

votes


















2














I am sorry, I cannot follow your equations at all. you ask TikZ to do



 path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); 


which is equivalent to



 path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); 


(meaning you do not need calc for that), and this is where TikZ places the point. I cannot tell you everything that went wrong in your computation of Q, but here is one point: how is it possible that you do not need the coordinates of O in your way of doing things? You should be solving



 alpha * 1 = O_x + beta
alpha * sqrt(3) = O_y - beta * sqrt(3)/3


if you want to find the point where AC intersects with the line that is perpendicular and runs through O, but I cannot see you doing this. (BTW, there is intersection cs: specifically for that, you do not need to do such things by hand.)



Luckily these projections can be done with calc out of the box.



documentclassamsart
usepackageamsmath
usepackagetikz
usetikzlibrarycalc
begindocument
noindent hspace*fill
begintikzpicture
draw (0,0) coordinate[label=below:$scriptstyle A$] (A) --
(8*1,0) coordinate[label=below:$scriptstyle B$] (B) --
(8*(1/4),8*sqrt(3)/4) coordinate[label=above:$scriptstyle A$] (C) -- cycle;

draw[fill] (8*(sqrt(3)/4)*(sqrt(3)-1),8*(1/4)*(sqrt(3)-1))
coordinate (O) circle (1.5pt);
draw[blue] (O) circle(8*(sqrt(3)-1)/4);

path ($(A)!(O)!(C)$) coordinate[label=left:$scriptstyle Q$] (Q)
($(A)!(O)!(B)$) coordinate[label=below:$scriptstyle P$] (P);
draw (O) -- (P);
draw[fill=green] (Q) circle (1.5pt);
draw[green] (O) -- (Q);
endtikzpicture
enddocument


enter image description here






share|improve this answer

























  • Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

    – A gal named Desire
    2 hours ago












  • A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

    – A gal named Desire
    2 hours ago












  • @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

    – marmot
    2 hours ago


















0














Just for fun with tkz-euclide.



documentclassamsart
usepackageamsmath
usepackagetikz,tkz-euclide
usetikzlibrarycalc
usetkzobjall

begindocument
begintikzpicture
coordinate (A) at (0,0);
coordinate (B) at (8,0);
coordinate (C) at (2,2*sqrt(2.99));
tkzDefCircle[in](A,B,C)
tkzGetPointO tkzGetLengthrIN
tkzDrawPoints(O)
tkzDrawCircle[R,color=blue](O,rIN pt)
tkzLabelPoints[below](B)
tkzLabelPoints[above left](A,C)
tkzDrawPolygon(A,B,C)
tkzDefPointBy[projection= onto A--C](O) tkzGetPointQ
tkzDefPointBy[projection= onto A--B](O) tkzGetPointP
draw (O)--(Q) (O)--(P)node[below]$P$;
filldraw [green](Q) circle (1.5pt);
node at (Q)[left]$Q$;
endtikzpicture

enddocument


enter image description here






share|improve this answer

























    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%2f485814%2fa-coordinate-command-ignored%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I am sorry, I cannot follow your equations at all. you ask TikZ to do



     path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); 


    which is equivalent to



     path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); 


    (meaning you do not need calc for that), and this is where TikZ places the point. I cannot tell you everything that went wrong in your computation of Q, but here is one point: how is it possible that you do not need the coordinates of O in your way of doing things? You should be solving



     alpha * 1 = O_x + beta
    alpha * sqrt(3) = O_y - beta * sqrt(3)/3


    if you want to find the point where AC intersects with the line that is perpendicular and runs through O, but I cannot see you doing this. (BTW, there is intersection cs: specifically for that, you do not need to do such things by hand.)



    Luckily these projections can be done with calc out of the box.



    documentclassamsart
    usepackageamsmath
    usepackagetikz
    usetikzlibrarycalc
    begindocument
    noindent hspace*fill
    begintikzpicture
    draw (0,0) coordinate[label=below:$scriptstyle A$] (A) --
    (8*1,0) coordinate[label=below:$scriptstyle B$] (B) --
    (8*(1/4),8*sqrt(3)/4) coordinate[label=above:$scriptstyle A$] (C) -- cycle;

    draw[fill] (8*(sqrt(3)/4)*(sqrt(3)-1),8*(1/4)*(sqrt(3)-1))
    coordinate (O) circle (1.5pt);
    draw[blue] (O) circle(8*(sqrt(3)-1)/4);

    path ($(A)!(O)!(C)$) coordinate[label=left:$scriptstyle Q$] (Q)
    ($(A)!(O)!(B)$) coordinate[label=below:$scriptstyle P$] (P);
    draw (O) -- (P);
    draw[fill=green] (Q) circle (1.5pt);
    draw[green] (O) -- (Q);
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer

























    • Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

      – A gal named Desire
      2 hours ago












    • A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

      – A gal named Desire
      2 hours ago












    • @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

      – marmot
      2 hours ago















    2














    I am sorry, I cannot follow your equations at all. you ask TikZ to do



     path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); 


    which is equivalent to



     path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); 


    (meaning you do not need calc for that), and this is where TikZ places the point. I cannot tell you everything that went wrong in your computation of Q, but here is one point: how is it possible that you do not need the coordinates of O in your way of doing things? You should be solving



     alpha * 1 = O_x + beta
    alpha * sqrt(3) = O_y - beta * sqrt(3)/3


    if you want to find the point where AC intersects with the line that is perpendicular and runs through O, but I cannot see you doing this. (BTW, there is intersection cs: specifically for that, you do not need to do such things by hand.)



    Luckily these projections can be done with calc out of the box.



    documentclassamsart
    usepackageamsmath
    usepackagetikz
    usetikzlibrarycalc
    begindocument
    noindent hspace*fill
    begintikzpicture
    draw (0,0) coordinate[label=below:$scriptstyle A$] (A) --
    (8*1,0) coordinate[label=below:$scriptstyle B$] (B) --
    (8*(1/4),8*sqrt(3)/4) coordinate[label=above:$scriptstyle A$] (C) -- cycle;

    draw[fill] (8*(sqrt(3)/4)*(sqrt(3)-1),8*(1/4)*(sqrt(3)-1))
    coordinate (O) circle (1.5pt);
    draw[blue] (O) circle(8*(sqrt(3)-1)/4);

    path ($(A)!(O)!(C)$) coordinate[label=left:$scriptstyle Q$] (Q)
    ($(A)!(O)!(B)$) coordinate[label=below:$scriptstyle P$] (P);
    draw (O) -- (P);
    draw[fill=green] (Q) circle (1.5pt);
    draw[green] (O) -- (Q);
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer

























    • Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

      – A gal named Desire
      2 hours ago












    • A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

      – A gal named Desire
      2 hours ago












    • @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

      – marmot
      2 hours ago













    2












    2








    2







    I am sorry, I cannot follow your equations at all. you ask TikZ to do



     path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); 


    which is equivalent to



     path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); 


    (meaning you do not need calc for that), and this is where TikZ places the point. I cannot tell you everything that went wrong in your computation of Q, but here is one point: how is it possible that you do not need the coordinates of O in your way of doing things? You should be solving



     alpha * 1 = O_x + beta
    alpha * sqrt(3) = O_y - beta * sqrt(3)/3


    if you want to find the point where AC intersects with the line that is perpendicular and runs through O, but I cannot see you doing this. (BTW, there is intersection cs: specifically for that, you do not need to do such things by hand.)



    Luckily these projections can be done with calc out of the box.



    documentclassamsart
    usepackageamsmath
    usepackagetikz
    usetikzlibrarycalc
    begindocument
    noindent hspace*fill
    begintikzpicture
    draw (0,0) coordinate[label=below:$scriptstyle A$] (A) --
    (8*1,0) coordinate[label=below:$scriptstyle B$] (B) --
    (8*(1/4),8*sqrt(3)/4) coordinate[label=above:$scriptstyle A$] (C) -- cycle;

    draw[fill] (8*(sqrt(3)/4)*(sqrt(3)-1),8*(1/4)*(sqrt(3)-1))
    coordinate (O) circle (1.5pt);
    draw[blue] (O) circle(8*(sqrt(3)-1)/4);

    path ($(A)!(O)!(C)$) coordinate[label=left:$scriptstyle Q$] (Q)
    ($(A)!(O)!(B)$) coordinate[label=below:$scriptstyle P$] (P);
    draw (O) -- (P);
    draw[fill=green] (Q) circle (1.5pt);
    draw[green] (O) -- (Q);
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer















    I am sorry, I cannot follow your equations at all. you ask TikZ to do



     path let n1=8*sqrt(3)*(sqrt(3)-1), n2=8*3*(sqrt(3)-1) in coordinate (Q) at (n1,n2); 


    which is equivalent to



     path (8*sqrt(3)*(sqrt(3)-1),8*3*(sqrt(3)-1)) coordinate (Q); 


    (meaning you do not need calc for that), and this is where TikZ places the point. I cannot tell you everything that went wrong in your computation of Q, but here is one point: how is it possible that you do not need the coordinates of O in your way of doing things? You should be solving



     alpha * 1 = O_x + beta
    alpha * sqrt(3) = O_y - beta * sqrt(3)/3


    if you want to find the point where AC intersects with the line that is perpendicular and runs through O, but I cannot see you doing this. (BTW, there is intersection cs: specifically for that, you do not need to do such things by hand.)



    Luckily these projections can be done with calc out of the box.



    documentclassamsart
    usepackageamsmath
    usepackagetikz
    usetikzlibrarycalc
    begindocument
    noindent hspace*fill
    begintikzpicture
    draw (0,0) coordinate[label=below:$scriptstyle A$] (A) --
    (8*1,0) coordinate[label=below:$scriptstyle B$] (B) --
    (8*(1/4),8*sqrt(3)/4) coordinate[label=above:$scriptstyle A$] (C) -- cycle;

    draw[fill] (8*(sqrt(3)/4)*(sqrt(3)-1),8*(1/4)*(sqrt(3)-1))
    coordinate (O) circle (1.5pt);
    draw[blue] (O) circle(8*(sqrt(3)-1)/4);

    path ($(A)!(O)!(C)$) coordinate[label=left:$scriptstyle Q$] (Q)
    ($(A)!(O)!(B)$) coordinate[label=below:$scriptstyle P$] (P);
    draw (O) -- (P);
    draw[fill=green] (Q) circle (1.5pt);
    draw[green] (O) -- (Q);
    endtikzpicture
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 2 hours ago

























    answered 2 hours ago









    marmotmarmot

    120k6154290




    120k6154290












    • Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

      – A gal named Desire
      2 hours ago












    • A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

      – A gal named Desire
      2 hours ago












    • @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

      – marmot
      2 hours ago

















    • Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

      – A gal named Desire
      2 hours ago












    • A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

      – A gal named Desire
      2 hours ago












    • @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

      – marmot
      2 hours ago
















    Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

    – A gal named Desire
    2 hours ago






    Do you agree that the coordinate that I give for Q are the coordinates for a point on the line y = sqrt(3)*x?

    – A gal named Desire
    2 hours ago














    A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

    – A gal named Desire
    2 hours ago






    A and C are points on the line. The y-coordinate is sqrt(3) times bigger than the x-coordinate for these points. Same is true for Q. Why does TikZ not plot Q on AC?

    – A gal named Desire
    2 hours ago














    @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

    – marmot
    2 hours ago





    @AgalnamedDesire How is that important? This answer provides a way to do the projection independently of these computations and irrespective of whether or not you set the origin at A. If your comment is to ask whether the fact that in your Q does not appear where you want it to be due to an error in TikZ or in your code, my bet is that it is not TikZ. As I said, I could not follow your logic.

    – marmot
    2 hours ago











    0














    Just for fun with tkz-euclide.



    documentclassamsart
    usepackageamsmath
    usepackagetikz,tkz-euclide
    usetikzlibrarycalc
    usetkzobjall

    begindocument
    begintikzpicture
    coordinate (A) at (0,0);
    coordinate (B) at (8,0);
    coordinate (C) at (2,2*sqrt(2.99));
    tkzDefCircle[in](A,B,C)
    tkzGetPointO tkzGetLengthrIN
    tkzDrawPoints(O)
    tkzDrawCircle[R,color=blue](O,rIN pt)
    tkzLabelPoints[below](B)
    tkzLabelPoints[above left](A,C)
    tkzDrawPolygon(A,B,C)
    tkzDefPointBy[projection= onto A--C](O) tkzGetPointQ
    tkzDefPointBy[projection= onto A--B](O) tkzGetPointP
    draw (O)--(Q) (O)--(P)node[below]$P$;
    filldraw [green](Q) circle (1.5pt);
    node at (Q)[left]$Q$;
    endtikzpicture

    enddocument


    enter image description here






    share|improve this answer





























      0














      Just for fun with tkz-euclide.



      documentclassamsart
      usepackageamsmath
      usepackagetikz,tkz-euclide
      usetikzlibrarycalc
      usetkzobjall

      begindocument
      begintikzpicture
      coordinate (A) at (0,0);
      coordinate (B) at (8,0);
      coordinate (C) at (2,2*sqrt(2.99));
      tkzDefCircle[in](A,B,C)
      tkzGetPointO tkzGetLengthrIN
      tkzDrawPoints(O)
      tkzDrawCircle[R,color=blue](O,rIN pt)
      tkzLabelPoints[below](B)
      tkzLabelPoints[above left](A,C)
      tkzDrawPolygon(A,B,C)
      tkzDefPointBy[projection= onto A--C](O) tkzGetPointQ
      tkzDefPointBy[projection= onto A--B](O) tkzGetPointP
      draw (O)--(Q) (O)--(P)node[below]$P$;
      filldraw [green](Q) circle (1.5pt);
      node at (Q)[left]$Q$;
      endtikzpicture

      enddocument


      enter image description here






      share|improve this answer



























        0












        0








        0







        Just for fun with tkz-euclide.



        documentclassamsart
        usepackageamsmath
        usepackagetikz,tkz-euclide
        usetikzlibrarycalc
        usetkzobjall

        begindocument
        begintikzpicture
        coordinate (A) at (0,0);
        coordinate (B) at (8,0);
        coordinate (C) at (2,2*sqrt(2.99));
        tkzDefCircle[in](A,B,C)
        tkzGetPointO tkzGetLengthrIN
        tkzDrawPoints(O)
        tkzDrawCircle[R,color=blue](O,rIN pt)
        tkzLabelPoints[below](B)
        tkzLabelPoints[above left](A,C)
        tkzDrawPolygon(A,B,C)
        tkzDefPointBy[projection= onto A--C](O) tkzGetPointQ
        tkzDefPointBy[projection= onto A--B](O) tkzGetPointP
        draw (O)--(Q) (O)--(P)node[below]$P$;
        filldraw [green](Q) circle (1.5pt);
        node at (Q)[left]$Q$;
        endtikzpicture

        enddocument


        enter image description here






        share|improve this answer















        Just for fun with tkz-euclide.



        documentclassamsart
        usepackageamsmath
        usepackagetikz,tkz-euclide
        usetikzlibrarycalc
        usetkzobjall

        begindocument
        begintikzpicture
        coordinate (A) at (0,0);
        coordinate (B) at (8,0);
        coordinate (C) at (2,2*sqrt(2.99));
        tkzDefCircle[in](A,B,C)
        tkzGetPointO tkzGetLengthrIN
        tkzDrawPoints(O)
        tkzDrawCircle[R,color=blue](O,rIN pt)
        tkzLabelPoints[below](B)
        tkzLabelPoints[above left](A,C)
        tkzDrawPolygon(A,B,C)
        tkzDefPointBy[projection= onto A--C](O) tkzGetPointQ
        tkzDefPointBy[projection= onto A--B](O) tkzGetPointP
        draw (O)--(Q) (O)--(P)node[below]$P$;
        filldraw [green](Q) circle (1.5pt);
        node at (Q)[left]$Q$;
        endtikzpicture

        enddocument


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 56 mins ago

























        answered 1 hour ago









        ferahfezaferahfeza

        7,60912033




        7,60912033



























            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%2f485814%2fa-coordinate-command-ignored%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

            How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

            Българска екзархия Съдържание История | Български екзарси | Вижте също | Външни препратки | Литература | Бележки | НавигацияУстав за управлението на българската екзархия. Цариград, 1870Слово на Ловешкия митрополит Иларион при откриването на Българския народен събор в Цариград на 23. II. 1870 г.Българската правда и гръцката кривда. От С. М. (= Софийски Мелетий). Цариград, 1872Предстоятели на Българската екзархияПодмененият ВеликденИнформационна агенция „Фокус“Димитър Ризов. Българите в техните исторически, етнографически и политически граници (Атлас съдържащ 40 карти). Berlin, Königliche Hoflithographie, Hof-Buch- und -Steindruckerei Wilhelm Greve, 1917Report of the International Commission to Inquire into the Causes and Conduct of the Balkan Wars

            Чепеларе Съдържание География | История | Население | Спортни и природни забележителности | Културни и исторически обекти | Религии | Обществени институции | Известни личности | Редовни събития | Галерия | Източници | Литература | Външни препратки | Навигация41°43′23.99″ с. ш. 24°41′09.99″ и. д. / 41.723333° с. ш. 24.686111° и. д.*ЧепелареЧепеларски Linux fest 2002Начало на Зимен сезон 2005/06Национални хайдушки празници „Капитан Петко Войвода“Град ЧепелареЧепеларе – народният ски курортbgrod.orgwww.terranatura.hit.bgСправка за населението на гр. Исперих, общ. Исперих, обл. РазградМузей на родопския карстМузей на спорта и скитеЧепеларебългарскибългарскианглийскитукИстория на градаСки писти в ЧепелареВремето в ЧепелареРадио и телевизия в ЧепелареЧепеларе мами с родопски чар и добри пистиЕвтин туризъм и снежни атракции в ЧепелареМестоположениеИнформация и снимки от музея на родопския карст3D панорами от ЧепелареЧепелареррр