but the rightmarginwidth = 3.7569cm, not 0.1cm, I do not know why? what should I do to widen the texwidth?
In which Wolfgang wrote:
The horizontal dimensions are determined by the three values
- backspace (distance from the left/inner margin) - cutspace (distance from the right/outer margin) - width (width of the textblock)
Normally you need only two values because when you set backspace + width the cutspace is > calculated and when you set backspace + cutspace you can write width=middle and the width of the text block will be calculated.
Which is a good explanation, and he explains how vertical dimensions work, too. Allow me to add this e-mail to answer another question you will probably have: "What about the marginwidth, margindistance, edgewidth, and edgedistance? Those are also horizontal values!" A good question. The answer is that ‘margin’ means two things: 1. the space between the edge of the textblock and the boundary of the paper 2. a typesetting area inside that space, in which marginal material is typeset. Inside \setuplayout, margin has the second meaning: marginwidth is the width of the margin, and margindistance the distance between the text area and the margin area. There are also the ‘edges’: these are typesetting areas outside the margin areas. Some uses I can think of: colouring the edge of the page in a guidebook with sections; placing informative marks in general; printing a sort of vertical header/footer; etc. This is not a bad reference: http://wiki.contextgarden.net/Layout Cheers, Sietse