Draw this image in the TIKZ package [closed]How to the red dot draw an ellipse?tikz draw timeline imageMaking this image in TikZRecreating this TikZ imageCreating this image in TiKZHow to draw this figure in tikz?Create tikz image from image templateHow to draw this scheme in TikZ?draw lines from section of an included image in tikz?Is it possible to draw this image in tikz?I want to draw the image attached. Which TikZ packages could I use for this?

OP Amp not amplifying audio signal

Can I hook these wires up to find the connection to a dead outlet?

Ambiguity in the definition of entropy

Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?

How to find if SQL server backup is encrypted with TDE without restoring the backup

Notepad++ delete until colon for every line with replace all

Does int main() need a declaration on C++?

Was the Stack Exchange "Happy April Fools" page fitting with the '90's code?

Can compressed videos be decoded back to their uncompresed original format?

Can someone clarify Hamming's notion of important problems in relation to modern academia?

Send out email when Apex Queueable fails and test it

What is the fastest integer factorization to break RSA?

Bullying boss launched a smear campaign and made me unemployable

Could neural networks be considered metaheuristics?

Knowledge-based authentication using Domain-driven Design in C#

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

How obscure is the use of 令 in 令和?

Rotate ASCII Art by 45 Degrees

My ex-girlfriend uses my Apple ID to log in to her iPad. Do I have to give her my Apple ID password to reset it?

Do creatures with a listed speed of "0 ft., fly 30 ft. (hover)" ever touch the ground?

Am I breaking OOP practice with this architecture?

How can saying a song's name be a copyright violation?

Machine learning testing data

Convert seconds to minutes



Draw this image in the TIKZ package [closed]


How to the red dot draw an ellipse?tikz draw timeline imageMaking this image in TikZRecreating this TikZ imageCreating this image in TiKZHow to draw this figure in tikz?Create tikz image from image templateHow to draw this scheme in TikZ?draw lines from section of an included image in tikz?Is it possible to draw this image in tikz?I want to draw the image attached. Which TikZ packages could I use for this?













1















enter image description here



I need to draw this image using TikZ.










share|improve this question















closed as too broad by Werner, Raaja, egreg, JouleV, siracusa Mar 9 at 4:40


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • 5





    Welcome to TeX.se. I've changed your Portuguese request to English, which is the language of the site. But questions which just post an image and ask people to draw it for you are really not the best way to ask a question. Much of this diagram is quite simple, so can you edit your question to include a minimal document that shows at least some of what you've tried. Then we could help you with what you're having trouble with.

    – Alan Munn
    Mar 8 at 19:10















1















enter image description here



I need to draw this image using TikZ.










share|improve this question















closed as too broad by Werner, Raaja, egreg, JouleV, siracusa Mar 9 at 4:40


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • 5





    Welcome to TeX.se. I've changed your Portuguese request to English, which is the language of the site. But questions which just post an image and ask people to draw it for you are really not the best way to ask a question. Much of this diagram is quite simple, so can you edit your question to include a minimal document that shows at least some of what you've tried. Then we could help you with what you're having trouble with.

    – Alan Munn
    Mar 8 at 19:10













1












1








1


0






enter image description here



I need to draw this image using TikZ.










share|improve this question
















enter image description here



I need to draw this image using TikZ.







tikz-pgf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 19:09









Alan Munn

163k28433712




163k28433712










asked Mar 8 at 19:05









Ícaro ViterbreÍcaro Viterbre

263




263




