[comp.text.tex] small pentagon and hexagon in TeX/LaTex

barsam@eng.umd.edu (Barsam Marasli) (06/11/91)

How does one draw a small pentagon and a hexagon in TeX/LaTex
that can fit inside an imaginary circle of radius 0.06in?
I have tried LateX's picture environment but it doesn't let
you draw slanted lines that are smaller than certain length,
and I don't know how to draw a line in TeX.

Thanks in advance.

BM

barsam@eng.umd.edu (Barsam Marasli) (06/11/91)

In article <1991Jun10.172800.1460@eng.umd.edu> barsam@eng.umd.edu (Barsam Marasli) writes:
>
>How does one draw a small pentagon and a hexagon in TeX/LaTex
>that can fit inside an imaginary circle of radius 0.06in?
>I have tried LateX's picture environment but it doesn't let
>you draw slanted lines that are smaller than certain length,
>and I don't know how to draw a line in TeX.
>
>Thanks in advance.
>
>BM
>


Since my posting I found a package called "epic" (Enhancements to
the Picture Environment of LaTeX) by Sunil Podar of SUNY, which
allows me to do the things I want to do. Many thanks to everyone
who replied.

BM

marc@sequoia.cray.com (Marc Bouron) (06/12/91)

In article <1991Jun10.172800.1460@eng.umd.edu>, barsam@eng.umd.edu (Barsam Marasli) writes:
> 
> How does one draw a small pentagon and a hexagon in TeX/LaTex
> that can fit inside an imaginary circle of radius 0.06in?
> I have tried LateX's picture environment but it doesn't let
> you draw slanted lines that are smaller than certain length,
> and I don't know how to draw a line in TeX.

There is only a fixed number of gradients of lines in the LaTeX picture
environment.  As I understand, this is because a special font is used which
consists of a number of line segments -- hence the restriction.  You could use
Pic (or is it Epic?) which uses the period `.' character to `paint' graphics.
Of course, this results in large DVI overheads...  I find graphics is best done
with a PostScript drawing tool -- include the graphics in the TeX/LaTeX document
using the `psfig' package.  This is only any use if you output to a PostScript
device :-)

> Thanks in advance.
> 
> BM

[M][a][r][c]


################################################################################
#                           #  marc@sequoia.cray.com           #     .   .     #
#  Marc CR Bouron           #  M.Bouron@cray.co.uk     (ARPA)  #    _|\ /|_    #
#  Cray Research (UK) Ltd.  #  M.Bouron@crayuk.uucp  (DOMAIN)  #   (_|_V_|_)   #
#  +44 344 485971 x2208     #  M.Bouron@uk.co.cray    (JANET)  #     |   |     #
#                           #  ...!ukc!crayuk!M.Bouron (UUCP)  #               #
################################################################################