# How to snap the page dimensions to the grid in ConTeXt? [closed]

In ConTeXt, I am using the setting grid=yes to make all of the text in a document use grid typesetting. ConTeXt seems to automatically adjust the height of this grid based on the size of the font selected.

I found that these grid dimensions do not match the vertical height of the page, so the grid overflows and some lines are not of full height. I would like to adjust the page dimensions so that it matches the grid. I will assume that the designers of this system used a good algorithm for deciding which grid size should be used, so I will not attempt to adjust that measurement.

• How can I obtain the value of the vertical distance of the grid?
• Is there any way to set the vertical and horizontal dimensions of the text area on a page to snap to the grid?
-

## closed as too localized by Joseph Wright♦Aug 6 '12 at 20:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.