closed as too broad by Werner, Raaja, egreg, JouleV, siracusa Mar 9 at 4:40


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as too broad by Werner, Raaja, egreg, JouleV, siracusa Mar 9 at 4:40


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 5





    Welcome to TeX.se. I've changed your Portuguese request to English, which is the language of the site. But questions which just post an image and ask people to draw it for you are really not the best way to ask a question. Much of this diagram is quite simple, so can you edit your question to include a minimal document that shows at least some of what you've tried. Then we could help you with what you're having trouble with.

    – Alan Munn
    Mar 8 at 19:10












  • 5





    Welcome to TeX.se. I've changed your Portuguese request to English, which is the language of the site. But questions which just post an image and ask people to draw it for you are really not the best way to ask a question. Much of this diagram is quite simple, so can you edit your question to include a minimal document that shows at least some of what you've tried. Then we could help you with what you're having trouble with.

    – Alan Munn
    Mar 8 at 19:10







5




5





Welcome to TeX.se. I've changed your Portuguese request to English, which is the language of the site. But questions which just post an image and ask people to draw it for you are really not the best way to ask a question. Much of this diagram is quite simple, so can you edit your question to include a minimal document that shows at least some of what you've tried. Then we could help you with what you're having trouble with.

– Alan Munn
Mar 8 at 19:10





Welcome to TeX.se. I've changed your Portuguese request to English, which is the language of the site. But questions which just post an image and ask people to draw it for you are really not the best way to ask a question. Much of this diagram is quite simple, so can you edit your question to include a minimal document that shows at least some of what you've tried. Then we could help you with what you're having trouble with.

– Alan Munn
Mar 8 at 19:10










4 Answers
4






active

oldest

votes


















8














Here is a way to build this figure that uses several key concepts from TikZ:



  • the scope

  • clip

  • the use of the intersections library

  • the use of node to place text.


  • sloped to write text tangent to a path

Their use is explained in the written comments in the code.



screenshot



documentclass[border=5mm]standalone
usepackagetikz
usetikzlibraryintersections

begindocument

begintikzpicture
% This scope allows you to draw the part of the circle inside the rectangle. The outer part is cut off.
beginscope% use of intersections library to define the intersections between circle and rectangle
draw[name path global=cadre,clip] (0,0) rectangle (3.5,4.5);
draw[name path global=cercle] (3.5,0)circle(4.6cm);
endscope

% draw both sides of the angular sector
draw[name intersections=of=cercle and cadre](intersection-2)--(3.5,0)--(intersection-1)node[above right,midway]h;

% sloped allow to write text tangent to the path
path[above] (intersection-1)to[bend left=15]node[sloped]$c(h)$(intersection-2);

% dimension of rectangle wrtien in 2 differents way
draw [<->](4.2,0)--node[right]q(4.2,4.5);
draw [<->](0,-.6)--(3.5,-.6)node[below,midway]p;
endtikzpicture

enddocument





