Document Classeseuropecv

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
moinmoin
Posts: 8
Joined: Wed Oct 01, 2008 4:54 pm

europecv

Post by moinmoin »

Hello Everybody,

My 1st post in this forum:
The package europecv (for writing curricula vitae according to europass standard), available from http://www.ctan.org/tex-archive/help/Ca ... opecv.html, gives me headaches.

Maybe one of you can help me / put me in the right direction.

lets consider this minimal example:

Code: Select all

\documentclass[helvetica,openbib,totpages]{europecv}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[a4paper,top=1.27cm,left=1cm,right=1cm,bottom=2cm]{geometry}
\usepackage[english]{babel}
\usepackage{bibentry}
\usepackage{paralist}

\ecvname{Surname, Name}
\ecvaddress{House number, street name, postcode, city, country}
\ecvtelephone[(Remove if not relevant)]{(Remove if not relevant)}
\ecvnationality{(Remove if not relevant)}
\ecvdateofbirth{(Remove if not relevant)}
\ecvgender{(Remove if not relevant)}

\begin{document}
\selectlanguage{english}
\begin{europecv}
\ecvpersonalinfo[5pt]
\ecvitem[15pt]{\large\textbf{Desired employment/ Occupational~field}}{\large\textbf{(Remove if not relevant)}}
\ecvitem{\large Social skills and competences}{
\begin{compactitem}[-]
  	\item superior LaTeX skills, if it were not for some little annoyances like the vertical gap, which has to disappear so that this list-item is aligned horizontaly with ``social skills and competences''
	\item
  	\item
\end{compactitem}}

\ecvitem{\large some other skills that I have}{ this text gets aligned correctly
\begin{compactitem}[-]
  	\item same old \ldots
	\item 
  	\item 
\end{compactitem}}

\end{europecv}

\end{document} 

see if you can compile it, so we can talk about it... Should run smoothly with the newest TeXlive distro.

The part in question is the section "Social skills and competences". On the right side of the vertical ruler I want to use a compactlist - you know, I have so many different social skills :mrgreen: I already tried almost any other list. As you can see in section "some other skills that I have", normal text gets aligned correctly.

I tried compactlist (package paralist) in other LaTeX files and there is no gap between the first list-item and the preceeding paragraph, i.e. the way I want it. Only something in the europecv environment messes it up. I dont know what it is / whether there are other methods (I already tried various \setlength{\topsep}{0pt}, \setlength{\partopsep}{0pt} etc., they get overridden. But where?

Does anyone have a hint?! I would very much appreciate it.

Thanks for reading until this line at least, excluding all line skippers :shock:

cheers

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

europecv

Post by gmedina »

Hi,

I'm not familiar with that document class; however, it seems that the "gap" is produced because it reserves some space for a "heading"; a quick fix:

Code: Select all

...
\ecvitem{\large Social skills and competences}{\vspace*{-\baselineskip}
\begin{compactitem}[-]
     \item superior LaTeX skills, if it were not for some little annoyances like the vertical gap, which has to disappear so that this list-item is 
...
1,1,2,3,5,8,13,21,34,55,89,144,233,...
moinmoin
Posts: 8
Joined: Wed Oct 01, 2008 4:54 pm

Re: europecv

Post by moinmoin »

nice! that one fixed it alright!

muchas gracias gmedina!
Post Reply