I am trying to remove a blank white space in lyx between text and Image using ert \vspace{-5cm} but it is not working.

Does anyone know how yo solve this problem?

I have tried using the below link to get my answer but still I did not manage:

Remove space after figure and before text

  • if the space is at the top of the page, an ordinary \vspace will disappear. for that situation, use \vspace*. if the space is elsewhere, we'll need a concrete example to make a diagnosis. Nov 14, 2016 at 20:17
  • so i will do an ert juss \vspace*{-10cm} for example Nov 14, 2016 at 20:35

1 Answer 1


okay, try

* commands to go beyond cutline.

if this doesn't work. try to clear your page by using \clearpage. if not move your top margin.


if not please post your minimal work. ^_^

  • + Torbjorn T. - Thank you for your feedback with thee \clearpage is enough as worked. Nov 15, 2016 at 17:16
  • In LyX \vspace* can be obtained with the "protected" checkbox in the vertical space dialog.
    – G.M.
    Nov 15, 2016 at 21:25
  • yeah it took a while for me to start using '\clearpage' only when i had too many floats and only when i couldn't really figure out how not to make them line up. Yes i really managed without \clearpage for a while but after bunch of figures i was in a need of solution.
    – Eric
    Nov 20, 2016 at 2:07

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.