Filippo Zangheri-2 wrote:
> 
>> [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.
> 

Nice work.

Some of the problem(s) with the \cvline specification in this class file
have been noted in the Bug (at least in part):

http://bugzilla.lyx.org/show_bug.cgi?id=4415

Xavier, the maintainer of moderncv, is aware of some of these things. I'd
suggest that you flip him a condensed version of these two points and let
him incorporate them, particularly the error on line 367. I'd prefer not to
offer class file hacks on the wiki as a solution for formatting when there
are other options and Xavier is working on them. However, the fix on line
367 is a good spot, and it's documented here if people need it until Xavier
fixes it.

Xavier Danaux <[EMAIL PROTECTED]>



-----
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Moderncv-issues-resolved---page-on-Wiki-tp14670006p14763709.html
Sent from the LyX - Users mailing list archive at Nabble.com.

Reply via email to