From Wikipedia, the free encyclopedia
[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:
|
[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
- Create EPS
$ tex Semicircle.tex && dvips -E Semicircle.dvi
- Outline fonts
$ eps2eps -dNOCACHE Semicircle.ps Semicircle2.eps
- Fix bounding box
$ ps2epsi Semicircle2.eps Semicircle.eps
- Convert to Sketch
$ pstoedit -f sk Semicircle.eps Semicircle.sk
- Convert to SVG
$ skconvert Semicircle.sk Semicircle.svg
- Fix Semicircle.svg with Inkscape and Notepad
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):