Document ClassesProblem with usepackage

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
User avatar
hariharanb
Posts: 12
Joined: Mon Jun 28, 2010 10:48 am

Problem with usepackage

Post by hariharanb »

Hi,

I was preparing my resume and I realized that I needed \usepackage[T1]{fontenc}.

My document starts as follows.

Code: Select all

\documentstyle[hyperref, margin, line] {res_yy}
...
...
...
\usepackage[T1]{fontenc}
But I get error ! LaTeX Error: \usepackage before \documentclass. I am not using \documentclass at all. I downloaded res_yy.sty from the link below

Code: Select all

http://www.yisongyue.com/resume/res_yy.sty 
Masters in Technology, Software Engineering
International Institute of Information Technology - Bangalore, India

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with usepackage

Post by localghost »

You are trying to use the LaTeX2.09 compatibility mode. In this mode packages are not included like the way you try to. But we are now using LaTeX2e. I suggest to use another document class (or package) for writing your resume [1]. These classes (or packages) are much more flexible and don't rely on the old LaTeX2.09 mode. In case of further upcoming questions feel free to ask.

[1] The TeX Catalogue Online, Topic Index — Writing Applications for a Job / CV


Best regards and welcome to the board
Thorsten
User avatar
hariharanb
Posts: 12
Joined: Mon Jun 28, 2010 10:48 am

Re: Problem with usepackage

Post by hariharanb »

I'll try with CurVe and let you know
Masters in Technology, Software Engineering
International Institute of Information Technology - Bangalore, India
Post Reply