I work with the documentclass book (koma-script) in Lyx. In the final pdf, all text, pictures, etc., are distributed vertically over the whole page. I prefer to put them on the page from the top with no additional spaces between. An example here:

enter image description here

How can that be fixed? I prefer to include something in the Lyx preamble that will be valid for the whole document.


write into Document->Setting->Preamble the commands

\setlength\@fptop{0\p@}% float at the top
  • Thank you! worked very good for text. How to manage that floating figures are not placed in the center of an empty page but on top? – Shukoff Dec 27 '13 at 18:41
  • see my edited answer – user2478 Dec 27 '13 at 19:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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