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

          Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

          Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

          Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020