Text Formatting(newbie)Cannot seem to get rid of error after several days!

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
axf5027
Posts: 2
Joined: Tue Mar 10, 2015 7:10 pm

(newbie)Cannot seem to get rid of error after several days!

Post by axf5027 »

Good Afternoon everyone,

I am a Computer Engineering student and am very familiar with code but am new to the Latex world. I am trying to update my resume, but I keep getting the same error whenever I try to compile. I have managed to compile this code successfully before, but it seems that I have made a very small (seemingly undectable) change/typo recently that is throwing an error.
LaTeX Error: File `res.cls' not found.

Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: cls) Enter file name: ! Emergency stop. <read *> l.5 ^^M *** (cannot \read from terminal in nonstop modes)
Any help would be GREATLY appreciated. I need to send my resume to a prospective employers very soon after an important edit so I could really use any help I can get to diagnose the problem. Thank you very much in advance!

-Andrew


CODE:

Code: Select all

% LaTeX file for resume 
% This file uses the resume document class (res.cls)

\documentclass[margin]{res} 
\usepackage[bottom=-0.1in]{geometry}
% the margin option causes section titles to appear to the left of body text 
\textwidth=6.2in % increase textwidth to get smaller right margin
\setlength{\parsep}{0pt}
%\setlength{\parskip}{0pt}

%\usepackage[pass,letterpaper]{geometry}

\addtolength{\oddsidemargin}{-.8in}
\addtolength{\topmargin}{-0.5in}

%\usepackage{helvetica} % uses helvetica postscript font (download helvetica.sty)
%\usepackage{newcent}   % uses new century schoolbook postscript font

\begin{document} 
\pdfpageheight = 11in 
\pdfpagewidth = 8.5in
  
\name{\centerline{\LARGE{Andrew XXXXXXX}} \\    \centerline {XXXXXXX@gmail.com}}
\address{{\bf Current Address} \\ XXXXXXXXX, Apt\# XXX \\ XXXXXX, PA XXXXXX\\(XXX) XXX-XXXX}
\address{{\bf Permanent Address} \\ XXXXX Rd. \\ XXXXXXX, PA, XXXXX\\ (XXX) XXX-XXXX}
 
\begin{resume} 
\section{Objective:} 
To obtain a full-time entry-level position at a world-class company in order to demonstrate innovative skill, further develop leadership abilities and gain experience in a Computer Engineering related field.

\section{Education:} 
B.S. in Computer Engineering \\
Pennsylvania State University (University Park, PA) \\
Expected Date of Graduation: May 2015 

\section{Work Experience:}         
%{\bf The Boeing Company}  (Ridley Park, PA)    \hfill         Jan 2014---Present \\
%\textit{Capstone Senior Design Project, Project Leader}
%\begin{itemize} \itemsep -3pt
%\item XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
%\end{itemize}

{\bf Lockheed Martin}  (King Of Prussia, PA)    \hfill         June 2008---Aug 2008 \\
\textit{Summer Intern}
\begin{itemize} \itemsep -2pt
\item XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
\end{itemize}

\section{Skills:}

\textbf{Linux, C, C++, Python, Java, MATLAB,  Microsoft Office, Verilog, SystemVerilog, \break MultiSim, Cadence, Virtuoso, AutoCAD, Adobe PhotoShop, VAGcom}


% Tabulate Computer Skills; p{3in} defines paragraph 3 inches wide
\section{Course Projects:}

\textbf{Storage Device Driver}   			\hfill\textit{(Systems Programming: CMPSC 311)}
\begin{itemize} \itemsep -1pt  % reduce space between items
\item \textit{Using C and Vim}, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
\end{itemize}\vspace{-4mm}

\textbf{8-Bit Adder Chip Layout}  \hfill\textit{(Digital Integrated Circuit Layout Design: CMPEN 416)}
\begin{itemize} \itemsep -1pt  % reduce space between items
\item \textit{Using Cadence and Virtuoso}, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
\end{itemize}\vspace{-4mm}

\textbf{UAV AutoPilot}   			\hfill\textit{(FPGA Digitial Design: CMPEN 417)}
\begin{itemize} \itemsep -1pt  % reduce space between items
\item \textit{Using an Altera DE1-SoC FPGA and SystemVerilog}, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
\end{itemize}\vspace{-4mm}

\textbf{Real-Time Object Dimensioning Camera} \hfill\textit{(Digital Image Processing: CMPEN 455)}
\begin{itemize} \itemsep -1pt  % reduce space between items
\item \textit{Using an MATLAB and OpenCV}, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
\end{itemize}\vspace{-4mm}

\textbf{CPU Architecture Optimization} \hfill\textit{(Computer Architecture Design: CMPEN 431)}
\begin{itemize} \itemsep -1pt  % reduce space between items
\item \textit{Using SimpleScalar}, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    
\end{itemize}

\section{Other:}
{\bf Phantom Fireworks:} Sales Tent Manager             \hfill        Summer 2012 \& 2013
\begin{itemize} \itemsep -2.5pt  % reduce space between items
\item Managed 4 employees and operated fireworks tent for 12 days around July 4th
\item Responsibilities: Initial pavilion setup, inventory, daily sales reports, cash register, interacting with customers, and experimenting with various sales strategies. 
\item Dealt with extreme weather and a state of emergency in professional manner
\end{itemize}\vspace{-4mm}

{\bf Outback Steakhouse:} Server				\hfill        May---July 2007\\
{\bf Nordstrom:} Shoe Department Salesman		\hfill        July---Aug 2007\\
\\
						
%\section{Languages:}
% {\bf English, Arabic}

\end{resume} 
\end{document} 

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

(newbie)Cannot seem to get rid of error after several days!

Post by Johannes_B »

Hi and welcome,

thae error you are getting just means, that the documentclass you want to use is not found by LaTeX.
You can get it from CTAN (res) and download the cls into your working directory.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

(newbie)Cannot seem to get rid of error after several days!

Post by Stefan Kottwitz »

Yes, it simply seems that you don't have res.cls installed. The error can easily be fixed by downloading and installing it, as Johannes said. If possible, use a package manager, TeX Live and MiKTeX both provide one.

However, the resume class res.cls is extremely old! It's a design of 1988 ported to LaTeX2e in 2001.

I recommend to use a newer class. If you need to do it quickly, you may want to use a template, so have a look at those CV templates.

Stefan
LaTeX.org admin
axf5027
Posts: 2
Joined: Tue Mar 10, 2015 7:10 pm

(newbie)Cannot seem to get rid of error after several days!

Post by axf5027 »

Good Morning All,

I believe I have managed to install the necessary packages, but am still having an error.

ERROR: (Line 12) Option clash for package geometry.
WARNING: Unused global option(s): [bottom=-0.1in].
WARNING: No file Fleming_Andrew_Resume(final1).aux.
BADBOX: Underfull \hbox (badness 10000) in paragraph
BADBOX: Underfull \hbox (badness 10000) in paragraph

Code: Select all

4    \documentclass[bottom=-0.1in]{res} 
5    \usepackage[bottom=-0.1in]{geometry}
6    % the margin option causes section titles to appear to the left of body text 
7    \textwidth=6.2in % increase textwidth to get smaller right margin
8    \setlength{\parsep}{0pt}
9    %\setlength{\parskip}{0pt}
10
11    \usepackage[pass,letterpaper]{geometry}
12
13    \addtolength{\oddsidemargin}{-.8in}
14    \addtolength{\topmargin}{-1in}
15
16    %\usepackage{helvetica} % uses helvetica postscript font
17    %\usepackage{newcent}   % uses new century schoolbook postscript font
I have tried a couple things including individually replacing lines #4 and #5 with:

Code: Select all

4    \documentclass[bottom=-0.1in,pass,letterpaper]{res}
and

Code: Select all

 
5    \usepackage[bottom=-0.1in,pass,letterpaper]{geometry}
but still am not having any success. I spent a considerable amount of time and perfecting the formatting on my code, I really don't want to completely abandon it and start again with a newer template/package. Any further guidance is greatly appreciated!

Best Regards,

-Andrew
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

(newbie)Cannot seem to get rid of error after several days!

Post by Stefan Kottwitz »

axf5027 wrote:ERROR: (Line 12) Option clash for package geometry.
You loaded the geometry package twice. Remove one of those lines \usepackage[...]{geometry}.
axf5027 wrote:WARNING: Unused global option(s): [bottom=-0.1in].
That's not a valid dimension option. Have a look at the geometry reference manual, there you can find the dimensions to set.

Furthermore, such lines

\addtolength{\oddsidemargin}{-.8in}
\addtolength{\topmargin}{-1in}


should be obsolete if you tell geometry the margin dimensions, then you could remove this low level physical settings, which can interfere badly with geometry. Once you use geometry, only set paper, text and margin dimensions using geometry options.

Stefan
LaTeX.org admin
Post Reply