[texhax] A Question about Tex and Graph Theory

Robert Sherry rsherry8 at comcast.net
Sat Aug 9 23:13:48 CEST 2003


Russ,

    First I want to thank you for your response. I am in the processing of
trying the xy package. However, I have run into an error message that does
not make any sense to me. Please consider the following input:

    \documentclass[a4paper,11pt]{article}
    \usepackage{xy}
    % define the title
    \title{xy~~~test}
    \author{Robert~J~Sherry}
    \begin{document}
    % generates the title
    \maketitle
    \end{document}

When I run this LaTex I get the error message:
     LaTeX Error: Two \documentclass or \documentstyle commands.
on line one. It seems to me that I have only one documentlcass defined. Can
you
please tell me what I am doing wrong. Thanks.

                                              Robert Sherry

----- Original Message ----- 
From: "Ross Moore" <ross at ics.mq.edu.au>
To: "Robert Sherry" <rsherry8 at comcast.net>
Cc: <texhax at tug.org>
Sent: Saturday, August 09, 2003 9:51 PM
Subject: Re: [texhax] A Question about Tex and Graph Theory


>
>
> On Sat, 9 Aug 2003, Robert Sherry wrote:
>
> >
> >      I am currently starting an independent study in graph theory. I am
> > hoping that there is a package for drawing graphs in LaTex. I noticed
that
> > the epic package can draw tree's and bipartite graphs. However, it does
not
> > seem to support general graphs. Trying to do it by drawing circles and
lines
> > seems like a tremendous amount of work. I am hoping that somebody will
have
> > a better suggestion.
>
> Xy-pic is the perfect free TeX package for this.
>
> Mathematica's Graph Theory packages are good for
> creating .eps files for import into LaTeX documents.
>
>
> Hope this helps,
>
> Ross Moore
>
> >
> >                                  Robert Sherry
> >
> >
> > _______________________________________________
> > TeX FAQ: http://faq.tug.org/
> > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> > Mailing list archives: http://tug.org/pipermail/texhax/
> > More links: http://tug.org/interest.html
> >
> > Automated subscription management:
http://tug.org/mailman/listinfo/texhax
> > Human mailing list managers: postmaster at tug.org
> >
> _______________________________________________
> TeX FAQ: http://faq.tug.org/
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/interest.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>




More information about the texhax mailing list