Image:Semicircle.svg

From Wikipedia, the free encyclopedia

No higher resolution available.

Semicircle.svg (198 × 144 pixel, file size: 895 B, MIME type: image/svg+xml)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is attempting to create a freely licensed media file repository. You can help.

Contents

[edit] Summary

Illustration of en:Semicircle. Created by Gustavb using PSTricks.

[edit] Licensing

I, the author of this work, hereby publish it under the following license:
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".

العربية | Asturianu | Български | বাংলা | ইমার ঠার | Brezhoneg | Bosanski | Català | Sinugboanong Binisaya | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | 한국어 | Kurdî / كوردي | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | Norsk (nynorsk) | Norsk (bokmål) | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | 中文(简体) | 中文(繁體) | +/-


[edit] Source

[edit] 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

[edit] 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

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):