I'm working on my resume in LyX and I would like my section headers to look like this. What should I write in the preamble to achieve this?

up vote 9 down vote accepted

you could use the titlesec package to modify the definition of the \section command. in lyx you can add latex-code manually by going to the document preferences: Document->Settings -> Latex preamble. I marked the part of code you have to put in your document.


%to lyn preamble from here


{4pc}{1.5ex plus .1ex minus .2ex}{1pc}

%to here


Auditing/Analysis of Operations

B.S. in Management, Rensselaer Polytechnic Institute, Troy, NY, May 1986
Concentrations in Accounting and Management Systems
QPA 3.9 in major, 3.7 overall

  • This works pretty well - except the header is still above the text, thus taking up space. Any way to make it aligned with the text? – Amir Rachum Aug 7 '10 at 22:50
  • @AmirRachum: The answer below with the link to the document source does this properly. – Elliott Slaughter Oct 14 '16 at 21:46

Have you looked at the europecv package?

I've been using that to write my own CV.

From CTAN:

The europecv class is an unofficial LaTeX implementation of the standard model for curricula vitae (the “Europass CV”) as recommended by the European Commission. Although primarily intended for users in the European Union, the class is flexible enough to be used for any kind of curriculum vitae.

The class has localisations for all the official languages of the EU (plus Catalan), as well as options permitting input in UTF-8 and koi8-r.

See also curve currvita esieecv vita

The author is Nicola Vitacolonna.

Er, perhaps I'm a little slow these days (go easy, guys, I'm being rhetorical), but as far as I can tell from your example, what you've got there is a table. A longtable if you want to run things over one page.

(Or am I just being painfully dense?)

Here is the source of the document you linked to. Just copy it and and change it.

You need the res class which is downloadable from the same place.

  • This solution is better because the section header is vertically flush with the text (responding to the OP's question to the accepted answer). – Elliott Slaughter Oct 14 '16 at 21:45

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.