File:Semicircle.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 198 × 144 pixels, file size: 895 bytes)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Illustration of en:Semicircle
    Deutsch: Darstellung eines Halbkreises
    Source Own work
    Author Gustavb using PSTricks


    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    This licensing tag was added to this file as part of the GFDL licensing update.
    You may select the license of your choice.

    Source

    Semicircle.tex (PSTricks source)

    requires pstricks-add (because of the brace)

    \input pst-eps
    \input pst-plot
    \input pst-node
    \input pstricks-add
    \TeXtoEPS
    
    \psset{linecolor=black,linewidth=1.2pt}
    \psset{unit=2.5cm}
    \pspicture*(-1.1,-.4)(1.1,1.2)
    
    \pswedge(0,0){1}{0}{180} % semicircle
    
    \psline[linewidth=.6pt,linestyle=dashed,dash=3pt 4pt](0,-.2)(0,1.1)
    \psbrace[linewidth=.6pt,nodesepB=-8pt,rot=90](0,-4pt)(1,-4pt)
            {\scalebox{1.5}{$r$}}
    \endpspicture
    
    \endTeXtoEPS
    \nopagenumbers
    \end
    

    Instructions

    1. Create EPS
      $ tex Semicircle.tex && dvips -E Semicircle.dvi
    2. Outline fonts
      $ eps2eps -dNOCACHE Semicircle.ps Semicircle2.eps
    3. Fix bounding box
      $ ps2epsi Semicircle2.eps Semicircle.eps
    4. Convert to Sketch
      $ pstoedit -f sk Semicircle.eps Semicircle.sk
    5. Convert to SVG
      $ skconvert Semicircle.sk Semicircle.svg
    6. Fix Semicircle.svg with Inkscape and Notepad

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current21:56, 1 April 2007Thumbnail for version as of 21:56, 1 April 2007198 × 144 (895 bytes)wikimediacommons>Nethac DIUHuge compression by manual editing.

    There are no pages that use this file.