mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
adjust code indendation of listings. Get rid of obsolete examples
This commit is contained in:
parent
afb1ec645b
commit
af62d010e6
1 changed files with 39 additions and 105 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue