🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #10205

Re: small pentagon and hexagon in TeX/LaTex

#10205
From: Marc Bouron
Date: Tue, 11 Jun 1991 19:25
32 lines
2068 bytes
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)  #               #
################################################################################
Technical Details
Message-ID: <103101.14519@timbuk.cray.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!cs.umn.edu!uc!shamash!timbuk!marc
References: <1991Jun10.172800.1460@eng.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!cs.umn.edu!uc!shamash!timbuk!marc
From: marc@sequoia.cray.com (Marc Bouron)
Newsgroups: comp.text.tex
Subject: Re: small pentagon and hexagon in TeX/LaTex
Message-ID: <103101.14519@timbuk.cray.com>
Date: 11 Jun 91 19:25:23 GMT
Article-I.D.: timbuk.103101.14519
References: <1991Jun10.172800.1460@eng.umd.edu>
Sender: marc@sequoia (Marc Bouron)
Organization: Cray Research, Inc.
Lines: 32