Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a stylesheet for a handout I am making and I want to make my own "definition" box format. So I use the "Format"->"Edit Stylesheet" menu option and get the stylesheet inspector. I then type in the name of my new stye name "DefinitionBox" and give it the style that I want. The problem is that when I apply this style it doesn't indent withing the group (ie Section or Subsection) it is in, instead it just spans the full window. For the life of me I can't figure out what option controls this. Any suggestions?

share|improve this question
up vote 2 down vote accepted

CellMargins -> {{left,right},{bottom,top}} controls how much space is left on each side of a cell. CellFrameMargins might also be of interest, if you're drawing some sort of frame around the cell (for example, like the usage messages in the documentation.)

share|improve this answer
Ugh ... I thought those numbers where calculated ... makes more sense now. Thanks! – Gabriel Jan 9 '13 at 5:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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