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

learn more… | top users | synonyms

4
votes
1answer
136 views

What's special about \def\\ vs. \def\mksp?

In the following definitions, \\ captures a space token but \mksp does not. \documentclass{article} \begin{document} {\def\\{\global\let\sp= } \\ } {\def\mksp{\global\let\spx= } \mksp } \show\sp ...
3
votes
2answers
651 views

setting \tabskip in a repeating \halign preamble

Is it somehow possible to set the \tabskip glue to zero for the first and last column in a repeated \halign? Eg. % tabskip=0pt \halign{&#\hfil\tabskip1em plus1em minus.5em\cr ...
2
votes
3answers
105 views

Left margin wider than right one

Why is the left margin wider than the right one? Each of them should be 1 inch wide: If you run TEX without modifying the plain TEX format, you get pages that are numbered at the bottom; and each ...
2
votes
1answer
192 views

Can I write a macro for placing a vertical, breakable rule along arbitrary paragraphs without an output routine?

I answered a question last week about creating a continuous but breakable rule next to an arbitrary number of paragraphs in Plain TeX. My solution gathered the paragraphs to rule in a vbox; my output ...
1
vote
4answers
716 views

How to get started with plain TeX

I am using TeX Live 2010 on Windows 7. I have no experience to compile a plain TeX input file. Is my input file below correct? % gettingstarted.tex \input pstricks \topmargin=-72.27pt ...