TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

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?
share|improve this question

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.

Please add a MWE – Aditya May 27 '12 at 22:50
What I do is set the height of the text area to the desired multiple of the interlineskip. What do you mean with „vertical distance of the grid“ -- the distance of an element to the next grid level? Also I’m not sure there’s any horizontal grid snapping going on. Can you be a bit more precise on that? – phg May 28 '12 at 9:13
No MWE, so answering is not possible => too localized. Ask for reopening if a MWE is available. – Joseph Wright Aug 6 '12 at 20:34