This is related to the recent thread on Live LaTeX editing, but there's something else here as well. This is probably the simplest edit you can make to Source TeX, so perhaps there's an easy solution. I went through the documentation, but didn't find an answer.

I have ported my CV to the modernCV class, and it looks reasonably good. Two issues stood out, and a local TeXpert found the problems and provided fixes. I need to get them into LyX. The problem file is shown here: http://www.vims.edu/fish/students/dhewitt/modernCV.htm

(1) The labels for the first entries in each section are dropped down a line, which is odd-looking (e.g., Title in 'Dissertation')

Apparently this is simply too many blank lines in the .tex file after the \section{} and before the \cventry{}. If you remove the blank lines, which can be seen in View -> Source, it works fine in all cases. Can I remove those blank lines in LyX? Can you edit within View -> Source and then save? If not, do you have to export, change, save, and then import back to LyX? After doing that, will the blank lines not return upon subsequent saves?

The obvious short-term answer to get around this is to export the .tex file, edit it, then run LaTeX on it to get the PDF. I'm ashamed to say I have no idea how to make that happen, inside or outside of LyX. My only experience with LaTeX is through LyX w/ MikTeX.

(2) Expanding the area in the upper right needs to accommodate more stuff (since I don't put a photo there, it seems reasonable to use the white space a little more)

A simple change to two lines of the 'moderncvthemeclassic.sty' style file fixes this. Can I just edit the style file in my MikTeX directory and save over it? Alternatively, if I create a modified style file and save it in that same directory, how do I tell LyX to use that one instead?


Dave Hewitt

Reply via email to