2
$\begingroup$

When I change the background color of a cell like in

enter image description here

the colored cells become slightly indented and their line spacing is increased.

How can I change the cell background color while keeping the other cell layout elements fixed?

$\endgroup$
  • $\begingroup$ Robinaut, I see you Accepted my answer. Thanks; I'm glad it was helpful. I notice that you did not vote for it however; are you aware that you can both vote for and Accept an answer? $\endgroup$ – Mr.Wizard Mar 10 '13 at 18:00
2
$\begingroup$

If you use the Option Inspector and set CellFrameMargins to 0 you will get the closer spacing.
You could do this at the Style Sheet level to avoid repetition of effort.

I don't know if there is a cleaner or simpler way.

Mathematica graphics

$\endgroup$

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.