share|improve this answer
































    8














    Using a local bounding box saves us from a lot of hassle here.



    documentclass[border=3.14mm,tikz]standalone
    begindocument
    begintikzpicture
    node[fill,inner sep=1.5pt,circle] (O) at (0,0);
    beginscope[local bounding box=box]
    draw (O.center) -- (100:4) arc(100:140:4) node[pos=0.7,above,sloped,inner
    xsep=0pt] $c(h)$
    -- node[midway,below] $h$ cycle;
    endscope
    draw (box.south west) rectangle (box.north east);
    draw[|-|] (1,0|-box.south) -- (1,0|-box.north)node[midway,fill=white]$p$;
    draw[|-|] (0,-1 -|box.west) -- (0,-1 -|box.east)node[midway,fill=white]$q$;
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer























    • +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

      – AndréC
      Mar 8 at 20:33



















    7














    A PSTricks solution just for fun.



    documentclass[pstricks,12pt]standalone
    usepackagepst-eucl
    begindocument
    beginpspicture[arrowinset=0](-5,-1)(1,5.5)
    pstGeonode[PointSymbol=none,PosAngle=-45](0,0)S
    pnodes(5;150)A(5;100)B
    pswedge(S)5(B)(A)
    psframe(A|S)(S|B)
    rput0(5.4;130)$c(h)$
    pcline(A)(S)ncput*$h$
    pcline[offset=-.5]<->(A|S)(S)ncput*$p$
    pcline[offset=.5]<->(S|B)(S)ncput*$q$
    endpspicture
    enddocument


    enter image description here






    share|improve this answer


















    • 1





      + 1 for (B)(A)

      – Trong Vuong
      Mar 9 at 1:51


















    3














    Here you go :)



    documentclassstandalone
    usepackagetikz

    begindocument
    begintikzpicture[x=0.75pt,y=0.75pt,yscale=-1,xscale=1,line width=0.75pt]
    draw (46.5,25) -- (145.5,25) -- (145.5,156.33) -- (46.5,156.33) -- cycle ;
    draw (46.5,176.33) -- (145.5,176.33) ;
    draw [shift=(145.5,176.33), rotate = 180] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
    draw [shift=(46.5,176.33), rotate = 0] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
    draw (165.5,156.33) -- (165.5,25) ;
    draw [shift=(165.5,25), rotate = 450] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
    draw [shift=(165.5,156.33), rotate = 270] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
    draw (46.88,52.66) -- (145.5,156.33) ;
    draw (117.77,25) -- (145.5,156.33) ;
    draw [draw opacity=0] (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) -- (117.08,127.92) -- cycle ; draw (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) ;

    % Text Nodes
    draw (99,163) node [align=left] $displaystyle p$;
    draw (174,91) node [align=left] $displaystyle q$;
    draw (101,96) node [align=left] $displaystyle h$;
    draw (153,160) node [align=left] $displaystyle s$;
    draw (82,40) node [scale=0.8] [align=left] $displaystyle c( h)$;
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer




















    • 2





      As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

      – Kurt
      Mar 8 at 19:45






    • 1





      And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

      – Alan Munn
      Mar 8 at 19:45












    • It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

      – Superuser27
      Mar 8 at 20:00











    • @AlanMunn you're right, thanks. Fixed it.

      – Superuser27
      Mar 8 at 20:02











    • @Superuser27: your code is from Geogebra, right?

      – Black Mild
      Mar 9 at 13:55

















    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    8














    Here is a way to build this figure that uses several key concepts from TikZ:



    • the scope

    • clip

    • the use of the intersections library

    • the use of node to place text.


    • sloped to write text tangent to a path

    Their use is explained in the written comments in the code.



    screenshot



    documentclass[border=5mm]standalone
    usepackagetikz
    usetikzlibraryintersections

    begindocument

    begintikzpicture
    % This scope allows you to draw the part of the circle inside the rectangle. The outer part is cut off.
    beginscope% use of intersections library to define the intersections between circle and rectangle
    draw[name path global=cadre,clip] (0,0) rectangle (3.5,4.5);
    draw[name path global=cercle] (3.5,0)circle(4.6cm);
    endscope

    % draw both sides of the angular sector
    draw[name intersections=of=cercle and cadre](intersection-2)--(3.5,0)--(intersection-1)node[above right,midway]h;

    % sloped allow to write text tangent to the path
    path[above] (intersection-1)to[bend left=15]node[sloped]$c(h)$(intersection-2);

    % dimension of rectangle wrtien in 2 differents way
    draw [<->](4.2,0)--node[right]q(4.2,4.5);
    draw [<->](0,-.6)--(3.5,-.6)node[below,midway]p;
    endtikzpicture

    enddocument





    share|improve this answer





























      8














      Here is a way to build this figure that uses several key concepts from TikZ:



      • the scope

      • clip

      • the use of the intersections library

      • the use of node to place text.


      • sloped to write text tangent to a path

      Their use is explained in the written comments in the code.



      screenshot



      documentclass[border=5mm]standalone
      usepackagetikz
      usetikzlibraryintersections

      begindocument

      begintikzpicture
      % This scope allows you to draw the part of the circle inside the rectangle. The outer part is cut off.
      beginscope% use of intersections library to define the intersections between circle and rectangle
      draw[name path global=cadre,clip] (0,0) rectangle (3.5,4.5);
      draw[name path global=cercle] (3.5,0)circle(4.6cm);
      endscope

      % draw both sides of the angular sector
      draw[name intersections=of=cercle and cadre](intersection-2)--(3.5,0)--(intersection-1)node[above right,midway]h;

      % sloped allow to write text tangent to the path
      path[above] (intersection-1)to[bend left=15]node[sloped]$c(h)$(intersection-2);

      % dimension of rectangle wrtien in 2 differents way
      draw [<->](4.2,0)--node[right]q(4.2,4.5);
      draw [<->](0,-.6)--(3.5,-.6)node[below,midway]p;
      endtikzpicture

      enddocument





      share|improve this answer



























        8












        8








        8







        Here is a way to build this figure that uses several key concepts from TikZ:



        • the scope

        • clip

        • the use of the intersections library

        • the use of node to place text.


        • sloped to write text tangent to a path

        Their use is explained in the written comments in the code.



        screenshot



        documentclass[border=5mm]standalone
        usepackagetikz
        usetikzlibraryintersections

        begindocument

        begintikzpicture
        % This scope allows you to draw the part of the circle inside the rectangle. The outer part is cut off.
        beginscope% use of intersections library to define the intersections between circle and rectangle
        draw[name path global=cadre,clip] (0,0) rectangle (3.5,4.5);
        draw[name path global=cercle] (3.5,0)circle(4.6cm);
        endscope

        % draw both sides of the angular sector
        draw[name intersections=of=cercle and cadre](intersection-2)--(3.5,0)--(intersection-1)node[above right,midway]h;

        % sloped allow to write text tangent to the path
        path[above] (intersection-1)to[bend left=15]node[sloped]$c(h)$(intersection-2);

        % dimension of rectangle wrtien in 2 differents way
        draw [<->](4.2,0)--node[right]q(4.2,4.5);
        draw [<->](0,-.6)--(3.5,-.6)node[below,midway]p;
        endtikzpicture

        enddocument





        share|improve this answer















        Here is a way to build this figure that uses several key concepts from TikZ:



        • the scope

        • clip

        • the use of the intersections library

        • the use of node to place text.


        • sloped to write text tangent to a path

        Their use is explained in the written comments in the code.



        screenshot



        documentclass[border=5mm]standalone
        usepackagetikz
        usetikzlibraryintersections

        begindocument

        begintikzpicture
        % This scope allows you to draw the part of the circle inside the rectangle. The outer part is cut off.
        beginscope% use of intersections library to define the intersections between circle and rectangle
        draw[name path global=cadre,clip] (0,0) rectangle (3.5,4.5);
        draw[name path global=cercle] (3.5,0)circle(4.6cm);
        endscope

        % draw both sides of the angular sector
        draw[name intersections=of=cercle and cadre](intersection-2)--(3.5,0)--(intersection-1)node[above right,midway]h;

        % sloped allow to write text tangent to the path
        path[above] (intersection-1)to[bend left=15]node[sloped]$c(h)$(intersection-2);

        % dimension of rectangle wrtien in 2 differents way
        draw [<->](4.2,0)--node[right]q(4.2,4.5);
        draw [<->](0,-.6)--(3.5,-.6)node[below,midway]p;
        endtikzpicture

        enddocument






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 8 at 20:00

























        answered Mar 8 at 19:49









        AndréCAndréC

        10.5k11548




        10.5k11548





















            8














            Using a local bounding box saves us from a lot of hassle here.



            documentclass[border=3.14mm,tikz]standalone
            begindocument
            begintikzpicture
            node[fill,inner sep=1.5pt,circle] (O) at (0,0);
            beginscope[local bounding box=box]
            draw (O.center) -- (100:4) arc(100:140:4) node[pos=0.7,above,sloped,inner
            xsep=0pt] $c(h)$
            -- node[midway,below] $h$ cycle;
            endscope
            draw (box.south west) rectangle (box.north east);
            draw[|-|] (1,0|-box.south) -- (1,0|-box.north)node[midway,fill=white]$p$;
            draw[|-|] (0,-1 -|box.west) -- (0,-1 -|box.east)node[midway,fill=white]$q$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer























            • +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

              – AndréC
              Mar 8 at 20:33
















            8














            Using a local bounding box saves us from a lot of hassle here.



            documentclass[border=3.14mm,tikz]standalone
            begindocument
            begintikzpicture
            node[fill,inner sep=1.5pt,circle] (O) at (0,0);
            beginscope[local bounding box=box]
            draw (O.center) -- (100:4) arc(100:140:4) node[pos=0.7,above,sloped,inner
            xsep=0pt] $c(h)$
            -- node[midway,below] $h$ cycle;
            endscope
            draw (box.south west) rectangle (box.north east);
            draw[|-|] (1,0|-box.south) -- (1,0|-box.north)node[midway,fill=white]$p$;
            draw[|-|] (0,-1 -|box.west) -- (0,-1 -|box.east)node[midway,fill=white]$q$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer























            • +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

              – AndréC
              Mar 8 at 20:33














            8












            8








            8







            Using a local bounding box saves us from a lot of hassle here.



            documentclass[border=3.14mm,tikz]standalone
            begindocument
            begintikzpicture
            node[fill,inner sep=1.5pt,circle] (O) at (0,0);
            beginscope[local bounding box=box]
            draw (O.center) -- (100:4) arc(100:140:4) node[pos=0.7,above,sloped,inner
            xsep=0pt] $c(h)$
            -- node[midway,below] $h$ cycle;
            endscope
            draw (box.south west) rectangle (box.north east);
            draw[|-|] (1,0|-box.south) -- (1,0|-box.north)node[midway,fill=white]$p$;
            draw[|-|] (0,-1 -|box.west) -- (0,-1 -|box.east)node[midway,fill=white]$q$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer













            Using a local bounding box saves us from a lot of hassle here.



            documentclass[border=3.14mm,tikz]standalone
            begindocument
            begintikzpicture
            node[fill,inner sep=1.5pt,circle] (O) at (0,0);
            beginscope[local bounding box=box]
            draw (O.center) -- (100:4) arc(100:140:4) node[pos=0.7,above,sloped,inner
            xsep=0pt] $c(h)$
            -- node[midway,below] $h$ cycle;
            endscope
            draw (box.south west) rectangle (box.north east);
            draw[|-|] (1,0|-box.south) -- (1,0|-box.north)node[midway,fill=white]$p$;
            draw[|-|] (0,-1 -|box.west) -- (0,-1 -|box.east)node[midway,fill=white]$q$;
            endtikzpicture
            enddocument


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 8 at 20:13









            marmotmarmot

            114k5145276




            114k5145276












            • +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

              – AndréC
              Mar 8 at 20:33


















            • +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

              – AndréC
              Mar 8 at 20:33

















            +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

            – AndréC
            Mar 8 at 20:33






            +1 for the use of the local bounding box. You can simplify the drawing of the lengths p and q : draw[|-|] (1,0)nodea -- (1,0|-box.north)node[midway,fill=white]$p$; draw[|-|] (0,-1 -|box.west) -- (0,-1)node[midway,fill=white]$q$;

            – AndréC
            Mar 8 at 20:33












            7














            A PSTricks solution just for fun.



            documentclass[pstricks,12pt]standalone
            usepackagepst-eucl
            begindocument
            beginpspicture[arrowinset=0](-5,-1)(1,5.5)
            pstGeonode[PointSymbol=none,PosAngle=-45](0,0)S
            pnodes(5;150)A(5;100)B
            pswedge(S)5(B)(A)
            psframe(A|S)(S|B)
            rput0(5.4;130)$c(h)$
            pcline(A)(S)ncput*$h$
            pcline[offset=-.5]<->(A|S)(S)ncput*$p$
            pcline[offset=.5]<->(S|B)(S)ncput*$q$
            endpspicture
            enddocument


            enter image description here






            share|improve this answer


















            • 1





              + 1 for (B)(A)

              – Trong Vuong
              Mar 9 at 1:51















            7














            A PSTricks solution just for fun.



            documentclass[pstricks,12pt]standalone
            usepackagepst-eucl
            begindocument
            beginpspicture[arrowinset=0](-5,-1)(1,5.5)
            pstGeonode[PointSymbol=none,PosAngle=-45](0,0)S
            pnodes(5;150)A(5;100)B
            pswedge(S)5(B)(A)
            psframe(A|S)(S|B)
            rput0(5.4;130)$c(h)$
            pcline(A)(S)ncput*$h$
            pcline[offset=-.5]<->(A|S)(S)ncput*$p$
            pcline[offset=.5]<->(S|B)(S)ncput*$q$
            endpspicture
            enddocument


            enter image description here






            share|improve this answer


















            • 1





              + 1 for (B)(A)

              – Trong Vuong
              Mar 9 at 1:51













            7












            7








            7







            A PSTricks solution just for fun.



            documentclass[pstricks,12pt]standalone
            usepackagepst-eucl
            begindocument
            beginpspicture[arrowinset=0](-5,-1)(1,5.5)
            pstGeonode[PointSymbol=none,PosAngle=-45](0,0)S
            pnodes(5;150)A(5;100)B
            pswedge(S)5(B)(A)
            psframe(A|S)(S|B)
            rput0(5.4;130)$c(h)$
            pcline(A)(S)ncput*$h$
            pcline[offset=-.5]<->(A|S)(S)ncput*$p$
            pcline[offset=.5]<->(S|B)(S)ncput*$q$
            endpspicture
            enddocument


            enter image description here






            share|improve this answer













            A PSTricks solution just for fun.



            documentclass[pstricks,12pt]standalone
            usepackagepst-eucl
            begindocument
            beginpspicture[arrowinset=0](-5,-1)(1,5.5)
            pstGeonode[PointSymbol=none,PosAngle=-45](0,0)S
            pnodes(5;150)A(5;100)B
            pswedge(S)5(B)(A)
            psframe(A|S)(S|B)
            rput0(5.4;130)$c(h)$
            pcline(A)(S)ncput*$h$
            pcline[offset=-.5]<->(A|S)(S)ncput*$p$
            pcline[offset=.5]<->(S|B)(S)ncput*$q$
            endpspicture
            enddocument


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 8 at 20:02









            Artificial Hairless ArmpitArtificial Hairless Armpit

            5,04711142




            5,04711142







            • 1





              + 1 for (B)(A)

              – Trong Vuong
              Mar 9 at 1:51












            • 1





              + 1 for (B)(A)

              – Trong Vuong
              Mar 9 at 1:51







            1




            1





            + 1 for (B)(A)

            – Trong Vuong
            Mar 9 at 1:51





            + 1 for (B)(A)

            – Trong Vuong
            Mar 9 at 1:51











            3














            Here you go :)



            documentclassstandalone
            usepackagetikz

            begindocument
            begintikzpicture[x=0.75pt,y=0.75pt,yscale=-1,xscale=1,line width=0.75pt]
            draw (46.5,25) -- (145.5,25) -- (145.5,156.33) -- (46.5,156.33) -- cycle ;
            draw (46.5,176.33) -- (145.5,176.33) ;
            draw [shift=(145.5,176.33), rotate = 180] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(46.5,176.33), rotate = 0] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (165.5,156.33) -- (165.5,25) ;
            draw [shift=(165.5,25), rotate = 450] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(165.5,156.33), rotate = 270] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (46.88,52.66) -- (145.5,156.33) ;
            draw (117.77,25) -- (145.5,156.33) ;
            draw [draw opacity=0] (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) -- (117.08,127.92) -- cycle ; draw (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) ;

            % Text Nodes
            draw (99,163) node [align=left] $displaystyle p$;
            draw (174,91) node [align=left] $displaystyle q$;
            draw (101,96) node [align=left] $displaystyle h$;
            draw (153,160) node [align=left] $displaystyle s$;
            draw (82,40) node [scale=0.8] [align=left] $displaystyle c( h)$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer




















            • 2





              As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

              – Kurt
              Mar 8 at 19:45






            • 1





              And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

              – Alan Munn
              Mar 8 at 19:45












            • It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

              – Superuser27
              Mar 8 at 20:00











            • @AlanMunn you're right, thanks. Fixed it.

              – Superuser27
              Mar 8 at 20:02











            • @Superuser27: your code is from Geogebra, right?

              – Black Mild
              Mar 9 at 13:55















            3














            Here you go :)



            documentclassstandalone
            usepackagetikz

            begindocument
            begintikzpicture[x=0.75pt,y=0.75pt,yscale=-1,xscale=1,line width=0.75pt]
            draw (46.5,25) -- (145.5,25) -- (145.5,156.33) -- (46.5,156.33) -- cycle ;
            draw (46.5,176.33) -- (145.5,176.33) ;
            draw [shift=(145.5,176.33), rotate = 180] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(46.5,176.33), rotate = 0] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (165.5,156.33) -- (165.5,25) ;
            draw [shift=(165.5,25), rotate = 450] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(165.5,156.33), rotate = 270] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (46.88,52.66) -- (145.5,156.33) ;
            draw (117.77,25) -- (145.5,156.33) ;
            draw [draw opacity=0] (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) -- (117.08,127.92) -- cycle ; draw (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) ;

            % Text Nodes
            draw (99,163) node [align=left] $displaystyle p$;
            draw (174,91) node [align=left] $displaystyle q$;
            draw (101,96) node [align=left] $displaystyle h$;
            draw (153,160) node [align=left] $displaystyle s$;
            draw (82,40) node [scale=0.8] [align=left] $displaystyle c( h)$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer




















            • 2





              As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

              – Kurt
              Mar 8 at 19:45






            • 1





              And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

              – Alan Munn
              Mar 8 at 19:45












            • It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

              – Superuser27
              Mar 8 at 20:00











            • @AlanMunn you're right, thanks. Fixed it.

              – Superuser27
              Mar 8 at 20:02











            • @Superuser27: your code is from Geogebra, right?

              – Black Mild
              Mar 9 at 13:55













            3












            3








            3







            Here you go :)



            documentclassstandalone
            usepackagetikz

            begindocument
            begintikzpicture[x=0.75pt,y=0.75pt,yscale=-1,xscale=1,line width=0.75pt]
            draw (46.5,25) -- (145.5,25) -- (145.5,156.33) -- (46.5,156.33) -- cycle ;
            draw (46.5,176.33) -- (145.5,176.33) ;
            draw [shift=(145.5,176.33), rotate = 180] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(46.5,176.33), rotate = 0] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (165.5,156.33) -- (165.5,25) ;
            draw [shift=(165.5,25), rotate = 450] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(165.5,156.33), rotate = 270] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (46.88,52.66) -- (145.5,156.33) ;
            draw (117.77,25) -- (145.5,156.33) ;
            draw [draw opacity=0] (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) -- (117.08,127.92) -- cycle ; draw (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) ;

            % Text Nodes
            draw (99,163) node [align=left] $displaystyle p$;
            draw (174,91) node [align=left] $displaystyle q$;
            draw (101,96) node [align=left] $displaystyle h$;
            draw (153,160) node [align=left] $displaystyle s$;
            draw (82,40) node [scale=0.8] [align=left] $displaystyle c( h)$;
            endtikzpicture
            enddocument


            enter image description here






            share|improve this answer















            Here you go :)



            documentclassstandalone
            usepackagetikz

            begindocument
            begintikzpicture[x=0.75pt,y=0.75pt,yscale=-1,xscale=1,line width=0.75pt]
            draw (46.5,25) -- (145.5,25) -- (145.5,156.33) -- (46.5,156.33) -- cycle ;
            draw (46.5,176.33) -- (145.5,176.33) ;
            draw [shift=(145.5,176.33), rotate = 180] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(46.5,176.33), rotate = 0] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (165.5,156.33) -- (165.5,25) ;
            draw [shift=(165.5,25), rotate = 450] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-4.9) .. controls (6.95,-2.3) and (3.31,-0.67) .. (0,0) .. controls (3.31,0.67) and (6.95,2.3) .. (10.93,4.9) ;
            draw [shift=(165.5,156.33), rotate = 270] [color=rgb, 255:red, 0; green, 0; blue, 0 ][line width=0.75] (0,5.59) -- (0,-5.59)(10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
            draw (46.88,52.66) -- (145.5,156.33) ;
            draw (117.77,25) -- (145.5,156.33) ;
            draw [draw opacity=0] (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) -- (117.08,127.92) -- cycle ; draw (46.88,52.66) .. controls (65.27,35.5) and (89.95,25) .. (117.08,25) .. controls (117.31,25) and (117.54,25) .. (117.77,25) ;

            % Text Nodes
            draw (99,163) node [align=left] $displaystyle p$;
            draw (174,91) node [align=left] $displaystyle q$;
            draw (101,96) node [align=left] $displaystyle h$;
            draw (153,160) node [align=left] $displaystyle s$;
            draw (82,40) node [scale=0.8] [align=left] $displaystyle c( h)$;
            endtikzpicture
            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 8 at 19:59

























            answered Mar 8 at 19:40









            Superuser27Superuser27

            88816




            88816







            • 2





              As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

              – Kurt
              Mar 8 at 19:45






            • 1





              And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

              – Alan Munn
              Mar 8 at 19:45












            • It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

              – Superuser27
              Mar 8 at 20:00











            • @AlanMunn you're right, thanks. Fixed it.

              – Superuser27
              Mar 8 at 20:02











            • @Superuser27: your code is from Geogebra, right?

              – Black Mild
              Mar 9 at 13:55












            • 2





              As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

              – Kurt
              Mar 8 at 19:45






            • 1





              And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

              – Alan Munn
              Mar 8 at 19:45












            • It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

              – Superuser27
              Mar 8 at 20:00











            • @AlanMunn you're right, thanks. Fixed it.

              – Superuser27
              Mar 8 at 20:02











            • @Superuser27: your code is from Geogebra, right?

              – Black Mild
              Mar 9 at 13:55







            2




            2





            As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

            – Kurt
            Mar 8 at 19:45





            As always here -- please make your code snippet compilable, then we do not have to guess what you are doing with documentclass, used packages etc.

            – Kurt
            Mar 8 at 19:45




            1




            1





            And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

            – Alan Munn
            Mar 8 at 19:45






            And do you really want to set a style for every picture? This will affect all other tikzpictures, which is probably not desirable.

            – Alan Munn
            Mar 8 at 19:45














            It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

            – Superuser27
            Mar 8 at 20:00





            It's compilable now @Kurt, enjoy :) You can change document class if you like. Any should work, really... And only one package.

            – Superuser27
            Mar 8 at 20:00













            @AlanMunn you're right, thanks. Fixed it.

            – Superuser27
            Mar 8 at 20:02





            @AlanMunn you're right, thanks. Fixed it.

            – Superuser27
            Mar 8 at 20:02













            @Superuser27: your code is from Geogebra, right?

            – Black Mild
            Mar 9 at 13:55





            @Superuser27: your code is from Geogebra, right?

            – Black Mild
            Mar 9 at 13:55



            Popular posts from this blog

            Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

            2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme