Connecting top and bottom of adjacent circlesCan PSTricks or others draw the 4 common tangent lines of 2...

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

Metadata API deployments are failing in Spring '19

Proof by Induction - New to proofs

Could quantum mechanics be necessary to analyze some biology scenarios?

What is better: yes / no radio, or simple checkbox?

Connecting top and bottom of adjacent circles

How to push a box with physics engine by another object?

A Wacky, Wacky Chessboard (That Makes No Sense)

What's a good word to describe a public place that looks like it wouldn't be rough?

How do Japanese speakers determine the implied topic when none has been mentioned?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Why does the DC-9-80 have this cusp in its fuselage?

Avoiding morning and evening handshakes

How can I improve my fireworks photography?

What is the meaning of "pick up" in this sentence?

Finding the number of integers that are a square and a cube at the same time

Crystal compensation for temp and voltage

How should I state my MS degree in my CV when it was in practice a joint-program?

Auto Insert date into Notepad

What's the rationale behind the objections to these measures against human trafficking?

Why zero tolerance on nudity in space?

How to satisfy a player character's curiosity about another player character?

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

Where is this triangular-shaped space station from?



Connecting top and bottom of adjacent circles


Can PSTricks or others draw the 4 common tangent lines of 2 “disjoint” circles without having to do extra calculations?The belt for chain of gearsTikz: The common tangent and the shaded regionBetter solution to display the Distributive PropertyUML StatediagramHow to define the default vertical distance between nodes?Drawing multiple iterations of cellular automatons inline, possibly with TikZChanging Size of Arrows, Labels, Loops in Diagrams and Directed GraphsAdding extra nodes at anchors of rectangular node custom shape in tikz?Input/Output Nodes - Specification and Description LanguagePlacing a rectangular node in tikz by specifying two opposing cornersPretty circles connecting nodesMake graph where nodes and connecting edges are circles













4















I have the following code:



begin {tikzpicture}[-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
thin , state/.style ={ circle ,top color = black, bottom color = black,
draw,black , text=black, minimum width =0.01 cm}]
node[state] (a1) {};
node[state] (b1) [below =of a1]{};
node[state] (c1) [right =of a1]{};
node[state] (d1) [below =of c1]{};
node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]{};
node[state] (a2) [right=7cm of a1] {};
node[state] (b2) [right =of a2] {};
node[state] (c2) [below =of a2] {};
node[state] (d2) [right =of c2] {};
node[state] (d3) [above =3cm of d2] {};
node[state] (d4) [right =2cm of d2] {};
node[state] (d5) [below =2cm of d2] {};
node[state] (d6) [above = of d4] {};
node[state] (d6) [above = of d6] {};
node[shape=circle,
draw=black,
minimum size=3cm,
fit={(a2)(d2)}]{};
node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
path (b1) edge [bend right=0] node[] {} (a2);
end{tikzpicture} newline newline


This produces:



enter image description here



I'd like to draw a lines as shown below:



enter image description here










share|improve this question







New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3





    This answer has an elegant solution to drawing the two tangents in TikZ tex.stackexchange.com/a/254055/15036

    – Thruston
    12 hours ago











  • Are you trying to draw a zoomed-in region? If so, try here: pgfplots.net/tikz/examples/spy-plot or search for Tikz Spy on this site.

    – Thruston
    12 hours ago
















4















I have the following code:



begin {tikzpicture}[-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
thin , state/.style ={ circle ,top color = black, bottom color = black,
draw,black , text=black, minimum width =0.01 cm}]
node[state] (a1) {};
node[state] (b1) [below =of a1]{};
node[state] (c1) [right =of a1]{};
node[state] (d1) [below =of c1]{};
node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]{};
node[state] (a2) [right=7cm of a1] {};
node[state] (b2) [right =of a2] {};
node[state] (c2) [below =of a2] {};
node[state] (d2) [right =of c2] {};
node[state] (d3) [above =3cm of d2] {};
node[state] (d4) [right =2cm of d2] {};
node[state] (d5) [below =2cm of d2] {};
node[state] (d6) [above = of d4] {};
node[state] (d6) [above = of d6] {};
node[shape=circle,
draw=black,
minimum size=3cm,
fit={(a2)(d2)}]{};
node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
path (b1) edge [bend right=0] node[] {} (a2);
end{tikzpicture} newline newline


This produces:



enter image description here



I'd like to draw a lines as shown below:



enter image description here










share|improve this question







New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 3





    This answer has an elegant solution to drawing the two tangents in TikZ tex.stackexchange.com/a/254055/15036

    – Thruston
    12 hours ago











  • Are you trying to draw a zoomed-in region? If so, try here: pgfplots.net/tikz/examples/spy-plot or search for Tikz Spy on this site.

    – Thruston
    12 hours ago














4












4








4


0






I have the following code:



begin {tikzpicture}[-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
thin , state/.style ={ circle ,top color = black, bottom color = black,
draw,black , text=black, minimum width =0.01 cm}]
node[state] (a1) {};
node[state] (b1) [below =of a1]{};
node[state] (c1) [right =of a1]{};
node[state] (d1) [below =of c1]{};
node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]{};
node[state] (a2) [right=7cm of a1] {};
node[state] (b2) [right =of a2] {};
node[state] (c2) [below =of a2] {};
node[state] (d2) [right =of c2] {};
node[state] (d3) [above =3cm of d2] {};
node[state] (d4) [right =2cm of d2] {};
node[state] (d5) [below =2cm of d2] {};
node[state] (d6) [above = of d4] {};
node[state] (d6) [above = of d6] {};
node[shape=circle,
draw=black,
minimum size=3cm,
fit={(a2)(d2)}]{};
node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
path (b1) edge [bend right=0] node[] {} (a2);
end{tikzpicture} newline newline


This produces:



enter image description here



I'd like to draw a lines as shown below:



enter image description here










share|improve this question







New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have the following code:



begin {tikzpicture}[-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
thin , state/.style ={ circle ,top color = black, bottom color = black,
draw,black , text=black, minimum width =0.01 cm}]
node[state] (a1) {};
node[state] (b1) [below =of a1]{};
node[state] (c1) [right =of a1]{};
node[state] (d1) [below =of c1]{};
node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]{};
node[state] (a2) [right=7cm of a1] {};
node[state] (b2) [right =of a2] {};
node[state] (c2) [below =of a2] {};
node[state] (d2) [right =of c2] {};
node[state] (d3) [above =3cm of d2] {};
node[state] (d4) [right =2cm of d2] {};
node[state] (d5) [below =2cm of d2] {};
node[state] (d6) [above = of d4] {};
node[state] (d6) [above = of d6] {};
node[shape=circle,
draw=black,
minimum size=3cm,
fit={(a2)(d2)}]{};
node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
path (b1) edge [bend right=0] node[] {} (a2);
end{tikzpicture} newline newline


This produces:



enter image description here



I'd like to draw a lines as shown below:



enter image description here







tikz-pgf






share|improve this question







New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









StuartStuart

1234




1234




New contributor




Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Stuart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 3





    This answer has an elegant solution to drawing the two tangents in TikZ tex.stackexchange.com/a/254055/15036

    – Thruston
    12 hours ago











  • Are you trying to draw a zoomed-in region? If so, try here: pgfplots.net/tikz/examples/spy-plot or search for Tikz Spy on this site.

    – Thruston
    12 hours ago














  • 3





    This answer has an elegant solution to drawing the two tangents in TikZ tex.stackexchange.com/a/254055/15036

    – Thruston
    12 hours ago











  • Are you trying to draw a zoomed-in region? If so, try here: pgfplots.net/tikz/examples/spy-plot or search for Tikz Spy on this site.

    – Thruston
    12 hours ago








3




3





This answer has an elegant solution to drawing the two tangents in TikZ tex.stackexchange.com/a/254055/15036

– Thruston
12 hours ago





This answer has an elegant solution to drawing the two tangents in TikZ tex.stackexchange.com/a/254055/15036

