Draw pill tablet capsule with tikz Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to draw a water droplet in Latex?TikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationNumerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideDraw plots with tikzTikZ: 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 split a (Hobby) path in twoDraw rounded lines with tikz

Who can trigger ship-wide alerts in Star Trek?

How do you clear the ApexPages.getMessages() collection in a test?

Limit for e and 1/e

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Unable to start mainnet node docker container

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Can the prologue be the backstory of your main character?

Geometric mean and geometric standard deviation

Can I add database to AWS RDS MySQL without creating new instance?

How does modal jazz use chord progressions?

Active filter with series inductor and resistor - do these exist?

What do you call the holes in a flute?

I'm having difficulty getting my players to do stuff in a sandbox campaign

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Did the new image of black hole confirm the general theory of relativity?

Windows 10: How to Lock (not sleep) laptop on lid close?

Stop battery usage [Ubuntu 18]

Using "nakedly" instead of "with nothing on"

Simulating Exploding Dice

Classification of bundles, Postnikov towers, obstruction theory, local coefficients

Two different pronunciation of "понял"

How is simplicity better than precision and clarity in prose?

Estimate capacitor parameters

What to do with post with dry rot?



Draw pill tablet capsule with tikz



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to draw a water droplet in Latex?TikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationNumerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideDraw plots with tikzTikZ: 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 split a (Hobby) path in twoDraw rounded lines with tikz










3















I want to draw two icons (pill and capsule), and these icons can repeat and resize.



Minimal working code from How to draw a water droplet in Latex?:



documentclassarticle
usepackagetikz
usetikzlibrarycalc
newcommanddroplet%
begintikzpicture
coordinate (a) at (0,1.5);% Change 1.5 to change the shape of the droplet
node [circle,draw,fill=blue,blue] (c) at (0,0) [minimum size=40pt] $c$;
draw[blue,fill] (a) -- (tangent cs:node=c,point=(a),solution=1) --
(c.center) -- (tangent cs:node=c,point=(a),solution=2) -- cycle;
endtikzpicture%

begindocument

droplet quad droplet

enddocument


Enter image description here



Enter image description here



Two icons can be together or alone, and repeat and resize.










share|improve this question




























    3















    I want to draw two icons (pill and capsule), and these icons can repeat and resize.



    Minimal working code from How to draw a water droplet in Latex?:



    documentclassarticle
    usepackagetikz
    usetikzlibrarycalc
    newcommanddroplet%
    begintikzpicture
    coordinate (a) at (0,1.5);% Change 1.5 to change the shape of the droplet
    node [circle,draw,fill=blue,blue] (c) at (0,0) [minimum size=40pt] $c$;
    draw[blue,fill] (a) -- (tangent cs:node=c,point=(a),solution=1) --
    (c.center) -- (tangent cs:node=c,point=(a),solution=2) -- cycle;
    endtikzpicture%

    begindocument

    droplet quad droplet

    enddocument


    Enter image description here



    Enter image description here



    Two icons can be together or alone, and repeat and resize.










    share|improve this question


























      3












      3








      3








      I want to draw two icons (pill and capsule), and these icons can repeat and resize.



      Minimal working code from How to draw a water droplet in Latex?:



      documentclassarticle
      usepackagetikz
      usetikzlibrarycalc
      newcommanddroplet%
      begintikzpicture
      coordinate (a) at (0,1.5);% Change 1.5 to change the shape of the droplet
      node [circle,draw,fill=blue,blue] (c) at (0,0) [minimum size=40pt] $c$;
      draw[blue,fill] (a) -- (tangent cs:node=c,point=(a),solution=1) --
      (c.center) -- (tangent cs:node=c,point=(a),solution=2) -- cycle;
      endtikzpicture%

      begindocument

      droplet quad droplet

      enddocument


      Enter image description here



      Enter image description here



      Two icons can be together or alone, and repeat and resize.










      share|improve this question
















      I want to draw two icons (pill and capsule), and these icons can repeat and resize.



      Minimal working code from How to draw a water droplet in Latex?:



      documentclassarticle
      usepackagetikz
      usetikzlibrarycalc
      newcommanddroplet%
      begintikzpicture
      coordinate (a) at (0,1.5);% Change 1.5 to change the shape of the droplet
      node [circle,draw,fill=blue,blue] (c) at (0,0) [minimum size=40pt] $c$;
      draw[blue,fill] (a) -- (tangent cs:node=c,point=(a),solution=1) --
      (c.center) -- (tangent cs:node=c,point=(a),solution=2) -- cycle;
      endtikzpicture%

      begindocument

      droplet quad droplet

      enddocument


      Enter image description here



      Enter image description here



      Two icons can be together or alone, and repeat and resize.







      tikz-pgf






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 hours ago









      Peter Mortensen

      55037




      55037










      asked yesterday









      latexfortilatexforti

      4987




      4987




















          1 Answer
          1






          active

          oldest

          votes


















          9














          The following has some (hopefully) self-explaining pgfkeys that control their dimensions in order to make it easier to scale them. Do not consume them in combination with alcohol or when maneuvering heavy machinery. ;-)



          documentclassarticle
          usepackagetikz
          usepackagetikz-3dplot
          begindocument
          tdplotsetmaincoords7000
          begintikzpicture[rotate=-45,tdplot_main_coords,pill radius/.initial=1,
          pill length/.initial=3]
          draw[top color=red!10,bottom color=red!80!black,middle color=red,shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),
          -(pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)+pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          draw[top color=blue!10,bottom color=blue!80!black,middle color=blue,
          shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(-x),
          (pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)-pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          endtikzpicturequad
          begintikzpicture[gap width/.initial=1mm,diameter/.initial=1cm]
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:225:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:-135:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!30] (0,0)
          circle[radius=pgfkeysvalueof/tikz/diameter-pgfkeysvalueof/tikz/gap width];
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (-sqrt(2)*pgfkeysvalueof/tikz/gap width,0) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (0,-sqrt(2)*pgfkeysvalueof/tikz/gap width) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer

























          • Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

            – latexforti
            23 hours ago






          • 1





            @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

            – marmot
            23 hours ago











          • can you use "documentclassarticle"? thanks

            – latexforti
            23 hours ago






          • 1





            @latexforti Done

            – marmot
            22 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%2f484735%2fdraw-pill-tablet-capsule-with-tikz%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          9














          The following has some (hopefully) self-explaining pgfkeys that control their dimensions in order to make it easier to scale them. Do not consume them in combination with alcohol or when maneuvering heavy machinery. ;-)



          documentclassarticle
          usepackagetikz
          usepackagetikz-3dplot
          begindocument
          tdplotsetmaincoords7000
          begintikzpicture[rotate=-45,tdplot_main_coords,pill radius/.initial=1,
          pill length/.initial=3]
          draw[top color=red!10,bottom color=red!80!black,middle color=red,shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),
          -(pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)+pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          draw[top color=blue!10,bottom color=blue!80!black,middle color=blue,
          shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(-x),
          (pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)-pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          endtikzpicturequad
          begintikzpicture[gap width/.initial=1mm,diameter/.initial=1cm]
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:225:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:-135:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!30] (0,0)
          circle[radius=pgfkeysvalueof/tikz/diameter-pgfkeysvalueof/tikz/gap width];
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (-sqrt(2)*pgfkeysvalueof/tikz/gap width,0) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (0,-sqrt(2)*pgfkeysvalueof/tikz/gap width) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer

























          • Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

            – latexforti
            23 hours ago






          • 1





            @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

            – marmot
            23 hours ago











          • can you use "documentclassarticle"? thanks

            – latexforti
            23 hours ago






          • 1





            @latexforti Done

            – marmot
            22 hours ago















          9














          The following has some (hopefully) self-explaining pgfkeys that control their dimensions in order to make it easier to scale them. Do not consume them in combination with alcohol or when maneuvering heavy machinery. ;-)



          documentclassarticle
          usepackagetikz
          usepackagetikz-3dplot
          begindocument
          tdplotsetmaincoords7000
          begintikzpicture[rotate=-45,tdplot_main_coords,pill radius/.initial=1,
          pill length/.initial=3]
          draw[top color=red!10,bottom color=red!80!black,middle color=red,shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),
          -(pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)+pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          draw[top color=blue!10,bottom color=blue!80!black,middle color=blue,
          shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(-x),
          (pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)-pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          endtikzpicturequad
          begintikzpicture[gap width/.initial=1mm,diameter/.initial=1cm]
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:225:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:-135:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!30] (0,0)
          circle[radius=pgfkeysvalueof/tikz/diameter-pgfkeysvalueof/tikz/gap width];
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (-sqrt(2)*pgfkeysvalueof/tikz/gap width,0) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (0,-sqrt(2)*pgfkeysvalueof/tikz/gap width) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer

























          • Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

            – latexforti
            23 hours ago






          • 1





            @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

            – marmot
            23 hours ago











          • can you use "documentclassarticle"? thanks

            – latexforti
            23 hours ago






          • 1





            @latexforti Done

            – marmot
            22 hours ago













          9












          9








          9







          The following has some (hopefully) self-explaining pgfkeys that control their dimensions in order to make it easier to scale them. Do not consume them in combination with alcohol or when maneuvering heavy machinery. ;-)



          documentclassarticle
          usepackagetikz
          usepackagetikz-3dplot
          begindocument
          tdplotsetmaincoords7000
          begintikzpicture[rotate=-45,tdplot_main_coords,pill radius/.initial=1,
          pill length/.initial=3]
          draw[top color=red!10,bottom color=red!80!black,middle color=red,shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),
          -(pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)+pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          draw[top color=blue!10,bottom color=blue!80!black,middle color=blue,
          shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(-x),
          (pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)-pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          endtikzpicturequad
          begintikzpicture[gap width/.initial=1mm,diameter/.initial=1cm]
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:225:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:-135:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!30] (0,0)
          circle[radius=pgfkeysvalueof/tikz/diameter-pgfkeysvalueof/tikz/gap width];
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (-sqrt(2)*pgfkeysvalueof/tikz/gap width,0) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (0,-sqrt(2)*pgfkeysvalueof/tikz/gap width) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          endtikzpicture
          enddocument


          enter image description here






          share|improve this answer















          The following has some (hopefully) self-explaining pgfkeys that control their dimensions in order to make it easier to scale them. Do not consume them in combination with alcohol or when maneuvering heavy machinery. ;-)



          documentclassarticle
          usepackagetikz
          usepackagetikz-3dplot
          begindocument
          tdplotsetmaincoords7000
          begintikzpicture[rotate=-45,tdplot_main_coords,pill radius/.initial=1,
          pill length/.initial=3]
          draw[top color=red!10,bottom color=red!80!black,middle color=red,shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),
          -(pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)+pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          draw[top color=blue!10,bottom color=blue!80!black,middle color=blue,
          shading angle=90-45]
          plot[variable=x,domain=tdplotmainphi:tdplotmainphi-180]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(x),0)
          -- plot[variable=x,domain=tdplotmainphi-180:tdplotmainphi]
          (pgfkeysvalueof/tikz/pill radius*cos(x),pgfkeysvalueof/tikz/pill radius*sin(-x),
          (pgfkeysvalueof/tikz/pill length-pgfkeysvalueof/tikz/pill radius)-pgfkeysvalueof/tikz/pill radius*sin(x)) -- cycle;
          endtikzpicturequad
          begintikzpicture[gap width/.initial=1mm,diameter/.initial=1cm]
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:225:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter)
          arc(45:-135:pgfkeysvalueof/tikz/diameter) --
          cycle;
          fill[blue!30] (0,0)
          circle[radius=pgfkeysvalueof/tikz/diameter-pgfkeysvalueof/tikz/gap width];
          fill[blue!50] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (-sqrt(2)*pgfkeysvalueof/tikz/gap width,0) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          fill[blue!20] (45:pgfkeysvalueof/tikz/diameter) --
          ++ (0,-sqrt(2)*pgfkeysvalueof/tikz/gap width) --
          ++ (-135:2*pgfkeysvalueof/tikz/diameter-2*pgfkeysvalueof/tikz/gap width)
          -- (225:pgfkeysvalueof/tikz/diameter) -- cycle;
          endtikzpicture
          enddocument


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 22 hours ago

























          answered 23 hours ago









          marmotmarmot

          118k6151284




          118k6151284












          • Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

            – latexforti
            23 hours ago






          • 1





            @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

            – marmot
            23 hours ago











          • can you use "documentclassarticle"? thanks

            – latexforti
            23 hours ago






          • 1





            @latexforti Done

            – marmot
            22 hours ago

















          • Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

            – latexforti
            23 hours ago






          • 1





            @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

            – marmot
            23 hours ago











          • can you use "documentclassarticle"? thanks

            – latexforti
            23 hours ago






          • 1





            @latexforti Done

            – marmot
            22 hours ago
















          Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

          – latexforti
          23 hours ago





          Your icon is super, can you edit your code that can copy and resize this icon? Thank so much. and add more circle table icon

          – latexforti
          23 hours ago




          1




          1





          @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

          – marmot
          23 hours ago





          @latexforti You can resize it e.g. by saying scale=0.5 and the tablet will probably come in a bit.

          – marmot
          23 hours ago













          can you use "documentclassarticle"? thanks

          – latexforti
          23 hours ago





          can you use "documentclassarticle"? thanks

          – latexforti
          23 hours ago




          1




          1





          @latexforti Done

          – marmot
          22 hours ago





          @latexforti Done

          – marmot
          22 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%2f484735%2fdraw-pill-tablet-capsule-with-tikz%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          -tikz-pgf

          Popular posts from this blog

          Frič See also Navigation menuinternal link

          Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

          fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox