2

I'm using default settings in Lyx for document class etc., and use several small shaded boxes (via Insert -> Box -> Shaded Background). How do I decrease the amount of vertical space above and below these boxes? It is much more than for a Simple Frame box. Thanks!

1

1 Answer 1

1

You can control the space above and below a box individually by inserting this TeX code

\vspace{-0.2cm}

or whatever distance you like better.

1
  • Great, that works. Is there a way to re-define \begin{shaded} or \parbox so that it always includes a \vspace{-0.5cm}% before the normal TeX code?
    – Des
    Commented Nov 9, 2013 at 2:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .