Plain TeX is Knuth's original default format for TeX documents.

learn more… | top users | synonyms

5
votes
1answer
57 views

How to draw borders around page contents

During learning, while conducting different experiments, it's useful to see actual page borders. So I wrote the code which does this and would like to know whether it is the proper way to accomplish ...
3
votes
1answer
38 views

How much space is occupied by footline?

This is said in TeXbook about page dimensions: Plain TEX sets \vsize=8.9in (not 9in, since \vsize doesn't include the space for page numbers at the bottom of each page)... According to ...
2
votes
1answer
88 views

How can branch if I'm in a halign or not?

Edit: It seems that I can use \noalign\bgroup before the \halign. That's fine. But how do I test that I'm inside the halign group? I'm able to write an own if, but it would be better to ask tex for ...
6
votes
0answers
22 views

Question about exercise 23.3 in TeXbook

This is exercise 23.3: Explain how to change the output routine of plain TeX so that it will produce twice as many pages. The material that would ordinarily go on pages 1, 2, 3, etc., should go ...
5
votes
0answers
61 views

CSplain support for English quotes

In CSplain, there is a lot of multi-language support (including UTF-8 input in 8-bit TeX engines) but one curiously missing thing was support for UTF-8 English quote glyphs. From reading the CSplain ...
4
votes
0answers
47 views

Editing ligature table

It is suggested in TeXbook (p. 46) that in adapting TeX to type Norwegian, You can arrange the font metric file so that TeX will interpret ae, o/, aa, AE, O/, and AA as ligatures that produce ...
3
votes
0answers
74 views

plain TeX and paragraphed notes

The TeXbook proposes, p. 398sq, a system to obtain paragraphed note. That is, instead to obtain Footnote. Footnote. Footnote obtain : Footnote 2. Footnote 3. Footnote. In ...
3
votes
0answers
68 views

Distributable Tex application

I'm trying to write a very short .tex file which should read some images and text and create a report in pdf. Writing the tex is definitely not the problem. The report will contain some text, and a ...
1
vote
0answers
56 views

How to get pictures from every \halign line?

I'm trying to get separate images from eqnarray lines. Problem is that I can't properly insert starting/closing image \specials for tex4ht. Lets consider a minimal example (plain tex): ...
1
vote
0answers
84 views

How can I make TeX find tikz's files without moving all of them?

I'm trying to recreate my file system on a cloud server so I can SSH into it from my new tablet. So I have def.tex, my main list of custom macros, which accesses tikz.tex: \input ...
1
vote
0answers
85 views

Is there a version of pdfTex that does not ignore non-pdf special commands?

To make hyperlinks to theorems in plaintex one can use commands that are available in a file called Hyperbasics. When running pdftex instead of tex on the file, Miktex ignores some of the special ...
0
votes
0answers
31 views

Is there an equivalent to roff's .ns (no-space mode) in plain TeX?

Is there something like roff's .ns in plain TeX (or something even better)? E.g. a command which says that the directly following vskips are ignored or (additional) a special "vskip" which makes all ...
0
votes
0answers
50 views

Question about example of alignment in TeXbook

TeXbook has this example in chapter 22: \settabs\+\indent&Horizontal lists\quad&\cr % sample line ... Comment to this example says: A sample line might as well end with &, because ...