TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 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'm not really sure whether this is the right place to ask this question, but here I go....

Over the holiday I've been taking time to read through a lot of the Q&A here. I've been running across some TeX code (or maybe LaTeX code) that I cannot find either in source2e doc or Knuth's The TeXbook. Where can I find documentation that explains \dimexpr and \numexpr and their syntax?

share|improve this question
up vote 28 down vote accepted

These are primitives which are not present in Knuth's TeX but which were added as part of the e-TeX extensions. As such, they are documented in the e-TeX manual, which is most conveniently accessed using texdoc etex.

share|improve this answer

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.