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} &#3}
> 
> </LaTeX>
> 
> Now you can avoid putting all those "Space: <something>" after each Section 
> title.

There's the need for a precisation.

Actually, my "drastic" correction is useful only either if you will always use 
LyX to write moderncv
documents, or if you will always append 1 or 2 empty lines after every 
\section{} entry in your
plaintext moderncv documents, e.g.

something like this:

<LaTeX>
\section{Professional Experience}
  \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}
</LaTeX>

wouldn't work with my correction, but you would need to write this:

<LaTeX>
\section{Professional Experience}

  \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}
</LaTeX>

or

<LaTeX>
\section{Professional Experience}\\
  \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}
</LaTeX>

Under these 2 circumstances one can safely add my correction.

Thank you for your kind attention ;-) !


-- 
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

Reply via email to