I am working on creating a resume in LaTeX and have defined a command that allows me to input my work experience. The only problem is that whenever I try to use an itemized list, as seen below, I get "! LaTeX Error: There's no line here to end.See the LaTeX manual or LaTeX Companion for explanation.Type H <return> for immediate help.... To Be Added}"
. I also have to add in line breaks manually using \\
for some reason.
Code for my tex document:
\section{Related Experience}
\begin{entrylist}
\experience
{Jan 2014 – Present}
{IT Systems}
{Chocolate Covered Alien Co.; Mars, PA}
{\textbf{Responsibilities:}\\
\begin{itemize}
\item Cook aliens to a nice texture
\item Chocolate cover said aliens
\end{itemize}}
{\textbf{Key Achievements:}\\
\begin{itemize}
\item Ate chocolate covered aliens without the boss finding out
\end{itemize}}
\end{entrylist}
Code for my class document:
\newenvironment{entrylist}{%
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll}
}{%
\end{tabular*}
}
\newcommand{\experience}[5]{%
\textbf{#1}&\parbox[t]{12cm}{%
\textbf{#2}\\%
\textit{#3}\\%
#4\\%
#5\vspace{\parsep}%
}\\}
}
before\end{entrylist}
, or maybe it is by the improper formating. Please edit it.\\
outside tabular, certainly the ones before lists are wrong. Hard to say more unless you edit the question to have an example that demonstrates the problem (ie a complete small document we can try)\experience
you have}\\}
at the end. Make it}}
. If you want, you may use\par
instead.