Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.