David Hewitt wrote:
> Thanks mostly to the expertise of others, I was able to create a Wiki page
> that describes some simple fixes to the moderncv class for creating nifty
> CVs in (and out of) LyX.
>
> http://wiki.lyx.org/Examples/ModernCVClassIssues
>
> Corrections, comments, etc. welcome.
Hi David,
[1] I suggest correcting the alignment mismatch in a more drastic way:
in "moderncv.cls" around line 333 the \cvline command is defined like this:
\newcommand*{\cvline}[3][.25em]{%
[EMAIL PROTECTED]
after the second line you can add the following line:
\vspace*{-1.1em}
so that the entire command definition looks like this:
<LaTeX>
\newcommand*{\cvline}[3][.25em]{%
[EMAIL PROTECTED]
\vspace*{-1.1em}% fixes an alignment mismatch between first leftmark
and related text
[EMAIL PROTECTED]
\else%
\\[#1]\fi%
\raggedleft\hintfont{#2} }
</LaTeX>
Now you can avoid putting all those "Space: <something>" after each Section
title.
[2] I've corrected a bug in the "moderncv.cls" class file, around line 367
there is:
\ifthenelse{\equal{#6}{}}{}{\newline{}\small#6}
and should be replaced with the following:
\ifthenelse{\equal{#6}{}}{}{\newline{}{\small#6}}
Without this modification, when you add some text after a \cventry with 6
non-empty parameters
(and only if the \cventry has all 6 parameters not being empty), the additional
text inherits the
"\small" size, which is not desirable.
If you like these changes, I think you could add this to the wiki.
Thank you!
Greetings.
--
Filippo Zangheri
GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu