Draw pill tablet capsule with tikz Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to 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

How would a mousetrap for use in space work?

Karn the great creator - 'card from outside the game' in sealed

Strange behavior of Object.defineProperty() in JavaScript

Significance of Cersei's obsession with elephants?

How fail-safe is nr as stop bytes?

Did any compiler fully use 80-bit floating point?

preposition before coffee

Why weren't discrete x86 CPUs ever used in game hardware?

Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?

The test team as an enemy of development? And how can this be avoided?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Dynamic filling of a region of a polar plot

Time evolution of a Gaussian wave packet, why convert to k-space?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

Google .dev domain strangely redirects to https

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

What does it mean that physics no longer uses mechanical models to describe phenomena?

How many time has Arya actually used Needle?

What's the meaning of "fortified infraction restraint"?

What do you call the main part of a joke?

Lagrange four-squares theorem --- deterministic complexity

Girl Hackers - Logic Puzzle

Is CEO the "profession" with the most psychopaths?

Why are my pictures showing a dark band on one edge?



Draw pill tablet capsule with tikz



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to 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 Apr 14 at 16:42









      Peter Mortensen

      55237




      55237










      asked Apr 14 at 2:00









      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
            Apr 14 at 4:01






          • 1





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

            – marmot
            Apr 14 at 4:03











          • can you use "documentclassarticle"? thanks

            – latexforti
            Apr 14 at 4:08






          • 1





            @latexforti Done

            – marmot
            Apr 14 at 4:34











          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
            Apr 14 at 4:01






          • 1





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

            – marmot
            Apr 14 at 4:03











          • can you use "documentclassarticle"? thanks

            – latexforti
            Apr 14 at 4:08






          • 1





            @latexforti Done

            – marmot
            Apr 14 at 4:34















          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
            Apr 14 at 4:01






          • 1





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

            – marmot
            Apr 14 at 4:03











          • can you use "documentclassarticle"? thanks

            – latexforti
            Apr 14 at 4:08






          • 1





            @latexforti Done

            – marmot
            Apr 14 at 4:34













          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 Apr 14 at 4:34

























          answered Apr 14 at 3:54









          marmotmarmot

          119k6154289




          119k6154289












          • 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
            Apr 14 at 4:01






          • 1





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

            – marmot
            Apr 14 at 4:03











          • can you use "documentclassarticle"? thanks

            – latexforti
            Apr 14 at 4:08






          • 1





            @latexforti Done

            – marmot
            Apr 14 at 4:34

















          • 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
            Apr 14 at 4:01






          • 1





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

            – marmot
            Apr 14 at 4:03











          • can you use "documentclassarticle"? thanks

            – latexforti
            Apr 14 at 4:08






          • 1





            @latexforti Done

            – marmot
            Apr 14 at 4:34
















          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
          Apr 14 at 4:01





          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
          Apr 14 at 4:01




          1




          1





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

          – marmot
          Apr 14 at 4:03





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

          – marmot
          Apr 14 at 4:03













          can you use "documentclassarticle"? thanks

          – latexforti
          Apr 14 at 4:08





          can you use "documentclassarticle"? thanks

          – latexforti
          Apr 14 at 4:08




          1




          1





          @latexforti Done

          – marmot
          Apr 14 at 4:34





          @latexforti Done

          – marmot
          Apr 14 at 4:34

















          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

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company