– Thruston
12 hours ago













Are you trying to draw a zoomed-in region? If so, try here: pgfplots.net/tikz/examples/spy-plot or search for Tikz Spy on this site.

– Thruston
12 hours ago





Are you trying to draw a zoomed-in region? If so, try here: pgfplots.net/tikz/examples/spy-plot or search for Tikz Spy on this site.

– Thruston
12 hours ago










2 Answers
2






active

oldest

votes


















4














This is a possible solution, but I don't think it is the best way.



Add names for the circles.



documentclass[tikz,margin=3mm]{standalone}
usetikzlibrary{positioning,fit}
begin{document}
begin {tikzpicture}[,auto ,node distance =0.8cm and 0.8cm ,on grid,
thin , state/.style ={ circle ,top color = black, bottom color = black,
draw,black , text=black, minimum width =0.01 cm}]
node[state] (a1) {};
node[state] (b1) [below =of a1]{};
node[state] (c1) [right =of a1]{};
node[state] (d1) [below =of c1]{};
node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}] (circle1) {};
node[state] (a2) [right=7cm of a1] {};
node[state] (b2) [right =of a2] {};
node[state] (c2) [below =of a2] {};
node[state] (d2) [right =of c2] {};
node[state] (d3) [above =3cm of d2] {};
node[state] (d4) [right =2cm of d2] {};
node[state] (d5) [below =2cm of d2] {};
node[state] (d6) [above = of d4] {};
node[state] (d6) [above = of d6] {};
node[shape=circle,
draw=black,
minimum size=3cm,
fit={(a2)(d2)}] (circle2) {};
node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
path[-latex] (b1) edge [bend right=0] node[] {} (a2);
draw[thick,red] (circle1.north)--(circle2.north);
draw[thick,red] (circle1.south)--(circle2.south);
end{tikzpicture}
end{document}


enter image description here






share|improve this answer



















  • 2





    I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

    – koleygr
    12 hours ago











  • @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

    – JouleV
    12 hours ago








  • 2





    This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

    – Stuart
    12 hours ago






  • 1





    Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

    – koleygr
    12 hours ago



















5














AFAIK the first way to draw a tangent at two circles has been proposed in this nice answer. However, can't refrain from using this one.



documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc,positioning,fit}
begin{document}
begin{tikzpicture}[tangent of circles/.style args={%
at #1 and #2 with radii #3 and #4}{insert path={%
let p1=($(#2)-(#1)$),n1={atan2(y1,x1)},n2={veclen(y1,x1)*1pt/1cm},
n3={atan2(#4-#3,n2)}
in ($(#1)+(n3+n1+90:#3)$) -- ($(#2)+(n3+n1+90:#4)$)}},-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
thin , state/.style ={ circle ,top color = black, bottom color = black,
draw,black , text=black, minimum width =0.01 cm}]
node[state] (a1) {};
node[state] (b1) [below =of a1]{};
node[state] (c1) [right =of a1]{};
node[state] (d1) [below =of c1]{};
node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]
(circ1){};
node[state] (a2) [right=7cm of a1] {};
node[state] (b2) [right =of a2] {};
node[state] (c2) [below =of a2] {};
node[state] (d2) [right =of c2] {};
node[state] (d3) [above =3cm of d2] {};
node[state] (d4) [right =2cm of d2] {};
node[state] (d5) [below =2cm of d2] {};
node[state] (d6) [above = of d4] {};
node[state] (d6) [above = of d6] {};
node[shape=circle,
draw=black,
minimum size=3cm,
fit={(a2)(d2)}] (circ2){};
node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
path (b1) edge [bend right=0] node[] {} (a2);
draw[red,-,tangent of circles={at circ1.center and circ2.center with radii 2
and 1.5}];
draw[red,-,tangent of circles={at circ2.center and circ1.center with radii
1.5 and 2}];
end{tikzpicture}
end{document}


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
    });


    }
    });






    Stuart is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477574%2fconnecting-top-and-bottom-of-adjacent-circles%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









    4














    This is a possible solution, but I don't think it is the best way.



    Add names for the circles.



    documentclass[tikz,margin=3mm]{standalone}
    usetikzlibrary{positioning,fit}
    begin{document}
    begin {tikzpicture}[,auto ,node distance =0.8cm and 0.8cm ,on grid,
    thin , state/.style ={ circle ,top color = black, bottom color = black,
    draw,black , text=black, minimum width =0.01 cm}]
    node[state] (a1) {};
    node[state] (b1) [below =of a1]{};
    node[state] (c1) [right =of a1]{};
    node[state] (d1) [below =of c1]{};
    node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}] (circle1) {};
    node[state] (a2) [right=7cm of a1] {};
    node[state] (b2) [right =of a2] {};
    node[state] (c2) [below =of a2] {};
    node[state] (d2) [right =of c2] {};
    node[state] (d3) [above =3cm of d2] {};
    node[state] (d4) [right =2cm of d2] {};
    node[state] (d5) [below =2cm of d2] {};
    node[state] (d6) [above = of d4] {};
    node[state] (d6) [above = of d6] {};
    node[shape=circle,
    draw=black,
    minimum size=3cm,
    fit={(a2)(d2)}] (circle2) {};
    node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
    path[-latex] (b1) edge [bend right=0] node[] {} (a2);
    draw[thick,red] (circle1.north)--(circle2.north);
    draw[thick,red] (circle1.south)--(circle2.south);
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer



















    • 2





      I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

      – koleygr
      12 hours ago











    • @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

      – JouleV
      12 hours ago








    • 2





      This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

      – Stuart
      12 hours ago






    • 1





      Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

      – koleygr
      12 hours ago
















    4














    This is a possible solution, but I don't think it is the best way.



    Add names for the circles.



    documentclass[tikz,margin=3mm]{standalone}
    usetikzlibrary{positioning,fit}
    begin{document}
    begin {tikzpicture}[,auto ,node distance =0.8cm and 0.8cm ,on grid,
    thin , state/.style ={ circle ,top color = black, bottom color = black,
    draw,black , text=black, minimum width =0.01 cm}]
    node[state] (a1) {};
    node[state] (b1) [below =of a1]{};
    node[state] (c1) [right =of a1]{};
    node[state] (d1) [below =of c1]{};
    node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}] (circle1) {};
    node[state] (a2) [right=7cm of a1] {};
    node[state] (b2) [right =of a2] {};
    node[state] (c2) [below =of a2] {};
    node[state] (d2) [right =of c2] {};
    node[state] (d3) [above =3cm of d2] {};
    node[state] (d4) [right =2cm of d2] {};
    node[state] (d5) [below =2cm of d2] {};
    node[state] (d6) [above = of d4] {};
    node[state] (d6) [above = of d6] {};
    node[shape=circle,
    draw=black,
    minimum size=3cm,
    fit={(a2)(d2)}] (circle2) {};
    node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
    path[-latex] (b1) edge [bend right=0] node[] {} (a2);
    draw[thick,red] (circle1.north)--(circle2.north);
    draw[thick,red] (circle1.south)--(circle2.south);
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer



















    • 2





      I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

      – koleygr
      12 hours ago











    • @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

      – JouleV
      12 hours ago








    • 2





      This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

      – Stuart
      12 hours ago






    • 1





      Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

      – koleygr
      12 hours ago














    4












    4








    4







    This is a possible solution, but I don't think it is the best way.



    Add names for the circles.



    documentclass[tikz,margin=3mm]{standalone}
    usetikzlibrary{positioning,fit}
    begin{document}
    begin {tikzpicture}[,auto ,node distance =0.8cm and 0.8cm ,on grid,
    thin , state/.style ={ circle ,top color = black, bottom color = black,
    draw,black , text=black, minimum width =0.01 cm}]
    node[state] (a1) {};
    node[state] (b1) [below =of a1]{};
    node[state] (c1) [right =of a1]{};
    node[state] (d1) [below =of c1]{};
    node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}] (circle1) {};
    node[state] (a2) [right=7cm of a1] {};
    node[state] (b2) [right =of a2] {};
    node[state] (c2) [below =of a2] {};
    node[state] (d2) [right =of c2] {};
    node[state] (d3) [above =3cm of d2] {};
    node[state] (d4) [right =2cm of d2] {};
    node[state] (d5) [below =2cm of d2] {};
    node[state] (d6) [above = of d4] {};
    node[state] (d6) [above = of d6] {};
    node[shape=circle,
    draw=black,
    minimum size=3cm,
    fit={(a2)(d2)}] (circle2) {};
    node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
    path[-latex] (b1) edge [bend right=0] node[] {} (a2);
    draw[thick,red] (circle1.north)--(circle2.north);
    draw[thick,red] (circle1.south)--(circle2.south);
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer













    This is a possible solution, but I don't think it is the best way.



    Add names for the circles.



    documentclass[tikz,margin=3mm]{standalone}
    usetikzlibrary{positioning,fit}
    begin{document}
    begin {tikzpicture}[,auto ,node distance =0.8cm and 0.8cm ,on grid,
    thin , state/.style ={ circle ,top color = black, bottom color = black,
    draw,black , text=black, minimum width =0.01 cm}]
    node[state] (a1) {};
    node[state] (b1) [below =of a1]{};
    node[state] (c1) [right =of a1]{};
    node[state] (d1) [below =of c1]{};
    node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}] (circle1) {};
    node[state] (a2) [right=7cm of a1] {};
    node[state] (b2) [right =of a2] {};
    node[state] (c2) [below =of a2] {};
    node[state] (d2) [right =of c2] {};
    node[state] (d3) [above =3cm of d2] {};
    node[state] (d4) [right =2cm of d2] {};
    node[state] (d5) [below =2cm of d2] {};
    node[state] (d6) [above = of d4] {};
    node[state] (d6) [above = of d6] {};
    node[shape=circle,
    draw=black,
    minimum size=3cm,
    fit={(a2)(d2)}] (circle2) {};
    node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
    path[-latex] (b1) edge [bend right=0] node[] {} (a2);
    draw[thick,red] (circle1.north)--(circle2.north);
    draw[thick,red] (circle1.south)--(circle2.south);
    end{tikzpicture}
    end{document}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 12 hours ago









    JouleVJouleV

    4,6531939




    4,6531939








    • 2





      I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

      – koleygr
      12 hours ago











    • @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

      – JouleV
      12 hours ago








    • 2





      This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

      – Stuart
      12 hours ago






    • 1





      Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

      – koleygr
      12 hours ago














    • 2





      I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

      – koleygr
      12 hours ago











    • @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

      – JouleV
      12 hours ago








    • 2





      This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

      – Stuart
      12 hours ago






    • 1





      Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

      – koleygr
      12 hours ago








    2




    2





    I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

    – koleygr
    12 hours ago





    I think the OP is looking for tangents on these circles and not to connect their north points... if for example the right circle was smaller this solution would not give a nice result.

    – koleygr
    12 hours ago













    @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

    – JouleV
    12 hours ago







    @koleygr Indeed from the attached figure we can't say if the OP wants to join the two norths or have a tangent line. I thought of that too, and that is why I said "but I don't think it is the best way". If the OP explains his question further, I will be very glad to delete my answer.

    – JouleV
    12 hours ago






    2




    2





    This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

    – Stuart
    12 hours ago





    This is perfect. I just want lines to show that circle on the right is a subset of the circle on the left. Thank you! Will accept asnwer in 2mins when it lets me.

    – Stuart
    12 hours ago




    1




    1





    Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

    – koleygr
    12 hours ago





    Wow... I was almost ready to insist that even without a clear question about these tangents it still seems a clear expectation to me... Nice guess (+1)

    – koleygr
    12 hours ago











    5














    AFAIK the first way to draw a tangent at two circles has been proposed in this nice answer. However, can't refrain from using this one.



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{calc,positioning,fit}
    begin{document}
    begin{tikzpicture}[tangent of circles/.style args={%
    at #1 and #2 with radii #3 and #4}{insert path={%
    let p1=($(#2)-(#1)$),n1={atan2(y1,x1)},n2={veclen(y1,x1)*1pt/1cm},
    n3={atan2(#4-#3,n2)}
    in ($(#1)+(n3+n1+90:#3)$) -- ($(#2)+(n3+n1+90:#4)$)}},-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
    thin , state/.style ={ circle ,top color = black, bottom color = black,
    draw,black , text=black, minimum width =0.01 cm}]
    node[state] (a1) {};
    node[state] (b1) [below =of a1]{};
    node[state] (c1) [right =of a1]{};
    node[state] (d1) [below =of c1]{};
    node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]
    (circ1){};
    node[state] (a2) [right=7cm of a1] {};
    node[state] (b2) [right =of a2] {};
    node[state] (c2) [below =of a2] {};
    node[state] (d2) [right =of c2] {};
    node[state] (d3) [above =3cm of d2] {};
    node[state] (d4) [right =2cm of d2] {};
    node[state] (d5) [below =2cm of d2] {};
    node[state] (d6) [above = of d4] {};
    node[state] (d6) [above = of d6] {};
    node[shape=circle,
    draw=black,
    minimum size=3cm,
    fit={(a2)(d2)}] (circ2){};
    node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
    path (b1) edge [bend right=0] node[] {} (a2);
    draw[red,-,tangent of circles={at circ1.center and circ2.center with radii 2
    and 1.5}];
    draw[red,-,tangent of circles={at circ2.center and circ1.center with radii
    1.5 and 2}];
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer




























      5














      AFAIK the first way to draw a tangent at two circles has been proposed in this nice answer. However, can't refrain from using this one.



      documentclass[tikz,border=3.14mm]{standalone}
      usetikzlibrary{calc,positioning,fit}
      begin{document}
      begin{tikzpicture}[tangent of circles/.style args={%
      at #1 and #2 with radii #3 and #4}{insert path={%
      let p1=($(#2)-(#1)$),n1={atan2(y1,x1)},n2={veclen(y1,x1)*1pt/1cm},
      n3={atan2(#4-#3,n2)}
      in ($(#1)+(n3+n1+90:#3)$) -- ($(#2)+(n3+n1+90:#4)$)}},-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
      thin , state/.style ={ circle ,top color = black, bottom color = black,
      draw,black , text=black, minimum width =0.01 cm}]
      node[state] (a1) {};
      node[state] (b1) [below =of a1]{};
      node[state] (c1) [right =of a1]{};
      node[state] (d1) [below =of c1]{};
      node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]
      (circ1){};
      node[state] (a2) [right=7cm of a1] {};
      node[state] (b2) [right =of a2] {};
      node[state] (c2) [below =of a2] {};
      node[state] (d2) [right =of c2] {};
      node[state] (d3) [above =3cm of d2] {};
      node[state] (d4) [right =2cm of d2] {};
      node[state] (d5) [below =2cm of d2] {};
      node[state] (d6) [above = of d4] {};
      node[state] (d6) [above = of d6] {};
      node[shape=circle,
      draw=black,
      minimum size=3cm,
      fit={(a2)(d2)}] (circ2){};
      node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
      path (b1) edge [bend right=0] node[] {} (a2);
      draw[red,-,tangent of circles={at circ1.center and circ2.center with radii 2
      and 1.5}];
      draw[red,-,tangent of circles={at circ2.center and circ1.center with radii
      1.5 and 2}];
      end{tikzpicture}
      end{document}


      enter image description here






      share|improve this answer


























        5












        5








        5







        AFAIK the first way to draw a tangent at two circles has been proposed in this nice answer. However, can't refrain from using this one.



        documentclass[tikz,border=3.14mm]{standalone}
        usetikzlibrary{calc,positioning,fit}
        begin{document}
        begin{tikzpicture}[tangent of circles/.style args={%
        at #1 and #2 with radii #3 and #4}{insert path={%
        let p1=($(#2)-(#1)$),n1={atan2(y1,x1)},n2={veclen(y1,x1)*1pt/1cm},
        n3={atan2(#4-#3,n2)}
        in ($(#1)+(n3+n1+90:#3)$) -- ($(#2)+(n3+n1+90:#4)$)}},-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
        thin , state/.style ={ circle ,top color = black, bottom color = black,
        draw,black , text=black, minimum width =0.01 cm}]
        node[state] (a1) {};
        node[state] (b1) [below =of a1]{};
        node[state] (c1) [right =of a1]{};
        node[state] (d1) [below =of c1]{};
        node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]
        (circ1){};
        node[state] (a2) [right=7cm of a1] {};
        node[state] (b2) [right =of a2] {};
        node[state] (c2) [below =of a2] {};
        node[state] (d2) [right =of c2] {};
        node[state] (d3) [above =3cm of d2] {};
        node[state] (d4) [right =2cm of d2] {};
        node[state] (d5) [below =2cm of d2] {};
        node[state] (d6) [above = of d4] {};
        node[state] (d6) [above = of d6] {};
        node[shape=circle,
        draw=black,
        minimum size=3cm,
        fit={(a2)(d2)}] (circ2){};
        node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
        path (b1) edge [bend right=0] node[] {} (a2);
        draw[red,-,tangent of circles={at circ1.center and circ2.center with radii 2
        and 1.5}];
        draw[red,-,tangent of circles={at circ2.center and circ1.center with radii
        1.5 and 2}];
        end{tikzpicture}
        end{document}


        enter image description here






        share|improve this answer













        AFAIK the first way to draw a tangent at two circles has been proposed in this nice answer. However, can't refrain from using this one.



        documentclass[tikz,border=3.14mm]{standalone}
        usetikzlibrary{calc,positioning,fit}
        begin{document}
        begin{tikzpicture}[tangent of circles/.style args={%
        at #1 and #2 with radii #3 and #4}{insert path={%
        let p1=($(#2)-(#1)$),n1={atan2(y1,x1)},n2={veclen(y1,x1)*1pt/1cm},
        n3={atan2(#4-#3,n2)}
        in ($(#1)+(n3+n1+90:#3)$) -- ($(#2)+(n3+n1+90:#4)$)}},-latex ,auto ,node distance =0.8cm and 0.8cm ,on grid,
        thin , state/.style ={ circle ,top color = black, bottom color = black,
        draw,black , text=black, minimum width =0.01 cm}]
        node[state] (a1) {};
        node[state] (b1) [below =of a1]{};
        node[state] (c1) [right =of a1]{};
        node[state] (d1) [below =of c1]{};
        node[shape=circle, draw=black, minimum size = 4cm, fit={(a1)(d1)}]
        (circ1){};
        node[state] (a2) [right=7cm of a1] {};
        node[state] (b2) [right =of a2] {};
        node[state] (c2) [below =of a2] {};
        node[state] (d2) [right =of c2] {};
        node[state] (d3) [above =3cm of d2] {};
        node[state] (d4) [right =2cm of d2] {};
        node[state] (d5) [below =2cm of d2] {};
        node[state] (d6) [above = of d4] {};
        node[state] (d6) [above = of d6] {};
        node[shape=circle,
        draw=black,
        minimum size=3cm,
        fit={(a2)(d2)}] (circ2){};
        node[shape=circle, draw=black, fit={(d2)(d3)(d4)(d5)}]{};
        path (b1) edge [bend right=0] node[] {} (a2);
        draw[red,-,tangent of circles={at circ1.center and circ2.center with radii 2
        and 1.5}];
        draw[red,-,tangent of circles={at circ2.center and circ1.center with radii
        1.5 and 2}];
        end{tikzpicture}
        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 12 hours ago









        marmotmarmot

        105k4126241




        105k4126241






















            Stuart is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Stuart is a new contributor. Be nice, and check out our Code of Conduct.













            Stuart is a new contributor. Be nice, and check out our Code of Conduct.












            Stuart is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f477574%2fconnecting-top-and-bottom-of-adjacent-circles%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

            Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

            How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...