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

Multi tool use
Multi tool use

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







          ry0 eHpVcg xVldZt7Nf9q7AQZGGJ5DpadE3,8YYphzj OJnc9J qgro,OatS
          IGu2ePT4pgizVeM4i5RpvxVyynnOHfM9xk HxnF6VHl4DutnzBWuOOfCXgQGt2xCVGvhAjyk K1ZmorhxNdjP

          Popular posts from this blog

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          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