LaTeX forum ⇒ Page LayoutLeft and right Part of CV Title too close

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
RyDroid
Posts: 8
Joined: Mon Nov 04, 2013 11:44 pm

Left and right Part of CV Title too close

Postby RyDroid » Fri Nov 29, 2013 11:04 pm

Hi.

That is my current header.
moderncv-title.png
moderncv-title.png (8.1 KiB) Viewed 4226 times

The problem is that the title is too near of the right floating part of the header (the title ends after the beginning of the email image).

I see two solutions.
  • Define a margin between the title and the right floating part of the header.
  • Put the title below the right part of the header.
But I do not know how I can do it in practice.

That is my code.
  1. \PassOptionsToPackage{pdfpagelabels=false}{hyperref}
  2. \documentclass[a4paper,11pt]{moderncv}
  3. \moderncvtheme[blue]{classic}
  4. \usepackage[T1]{fontenc}
  5. \usepackage[utf8]{inputenc}
  6. \usepackage{lmodern}
  7. \usepackage[francais]{babel}
  8. \usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
  9. \usepackage{color}
  10.  
  11. \setlength{\hintscolumnwidth}{0.15\textwidth} % colonne de gauche plus large
  12.  
  13. \firstname{Nicola}
  14. \familyname{Family}
  15. \title{\textcolor{black}{\textbf{Étudiant en 2\up{ème} année de Diplôme Universitaire de Technologie en Informatique}}}
  16. \address{33 rue des petits oignons}{00000 Ville, France}
  17. \email{adress@domain-name.fr}
  18. \mobile{+33 6 00 00 00 00}
  19. \extrainfo{Né le 33/33/1333}
  20.  
  21. \begin{document}
  22. \maketitle
  23.  
  24. \section{Formations}
  25. \end{document}


Thanks.
Last edited by RyDroid on Thu Dec 05, 2013 7:37 pm, edited 2 times in total.

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sat Nov 30, 2013 10:09 am

Being a student (étudiant) is not really a title as such and is misplaced where you want to have it. This is more intended for academic degrees like "BSc", "MSc", "Dr." or "Prof.". So I suggest that you place this inside a block called "Education" or something similar together with other data of your studies.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

RyDroid
Posts: 8
Joined: Mon Nov 04, 2013 11:44 pm

Postby RyDroid » Sun Dec 01, 2013 9:48 pm

The only degree that I have is Baccalauréat. The person that will hire me will do it for my computing skills (that I have learned after Baccalauréat). So I do not see what other title I can choose.

For my problem, I have a little "cheated" with \newline:
  1. Étudiant en 2\up{ème} année de \newline Diplôme Universitaire de Technologie \newline en Informatique

If someone has a better solution, I will be happy to see it.

Thanks.

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Dec 02, 2013 10:35 am

As I already said, this place is reserved for academic degrees. And a baccalauréat does not really number among. Hence you should leave the \title empty and list it in your education section.
  1. \PassOptionsToPackage{pdfpagelabels=false}{hyperref}
  2. \documentclass[11pt,a4paper]{moderncv}
  3. \moderncvtheme[blue]{classic}
  4. \usepackage[T1]{fontenc}
  5. \usepackage{selinput}
  6. \SelectInputMappings{
  7. agrave={à},
  8. eacute={é}
  9. }
  10. \usepackage[francais]{babel}
  11. \usepackage{lmodern}
  12. \usepackage[margin=2cm]{geometry}
  13.  
  14. \setlength{\hintscolumnwidth}{0.15\textwidth} % colonne de gauche plus large
  15.  
  16. \firstname{Nicola}
  17. \familyname{Family}
  18. \title{}
  19. \address{33 rue des petits oignons}{00000 Ville, France}
  20. \email{surname.name@etudiant.univ-reims.fr}
  21. \mobile{+33 6 00 00 00 00}
  22. \extrainfo{Né le 33/33/1333}
  23.  
  24. \begin{document}
  25. \maketitle
  26.  
  27. \section{Education}
  28. \cvitem{depuis 07/1897}{Étudiant en 2\up{ème} année de Diplôme Universitaire de Technologie en Informatique}
  29. \cvitem{06/1897}{Baccalauréat}
  30. \end{document}

And by the way, your birth date should not be part of the head but is better given in a section about personal data.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

RyDroid
Posts: 8
Joined: Mon Nov 04, 2013 11:44 pm

Postby RyDroid » Thu Dec 05, 2013 7:51 pm

I have not "used" your piece of advice about the title, one time more. :P
I have used something that is unfortunately not semantic at all ({\Large My title}), between \maketitle and the rest of my CV.

The number of pages of my CV is 1. If I had a \section{Personal data}, the second page will be nearly empty and I have already reduced margins.

  1. \PassOptionsToPackage{pdfpagelabels=false}{hyperref}
  2. \documentclass[a4paper,11pt]{moderncv}
  3. \moderncvtheme[blue]{classic}
  4. \usepackage[T1]{fontenc}
  5. \usepackage[utf8]{inputenc}
  6. \usepackage{lmodern}
  7. \usepackage[francais]{babel}
  8. \usepackage[top=1.6cm, bottom=1.6cm, left=1.6cm, right=1.6cm]{geometry}
  9. \usepackage{color}
  10.  
  11. \setlength{\hintscolumnwidth}{0.15\textwidth} % colonne de gauche plus large
  12.  
  13. \firstname{Nicola}
  14. \familyname{Family}
  15. %\title{\textcolor{black}{\textbf{Étudiant en 2\up{ème} année de Diplôme Universitaire de Technologie en Informatique}}}
  16. \address{20 rue des débutants en LaTeX}{00000 LaTeX City, France}
  17. \email{adress@domain-name.fr}
  18. %\homepage{domain-name.com/fr}
  19. \mobile{+33 6 00 00 00 00}
  20. \extrainfo{i ans \\ Nationalité française}
  21. %\quote{}
  22.  
  23. \begin{document}
  24. \maketitle
  25.  
  26. {\Large \textcolor{black}{\textbf{Étudiant en 2\up{e} année de Diplôme Universitaire de Technologie en Informatique}}}
  27.  
  28. \section{Formations}
  29. \cventry{Mois1 1984\\Mois2 1985}{2\up{ème} année de Diplôme Universitaire de Technologie en Informatique (en cours)}{Institut Universitaire de Technologie}{00000 LaTeX City, France}{}{}
  30. \cventry{Mois2 1984}{1\up{ère} année de Diplôme Universitaire de Technologie en Informatique (validée)}{Institut Universitaire de Technologie}{00000 LaTeX City, France}{}{}
  31. \cventry{Mois2 1983}{Baccalauréat général scientifique, spécialité magicien du code, mention incroyable}{Lycée de la liberté}{00000 LaTeX City, France}{}{}
  32. \end{document}


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 2 guests