How to draw the figure with four pentagons?LaTeX equivalent of ConTeXt buffersHow can I put a coloured outline around fraction lines?Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?beginfigure… endfigure is not working with tikz package

Stopping power of mountain vs road bike

Do I have a twin with permutated remainders?

Brothers & sisters

Why can't we play rap on piano?

Can a rocket refuel on Mars from water?

Why does Kotter return in Welcome Back Kotter

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Could gravitational lensing be used to protect a spaceship from a laser?

Blender 2.8 I can't see vertices, edges or faces in edit mode

Is it possible to run Internet Explorer on OS X El Capitan?

AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?

Intersection of two sorted vectors in C++

Is it legal for company to use my work email to pretend I still work there?

How do I write bicross product symbols in latex?

Why is the 'in' operator throwing an error with a string literal instead of logging false?

What does it mean to describe someone as a butt steak?

Modeling an IP Address

How can I tell someone that I want to be his or her friend?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Does a druid starting with a bow start with no arrows?

How much of data wrangling is a data scientist's job?

In a spin, are both wings stalled?

What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?

What is the most common color to indicate the input-field is disabled?



How to draw the figure with four pentagons?


LaTeX equivalent of ConTeXt buffersHow can I put a coloured outline around fraction lines?Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?beginfigure… endfigure is not working with tikz package













3















I want to make the next figure formed by 4 pentagons.



enter image description here



I can only do with two and still have a space between them. I can't even do the reflection of the two pentagons to get the desired figure.



documentclass[a4paper]article

usepackage[brazil]babel

usepackagegraphicx

usepackagetikz

begindocument

begincenter

beginfigure[!htb]

begintikzpicture

draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

endtikzpicture

endfigure

beginfigure[!htb]

begintikzpicture
draw[ultra thick,rotate around=198:(-0.80,0.58)] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

endtikzpicture

endfigure

endcenter

enddocument


enter image description here










