adjust code indendation of listings. Get rid of obsolete examples

This commit is contained in:
David 2021-01-21 23:23:26 +01:00
commit bf57c00d87
2 changed files with 39 additions and 105 deletions

Binary file not shown.

View file

@ -422,72 +422,6 @@ where the last three arguments are optional
where the name of the section title can be changed by redefining the \Code{refname} with \verb|\renewcommand{\refname}{<new_name>}|
\end{itemize}
\subsection*{Example}
Let's put all together and see in figure \ref{fig:sections} what is the result:
\begin{verbatim}
... preamble ...
\begin{document}
\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
%
\section{Master thesis}
\cvline{title}{\emph{Title}}
\cvline{supervisors}{Supervisors}
\cvline{description}{\small Short thesis abstract}
%
\section{Experience}
\subsection{Vocational}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}
\subsection{Miscellaneous}
\cventry{year--year}{Job title}{Employer}{City}{}%
{Description line 1\newline{}Description line 2}
%
\section{Languages}
\cvlanguage{language 1}{Skill level}{Comment}
\cvlanguage{language 2}{Skill level}{Comment}
%
\section{Computer skills}
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ}
\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
%
\section{Interests}
\cvline{hobby 1}{\small Description}
\cvline{hobby 2}{\small Description}
\cvline{hobby 3}{\small Description}
%
\closesection{}
\pagebreak
%
\section{Extra}
\cvlistitem{Item 1}
\cvlistitem{Item 2}
\cvlistitem{Item 3}
%
\section{Extra 2}
\cvlistdoubleitem{Item 1}{Item 4}
\cvlistdoubleitem{Item 2}{Item 5}
\cvlistdoubleitem{Item 3}{}
%
% Publications from a BibTeX file
\nocite{*}
\bibliographystyle{plain}
\bibliography{publications} % 'publications' is the name of a BibTeX file
%
\end{document}
\end{verbatim}
\begin{figure}[!ht]
\centering
% \fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection2.pdf}}\\
% \fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection1.pdf}}
\caption{Example of usage of items inside cvsections.}
\label{fig:sections}
\end{figure}
\subsection{More customizations}
You have some useful commands to personalize your CV further.