Questions tagged [texbook.tex]

Questions about texbook.tex, the source of The TeXbook.

Questions about texbook.tex, the source of The TeXbook.

See:

CTAN Comprehensive TeX Archive Network, package texbook

20 questions
7
votes
2 answers

Question about the special rule mentioned after TeXbook exercise 20.5

I don't quite understand the special rule that follows texbook exercise 20.5: A special extension is allowed to these rules: If the very last character of the < parameter text > is #, so that this # is immediately followed by {, TEX will behave…
AndréC
  • 24,137
1
vote
1 answer

How the \answer command from Knuth's TeXbook works

I'm trying to understand how the \answer command from Donald Knuth's TeXbook works to do the same in LaTeX. Please explain how it works. Is it possible to implement exercises in the likeness of this idea so that the text of the exercise occurs…
1
vote
0 answers

Question about ``concert'' format in Appendix E of TeXbook

On p.412 of TeXbook there is this text: The author has extended these macros to a more elaborate format that includes special features for listing the members of the orchestra and for program notes, etc.; in this way it becomes fairly easy to…
Igor Liferenko
  • 7,063
  • 2
  • 14
  • 47
0
votes
0 answers

Parentheses' height in exercise 18.5 or the TeXbook

If I put the answer to exercise 18.5 from Knuth's TeXbook, i.e. $${n\choose k}\equiv{\lfloor n/p\rfloor\choose \lfloor k/p\rfloor}{n\bmod p\choose k\bmod p}\pmod p.$$ into my pdftex, pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian), I get…
Fabien
  • 123