[lug] looking for TeX viewer/print

Todd Ruskell truskell at Mines.EDU
Mon Aug 27 20:22:38 MDT 2001


On Mon, 27 Aug 2001, D. Stimits wrote:

> Todd Ruskell wrote:
> >
> Ok, this seems to be some sort of autodetect now. The sample resume I'm
> using contains this:
> \documentstyle[line,margin,fancyheadings]{res}
>
> If I change it to:
> \documentclass[line,margin,fancyheadings]{res}
>
> ...then I get an error:
> ! Undefined control sequence.
> <recently read> \lhead

<-----lines of errors deleted ------->

Yes, this is somewhat expected.  the \documentclass command expects a
class file.  The \documentsyle command expects a style file.  It's been
awhile since I tinkered with the differences between classes and styles,
so I don't remember if there really are significant differences between,
for example, article.sty and article.cls.  Try renaming res.sty to res.cls
and using the \documentclass command.  It's dicey, but it just might work,
and allow you to use color, too.

Todd




More information about the LUG mailing list