1

In a resume I wanted to write in Latex, I am getting a strange Error when I use the “rSection” as below:

\documentclass{resume} % Use the custom resume.cls style

\usepackage[left=0.75in,top=0.6in,right=0.75in,bottom=0.6in]{geometry} % Document margins

\newcommand{\tab}[1]{\hspace{.2667\textwidth}\rlap{#1}}
\newcommand{\itab}[1]{\hspace{0em}\rlap{#1}}
\name{Shakiba } % Your name

%\address{The address} % Your address

\begin{document}
\begin{rSection}{Education}

{\bf University Of California-Riverside} \hfill {\em Date} 

\\{\bf University of Tehran} \hfill {\em Date} 
\\ Bachelor of Physics\\
\\Department of Physics

end{rSection}
\end{document}

The Error says: Environment rSection undefined. Anyone can help me with that?

  • Did my answer help you? If yes please considere accepting it. That is the way to say "Thank You" here. – Kurt Mar 28 at 0:00
1

You have two issues in your code:

{\bf University Of California-Riverside} \hfill {\em Date} 

\\{\bf University of Tehran} \hfill {\em Date} 

The blank line causes an error, delete it and

end{rSection}

Here is the leading \ missing.

With the corrected code

\documentclass{resume} % Use the custom resume.cls style

\usepackage[left=0.75in,top=0.6in,right=0.75in,bottom=0.6in]{geometry} % Document margins

\newcommand{\tab}[1]{\hspace{.2667\textwidth}\rlap{#1}}
\newcommand{\itab}[1]{\hspace{0em}\rlap{#1}}
\name{Shakiba } % Your name

%\address{The address} % Your address

\begin{document}
\begin{rSection}{Education}

{\bf University Of California-Riverside} \hfill {\em Date} 
\\{\bf University of Tehran} \hfill {\em Date} 
\\ Bachelor of Physics\\
\\Department of Physics

\end{rSection} % <======================================================
\end{document}

I get the result

enter image description here

with using class resume (Medium Length Professional CV - RESUME CLASS FILE) from www.LaTeXTemplates.com.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.