share|improve this question




























    3















    I want to make the next figure formed by 4 pentagons.



    enter image description here



    I can only do with two and still have a space between them. I can't even do the reflection of the two pentagons to get the desired figure.



    documentclass[a4paper]article

    usepackage[brazil]babel

    usepackagegraphicx

    usepackagetikz

    begindocument

    begincenter

    beginfigure[!htb]

    begintikzpicture

    draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

    endtikzpicture

    endfigure

    beginfigure[!htb]

    begintikzpicture
    draw[ultra thick,rotate around=198:(-0.80,0.58)] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

    endtikzpicture

    endfigure

    endcenter

    enddocument


    enter image description here










    share|improve this question


























      3












      3








      3








      I want to make the next figure formed by 4 pentagons.



      enter image description here



      I can only do with two and still have a space between them. I can't even do the reflection of the two pentagons to get the desired figure.



      documentclass[a4paper]article

      usepackage[brazil]babel

      usepackagegraphicx

      usepackagetikz

      begindocument

      begincenter

      beginfigure[!htb]

      begintikzpicture

      draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

      endtikzpicture

      endfigure

      beginfigure[!htb]

      begintikzpicture
      draw[ultra thick,rotate around=198:(-0.80,0.58)] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

      endtikzpicture

      endfigure

      endcenter

      enddocument


      enter image description here










      share|improve this question
















      I want to make the next figure formed by 4 pentagons.



      enter image description here



      I can only do with two and still have a space between them. I can't even do the reflection of the two pentagons to get the desired figure.



      documentclass[a4paper]article

      usepackage[brazil]babel

      usepackagegraphicx

      usepackagetikz

      begindocument

      begincenter

      beginfigure[!htb]

      begintikzpicture

      draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

      endtikzpicture

      endfigure

      beginfigure[!htb]

      begintikzpicture
      draw[ultra thick,rotate around=198:(-0.80,0.58)] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;

      endtikzpicture

      endfigure

      endcenter

      enddocument


      enter image description here







      tikz-pgf






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 hours ago







      Benedito Freire

















      asked 10 hours ago









      Benedito FreireBenedito Freire

      1277




      1277




















          2 Answers
          2






          active

          oldest

          votes


















          7














          You can draw more than one shape in the same tikzpicture:



          documentclass[a4paper]article

          usepackage[brazil]babel

          usepackagegraphicx

          usepackagetikz

          begindocument

          begincenter

          beginfigure[!htb]

          begintikzpicture

          draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
          beginscope[yshift=-3.22cm]
          draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
          endscope
          beginscope[xshift=3.8cm]
          draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
          beginscope[yshift=-3.22cm]
          draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
          endscope
          endscope
          endtikzpicture

          endfigure

          endcenter

          enddocument



          To make things easier, you can use predefined pentagons:



          documentclass[a4paper]article

          usepackagetikz
          usetikzlibraryshapes.geometric

          begindocument

          beginfigure[!htb]
          begintikzpicture[every node/.append style=regular polygon, regular polygon sides=5, minimum size=4cm, draw,ultra thick]
          node at (0,0) ;
          node at (3.8,0) ;
          node[rotate=180] at (0,-3.22) ;
          node[rotate=180] at (3.8,-3.22) ;
          endtikzpicture
          endfigure

          enddocument


          enter image description here



          Off-topic: please note that placing a floating figure environment inside a non-floating center environment does not make much sense..






          share|improve this answer
































            6














            Similar answer to @samcarter, but using named nodes -- avoids having to calculate the distances. My motto: Let TikZ do the work!



            documentclassarticle

            usepackagetikz

            usetikzlibraryshapes.geometric
            %% The size can easily altered by changing the minimum size
            tikzsetpgon/.style=regular polygon,regular polygon sides=5,minimum size=1in,draw,ultra thick,outer sep=0pt

            begindocument

            tikz%
            node[pgon] (S) at (0,0) ;
            node[pgon,anchor=corner 2] (A) at (S.corner 5) ;
            %% The yshift accounts for the thickness of an ultra thick rule
            node[pgon,rotate=180,anchor=corner 4] (B) at (S.corner 3) ;
            node[pgon,rotate=180,anchor=corner 4] (C) at (A.corner 3) ;
            draw[fill=purple!50] (S.corner 5) --
            (A.corner 3) --
            (C.corner 5) --
            (S.corner 4) -- cycle;


            enddocument


            Example of pentagons.






            share|improve this answer




















            • 1





              @marmot Good point. Making the change. Thanks.

              – sgmoye
              7 hours ago











            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%2f483225%2fhow-to-draw-the-figure-with-four-pentagons%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









            7














            You can draw more than one shape in the same tikzpicture:



            documentclass[a4paper]article

            usepackage[brazil]babel

            usepackagegraphicx

            usepackagetikz

            begindocument

            begincenter

            beginfigure[!htb]

            begintikzpicture

            draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
            beginscope[yshift=-3.22cm]
            draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
            endscope
            beginscope[xshift=3.8cm]
            draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
            beginscope[yshift=-3.22cm]
            draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
            endscope
            endscope
            endtikzpicture

            endfigure

            endcenter

            enddocument



            To make things easier, you can use predefined pentagons:



            documentclass[a4paper]article

            usepackagetikz
            usetikzlibraryshapes.geometric

            begindocument

            beginfigure[!htb]
            begintikzpicture[every node/.append style=regular polygon, regular polygon sides=5, minimum size=4cm, draw,ultra thick]
            node at (0,0) ;
            node at (3.8,0) ;
            node[rotate=180] at (0,-3.22) ;
            node[rotate=180] at (3.8,-3.22) ;
            endtikzpicture
            endfigure

            enddocument


            enter image description here



            Off-topic: please note that placing a floating figure environment inside a non-floating center environment does not make much sense..






            share|improve this answer





























              7














              You can draw more than one shape in the same tikzpicture:



              documentclass[a4paper]article

              usepackage[brazil]babel

              usepackagegraphicx

              usepackagetikz

              begindocument

              begincenter

              beginfigure[!htb]

              begintikzpicture

              draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
              beginscope[yshift=-3.22cm]
              draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
              endscope
              beginscope[xshift=3.8cm]
              draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
              beginscope[yshift=-3.22cm]
              draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
              endscope
              endscope
              endtikzpicture

              endfigure

              endcenter

              enddocument



              To make things easier, you can use predefined pentagons:



              documentclass[a4paper]article

              usepackagetikz
              usetikzlibraryshapes.geometric

              begindocument

              beginfigure[!htb]
              begintikzpicture[every node/.append style=regular polygon, regular polygon sides=5, minimum size=4cm, draw,ultra thick]
              node at (0,0) ;
              node at (3.8,0) ;
              node[rotate=180] at (0,-3.22) ;
              node[rotate=180] at (3.8,-3.22) ;
              endtikzpicture
              endfigure

              enddocument


              enter image description here



              Off-topic: please note that placing a floating figure environment inside a non-floating center environment does not make much sense..






              share|improve this answer



























                7












                7








                7







                You can draw more than one shape in the same tikzpicture:



                documentclass[a4paper]article

                usepackage[brazil]babel

                usepackagegraphicx

                usepackagetikz

                begindocument

                begincenter

                beginfigure[!htb]

                begintikzpicture

                draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                beginscope[yshift=-3.22cm]
                draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                endscope
                beginscope[xshift=3.8cm]
                draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                beginscope[yshift=-3.22cm]
                draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                endscope
                endscope
                endtikzpicture

                endfigure

                endcenter

                enddocument



                To make things easier, you can use predefined pentagons:



                documentclass[a4paper]article

                usepackagetikz
                usetikzlibraryshapes.geometric

                begindocument

                beginfigure[!htb]
                begintikzpicture[every node/.append style=regular polygon, regular polygon sides=5, minimum size=4cm, draw,ultra thick]
                node at (0,0) ;
                node at (3.8,0) ;
                node[rotate=180] at (0,-3.22) ;
                node[rotate=180] at (3.8,-3.22) ;
                endtikzpicture
                endfigure

                enddocument


                enter image description here



                Off-topic: please note that placing a floating figure environment inside a non-floating center environment does not make much sense..






                share|improve this answer















                You can draw more than one shape in the same tikzpicture:



                documentclass[a4paper]article

                usepackage[brazil]babel

                usepackagegraphicx

                usepackagetikz

                begindocument

                begincenter

                beginfigure[!htb]

                begintikzpicture

                draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                beginscope[yshift=-3.22cm]
                draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                endscope
                beginscope[xshift=3.8cm]
                draw[ultra thick,rotate=18] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                beginscope[yshift=-3.22cm]
                draw[ultra thick,rotate=198] (0:2) -- (72:2) -- (144:2) -- (216:2) -- (288:2) -- cycle;
                endscope
                endscope
                endtikzpicture

                endfigure

                endcenter

                enddocument



                To make things easier, you can use predefined pentagons:



                documentclass[a4paper]article

                usepackagetikz
                usetikzlibraryshapes.geometric

                begindocument

                beginfigure[!htb]
                begintikzpicture[every node/.append style=regular polygon, regular polygon sides=5, minimum size=4cm, draw,ultra thick]
                node at (0,0) ;
                node at (3.8,0) ;
                node[rotate=180] at (0,-3.22) ;
                node[rotate=180] at (3.8,-3.22) ;
                endtikzpicture
                endfigure

                enddocument


                enter image description here



                Off-topic: please note that placing a floating figure environment inside a non-floating center environment does not make much sense..







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 8 hours ago

























                answered 9 hours ago









                samcartersamcarter

                93.8k7105303




                93.8k7105303





















                    6














                    Similar answer to @samcarter, but using named nodes -- avoids having to calculate the distances. My motto: Let TikZ do the work!



                    documentclassarticle

                    usepackagetikz

                    usetikzlibraryshapes.geometric
                    %% The size can easily altered by changing the minimum size
                    tikzsetpgon/.style=regular polygon,regular polygon sides=5,minimum size=1in,draw,ultra thick,outer sep=0pt

                    begindocument

                    tikz%
                    node[pgon] (S) at (0,0) ;
                    node[pgon,anchor=corner 2] (A) at (S.corner 5) ;
                    %% The yshift accounts for the thickness of an ultra thick rule
                    node[pgon,rotate=180,anchor=corner 4] (B) at (S.corner 3) ;
                    node[pgon,rotate=180,anchor=corner 4] (C) at (A.corner 3) ;
                    draw[fill=purple!50] (S.corner 5) --
                    (A.corner 3) --
                    (C.corner 5) --
                    (S.corner 4) -- cycle;


                    enddocument


                    Example of pentagons.






                    share|improve this answer




















                    • 1





                      @marmot Good point. Making the change. Thanks.

                      – sgmoye
                      7 hours ago















                    6














                    Similar answer to @samcarter, but using named nodes -- avoids having to calculate the distances. My motto: Let TikZ do the work!



                    documentclassarticle

                    usepackagetikz

                    usetikzlibraryshapes.geometric
                    %% The size can easily altered by changing the minimum size
                    tikzsetpgon/.style=regular polygon,regular polygon sides=5,minimum size=1in,draw,ultra thick,outer sep=0pt

                    begindocument

                    tikz%
                    node[pgon] (S) at (0,0) ;
                    node[pgon,anchor=corner 2] (A) at (S.corner 5) ;
                    %% The yshift accounts for the thickness of an ultra thick rule
                    node[pgon,rotate=180,anchor=corner 4] (B) at (S.corner 3) ;
                    node[pgon,rotate=180,anchor=corner 4] (C) at (A.corner 3) ;
                    draw[fill=purple!50] (S.corner 5) --
                    (A.corner 3) --
                    (C.corner 5) --
                    (S.corner 4) -- cycle;


                    enddocument


                    Example of pentagons.






                    share|improve this answer




















                    • 1





                      @marmot Good point. Making the change. Thanks.

                      – sgmoye
                      7 hours ago













                    6












                    6








                    6







                    Similar answer to @samcarter, but using named nodes -- avoids having to calculate the distances. My motto: Let TikZ do the work!



                    documentclassarticle

                    usepackagetikz

                    usetikzlibraryshapes.geometric
                    %% The size can easily altered by changing the minimum size
                    tikzsetpgon/.style=regular polygon,regular polygon sides=5,minimum size=1in,draw,ultra thick,outer sep=0pt

                    begindocument

                    tikz%
                    node[pgon] (S) at (0,0) ;
                    node[pgon,anchor=corner 2] (A) at (S.corner 5) ;
                    %% The yshift accounts for the thickness of an ultra thick rule
                    node[pgon,rotate=180,anchor=corner 4] (B) at (S.corner 3) ;
                    node[pgon,rotate=180,anchor=corner 4] (C) at (A.corner 3) ;
                    draw[fill=purple!50] (S.corner 5) --
                    (A.corner 3) --
                    (C.corner 5) --
                    (S.corner 4) -- cycle;


                    enddocument


                    Example of pentagons.






                    share|improve this answer















                    Similar answer to @samcarter, but using named nodes -- avoids having to calculate the distances. My motto: Let TikZ do the work!



                    documentclassarticle

                    usepackagetikz

                    usetikzlibraryshapes.geometric
                    %% The size can easily altered by changing the minimum size
                    tikzsetpgon/.style=regular polygon,regular polygon sides=5,minimum size=1in,draw,ultra thick,outer sep=0pt

                    begindocument

                    tikz%
                    node[pgon] (S) at (0,0) ;
                    node[pgon,anchor=corner 2] (A) at (S.corner 5) ;
                    %% The yshift accounts for the thickness of an ultra thick rule
                    node[pgon,rotate=180,anchor=corner 4] (B) at (S.corner 3) ;
                    node[pgon,rotate=180,anchor=corner 4] (C) at (A.corner 3) ;
                    draw[fill=purple!50] (S.corner 5) --
                    (A.corner 3) --
                    (C.corner 5) --
                    (S.corner 4) -- cycle;


                    enddocument


                    Example of pentagons.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 7 hours ago

























                    answered 8 hours ago









                    sgmoyesgmoye

                    4,02811327




                    4,02811327







                    • 1





                      @marmot Good point. Making the change. Thanks.

                      – sgmoye
                      7 hours ago












                    • 1





                      @marmot Good point. Making the change. Thanks.

                      – sgmoye
                      7 hours ago







                    1




                    1





                    @marmot Good point. Making the change. Thanks.

                    – sgmoye
                    7 hours ago





                    @marmot Good point. Making the change. Thanks.

                    – sgmoye
                    7 hours ago

















                    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%2f483225%2fhow-to-draw-the-figure-with-four-pentagons%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

                    Reverse int within the 32-bit signed integer range: [−2^31, 2^31 − 1]Combining two 32-bit integers into one 64-bit integerDetermine if an int is within rangeLossy packing 32 bit integer to 16 bitComputing the square root of a 64-bit integerKeeping integer addition within boundsSafe multiplication of two 64-bit signed integersLeetcode 10: Regular Expression MatchingSigned integer-to-ascii x86_64 assembler macroReverse the digits of an Integer“Add two numbers given in reverse order from a linked list”

                    Category:Fedor von Bock Media in category "Fedor von Bock"Navigation menuUpload mediaISNI: 0000 0000 5511 3417VIAF ID: 24712551GND ID: 119294796Library of Congress authority ID: n96068363BnF ID: 12534305fSUDOC authorities ID: 034604189Open Library ID: OL338253ANKCR AUT ID: jn19990000869National Library of Israel ID: 000514068National Thesaurus for Author Names ID: 341574317ReasonatorScholiaStatistics

                    Kiel Indholdsfortegnelse Historie | Transport og færgeforbindelser | Sejlsport og anden sport | Kultur | Kendte personer fra Kiel | Noter | Litteratur | Eksterne henvisninger | Navigationsmenuwww.kiel.de54°19′31″N 10°8′26″Ø / 54.32528°N 10.14056°Ø / 54.32528; 10.14056Oberbürgermeister Dr. Ulf Kämpferwww.statistik-nord.deDen danske Stats StatistikKiels hjemmesiderrrWorldCat312794080n790547494030481-4