## Curriculum Vitae with LaTeX

Random questions or observations about and around computers
Mathias COQBLIN
Membre projet CRT
Posts: 130
Joined: Mon Apr 13, 2009 10:20 pm
Location: 127.0.0.1

### Curriculum Vitae with LaTeX

Looking for ways to make CVs with LaTeX, I came accross this little package: moderncv

Can be rendered with different syles (2 samples of my own CV linked with this post)

Sources can be found here: http://johmathe.nonutc.fr/ressources/cv_uvs.tar.bz2 (self-explanatory)
Attachments
cv_classic.pdf
cv_casual.pdf
Your mom is so fat she sat on a binary tree and turned it into a linked list in constant time!

Olivier FINOT
Membre projet CRT
Posts: 136
Joined: Mon Sep 22, 2008 7:22 pm

### Re: Curriculum Vitae with LaTeX

Here is a more recent version of the package proposing other colours than blue and also the possibility to add a photo.
http://www.ctan.org/tex-archive/macros/ ... /moderncv/

En effet le rire n'est jamais gratuit, l'homme donne à pleurer, mais il prête à rire. (Desproges)

gdesvignes
Posts: 12
Joined: Mon Dec 28, 2009 12:04 am

### Re: Curriculum Vitae with LaTeX

I already use this package. It's pretty usefull !
But ! There is always a "but". I have so much information to write... And I have no more place.
I looked for a way to change marging of \section and \subsection.
If anyone have a solution ?!

Vincent
Posts: 3077
Joined: Fri Apr 07, 2006 12:10 pm
Location: Schtroumpf
Contact:

### Re: Curriculum Vitae with LaTeX

Hello,
gdesvignes wrote:I looked for a way to change marging
I suppose you mean "margin" ?

If I understand correctly what you are setting out to achieve, I think the proper solution would be to change the page layout either directly with \hoffset and/or \oddsidemargin (package layout), or indirectly using the geometry package.

However if you were thinking of the vertical space surrounding sections and subsections (which is not a margin at all, but my crystal ball tells me that's what you really had in mind) then the simplest solution -- which I used in my own CV -- is to use negative vertical space if and when needed : \vspace{-1cm} for instance.

To change the spacing consistently across the whole document would require editing the class file, which is not necessarily a good idea. If you want to try it, look into the CLS file and find

Code: Select all

% usage: \section{<title>}
\newcommand*{\section}[1]{%
\vspace*{2.5ex \@plus 1ex \@minus .2ex}%
Then change the value to whatever floats your boat.
{ Vincent Hugot }

gdesvignes
Posts: 12
Joined: Mon Dec 28, 2009 12:04 am

### Re: Curriculum Vitae with LaTeX

You're right, this is exactly what I meant !!!!
How does this macro work ? I try something :

Code: Select all

\vspace{-1cm}
\section{\textbf{Expériences}}
\subsection{Stages informatiques}
....my boring works...
But it seems this is the \subsection has been moved, not the \section...

Vincent
Posts: 3077
Joined: Fri Apr 07, 2006 12:10 pm
Location: Schtroumpf
Contact:

### Re: Curriculum Vitae with LaTeX

gdesvignes wrote:You're right,
Always.
gdesvignes wrote:I try something [...] But it seems this is the \subsection has been moved, not the \section...
I cannot reproduce this problem.

Blind guesses: Try adding \\ after the vspace command to close the line, or using a double carriage return. If this fails, try the starred version: \vspace*{...} -- especially if you are at the beginning of a page -- with and without carriage returns.

If all fails, post your tex file along with the exact modern cv .cls and .sty which you are using (one archive plz, use the forum's upload attachment feature), and I'll try and figure it out.
{ Vincent Hugot }

gdesvignes
Posts: 12
Joined: Mon Dec 28, 2009 12:04 am

### Re: Curriculum Vitae with LaTeX

Youhou ! I did it ! (Yes, I'm singing Dora...)
I still don't understand how it works, but I succeed to do something interresting !
Now, I just have to pray that my CV will be beautyful enought for an application ;-)

Thanks ^^

### Who is online

Users browsing this forum: No registered users and 94 guests