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

What LEGO pieces have "real-world" functionality?

Single word antonym of "flightless"

Storing hydrofluoric acid before the invention of plastics

How to find all the available tools in macOS terminal?

Did Xerox really develop the first LAN?

Why aren't air breathing engines used as small first stages

Letter Boxed validator

The logistics of corpse disposal

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

Is 1 ppb equal to 1 μg/kg?

Is there a "higher Segal conjecture"?

Should I call the interviewer directly, if HR aren't responding?

Why one of virtual NICs called bond0?

Is there a Spanish version of "dot your i's and cross your t's" that includes the letter 'ñ'?

Why was the term "discrete" used in discrete logarithm?

What does the "x" in "x86" represent?

How can players work together to take actions that are otherwise impossible?

How to motivate offshore teams and trust them to deliver?

Should I discuss the type of campaign with my players?

Bonus calculation: Am I making a mountain out of a molehill?

Why did the IBM 650 use bi-quinary?

ListPlot join points by nearest neighbor rather than order

How widely used is the term Treppenwitz? Is it something that most Germans know?

Using et al. for a last / senior author rather than for a first author



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 yesterday









      Peter Mortensen

      55037




      55037










      asked 2 days ago









      latexfortilatexforti

      5007




      5007




















          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
            yesterday






          • 1





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

            – marmot
            yesterday











          • can you use "documentclassarticle"? thanks

            – latexforti
            yesterday






          • 1





            @latexforti Done

            – marmot
            yesterday











          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
            yesterday






          • 1





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

            – marmot
            yesterday











          • can you use "documentclassarticle"? thanks

            – latexforti
            yesterday






          • 1





            @latexforti Done

            – marmot
            yesterday















          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
            yesterday






          • 1





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

            – marmot
            yesterday











          • can you use "documentclassarticle"? thanks

            – latexforti
            yesterday






          • 1





            @latexforti Done

            – marmot
            yesterday













          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 yesterday

























          answered yesterday









          marmotmarmot

          118k6152286




          118k6152286












          • 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
            yesterday






          • 1





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

            – marmot
            yesterday











          • can you use "documentclassarticle"? thanks

            – latexforti
            yesterday






          • 1





            @latexforti Done

            – marmot
            yesterday

















          • 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
            yesterday






          • 1





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

            – marmot
            yesterday











          • can you use "documentclassarticle"? thanks

            – latexforti
            yesterday






          • 1





            @latexforti Done

            – marmot
            yesterday
















          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
          yesterday





          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
          yesterday




          1




          1





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

          – marmot
          yesterday





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

          – marmot
          yesterday













          can you use "documentclassarticle"? thanks

          – latexforti
          yesterday





          can you use "documentclassarticle"? thanks

          – latexforti
          yesterday




          1




          1





          @latexforti Done

          – marmot
          yesterday





          @latexforti Done

          – marmot
          yesterday

















          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







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form