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

learn more… | top users | synonyms

10
votes
2answers
469 views

TeX equivalent for LaTeX's \boxed

Does anyone have any suggestions for recreating the \boxed{...} function from LaTeX in plain TeX? I'm pretty sure it's part of the amsmath package for LaTeX (not actually sure because I include ...
2
votes
0answers
252 views

Debugging OpenType Feature / Substitution Problems with XeTeX [closed]

I have been sent an updated set of fonts from a professionally developed OTF typeface which I am trying to use with plain XeTeX. When using them with XeTeX, I could not get the OpenType features to ...
17
votes
3answers
1k views

Starting with TeX (not LaTeX)

I've been using LaTeX for 3 years and I'm decided to switch to (plain) TeX. For the moment I'm reading The TeXbook for the third time (I quietly start to read the double-danger signed paragraphs) and ...
9
votes
3answers
387 views

How do I get the \cancel (strikeout) in Plain TeX?

I've searched both online and in the TexBook, but can not find a command or package. Note, I am pretty new to TeX / LaTeX, but am currently trying to figure out how to do things in Plain TeX. Edit: ...
11
votes
2answers
387 views

Is there any software that converts latex file to tex file?

I was asked to convert a file from LaTeX format to TeX format, so it could be compiled by TeX. I use LaTeX a lot, but I'm quite unfamiliar with TeX. And the file is pretty long. So I was wondering if ...
0
votes
1answer
133 views

Combining \obeyspaces and \read

It seems to be impossible to combine \obeyspaces and \read in the following manner: \newread\myread \openin\myread=myfile.txt \obeyspaces % Deleting this line removes the error \read\myread to ...
20
votes
3answers
396 views

Strange behaviour with PGF/TikZ and Plain TeX output routine

I noticed a strange behavior when running PGF/tikZ with pdfTeX on my Debian box : a simple session without tikz: pdftex **\relax *Hello World *\bye do output the page number on the page footer. On ...
7
votes
2answers
120 views

Match number sign inside plain TeX loop

In order to strip comments from code I would like to input from a file into TeX, I am using the following loop \documentclass{article} \def\getfirst#1#2\relax{#1} \begin{document} ...
5
votes
1answer
190 views

Bad rendering of OrnementsADF

With the code (typeset with XeTeX) \font\orn="Ornements ADF" at 12pt \centerline{\orn\char70\quad\char57\quad\char102} \centerline{\orn\char102\quad\char57\quad\char70} ...
10
votes
2answers
506 views

Position margin notes relative to left margin in plain TeX

I want to add margin notes in the Tufte style to my Plain TeX document. (I'm using eplain, if that matters.) I know that if I were using LaTeX I could just use tufte-latex, but as a thorough ...
13
votes
1answer
279 views

No indent in the first paragraph in a section in Plain TeX

I have checked no indent in the first paragraph in a section? but I think my question warrants a new thread, because my question is about Plain TeX. I am using Plain TeX. I would like to write a ...
5
votes
1answer
290 views

Plain TeX and different hyperlink styles in dvi and pdf

I use the harvmac macros to write papers with plain TeX, and harvmac loads the hyperbasics file to enable hyperlinks. However I can't figure out why the hyperlinks have a different appearance in the ...
10
votes
2answers
892 views

How to include eps files in Plain TeX? [duplicate]

The title stands for itself. If it is not possible, how does LaTeX import an EPS file using \includegraphics?
9
votes
1answer
289 views

“The Errors of TeX” with hyperlinks

I was reading the appendix to "The Errors of TeX" by Knuth (errorlog.tex, written with plain TeX) and I noticed that there is a PDF file errorlog.pdf with nice hyperlinks and I was wondering how that ...
0
votes
0answers
282 views

Why do some people still use TeX instead of LaTeX? [duplicate]

Possible Duplicate: Reasons to use plain TeX Is it still worth it to learn TeX? I'm utterly curious to know why some people still use TeX instead of full featured LaTeX?
13
votes
3answers
746 views

Examples of list macros in plain TeX

I'm writing macros to typeset lists in plain TeX. Please can you suggest some examples of macros for numbered lists? I'd prefer examples from "living code", from CTAN packages and so on. But any kind ...
6
votes
0answers
598 views

Problem with LuaTeX : can't write on the .aux file at second pass [closed]

I use MiKTeX 2.9 for Windows, format Plain eTeX. I have my own macro package which I've used for years, and I tried recently to use it with LuaTeX (included MiKTeX version) in order to use UTF-8 ...
5
votes
3answers
102 views

Having inside delimiters same size as outside ones [duplicate]

I want to define a set $S= \left\{ \left[\matrix{ a &b \cr a^2 & b^2\cr }\right] \left| \right. a, b {\rm \ real \ numbers} \right\} $ How do I make the separating bar | same size ...
9
votes
1answer
222 views

Problem with a code to draw a box around text

I want to enclose a text in a box. My problem is that when the code below is placed at the beginning of a line it causes a line-break/carriage-return (the box stays on a line by itself, the rest of ...
8
votes
1answer
364 views

Can I assume that the \ht+\dp of a strutbox == \baselineskip?

In Context, as long as the interline space is set through the proper interface, it is safe to assume that (tex.box.strutbox.height + tex.box.strutbox.depth) == tex.baselineskip.width. This relation is ...
6
votes
1answer
79 views

How to create a conditional which checks the value of written text in plain TeX?

I need to create a conditional in plain TeX like this: IF #1 = "N" THEN PRINT "TRUE" ELSE PRINT "#1" I tried various ways in TeX. The solution must be simple, but none of the ways I tried ...
8
votes
4answers
760 views

How to create a conditional which checks if one or another condition is true in plain TeX?

I need to make a conditional like this: IF #1 > \variable OR #1 = 0 THEN PRINT "True" ELSE PRINT "False" If #1 is greater than \variable or is equal to 0, then it it true. The value only ...
5
votes
1answer
117 views

plain xetex page labels

there are some PDF files that some reader displays the printed page number as the current page number. I also saw, that this can be achieved in latex with hyperref package. what I'm look for is ...
2
votes
1answer
213 views

Page breaking in vtop/hbox

I'm a new user of Tex and I'm facing a problem related to a very simple situation. I'm currently working on a TeX (TeXLive, no LaTeX is used) generator. This generator builds TeX files containing ...
15
votes
1answer
609 views

How does plain TeX \insert work?

My question is about Plain TeX command \insert. I understood that every insert series has a dedicated box. But I didn't understand if the use of \insert adds content to the box, or if the box is ...
11
votes
1answer
265 views

Is TeX necessary if using LaTeX?

I have been using LaTeX for a little over two years now. I mostly use it to prepare homework solutions in mathematics and engineering coursework. I also use it to document my research and writing some ...
2
votes
2answers
168 views

Extracting content of .tex files

Is there any GUI fast way for extracting content of .tex files? (Stripping all tags and meta-data) Among TeX editors which one support export content to plain .txt file? (I found some command-line ...
11
votes
3answers
396 views

A command to replace \middle| when it's missing?

I'm using this LaTeX plugin for a Wiki (Confluence, blech), and it doesn't support the \middle| command. I'm guessing it doesn't have eTex primitives or some such backwardness. Anyway, I guess I can ...
11
votes
1answer
246 views

How does one implement drop caps in plain TeX?

How might one implement a simple drop cap in plain TeX without additional packages?
5
votes
1answer
3k views

How does \headline work?

I understand that TeX uses \headline to place headers. If \headline did not exist, how would one implement a simple version of the same? Additionally, where might one find simple documentation of ...
15
votes
1answer
422 views

A center environment for plain TeX

In TeX, one can center a single line of text with \centerline. How would one implement a center justification environment for a single long line of text in plain TeX without the addition of any ...
3
votes
2answers
284 views

Vertical line from top margin of page to current positon

I'm struggling with this really simple (vanilla plainTeX) trick, which I'm not able to crack... How does one draw a vertical (i.e. perpendicular to the horizon) line that leads from the top (or top ...
20
votes
4answers
2k views

Now that I can run TeX on my iPad, what shall I TeX?

I have just learnt that there is a TeX implementation now on the iPad (original source this answer to Is there a (La)TeX distribution running on iPad?). As the author of the blog post I TeX therefore ...
5
votes
1answer
154 views

Style/macros for outlines in Plain TeX

I'm seeking a style file or other macros for creating an outline in Plain TeX, of the traditional indented style, eg. I. Big Idea A. Sub idea B. Sub idea 1. Thought ...
5
votes
2answers
149 views

Name and background information on this space glyph

Given the following plain TeX snippet and it's output: hallo werld {\catcode`\ =12 hallo wereld} {\tt hallo wereld} {\tt\catcode`\ =12 hallo wereld} The command \catcode`\ =12 changes the ...
17
votes
2answers
404 views

plain TeX theory, \afterassignment

Is there a real difference between \newcount\acounter \def\dosomething{\afterassignment\dosomesecret\acounter=} \def\dosomesecret{I do something with \the\acounter} and \newcount\acounter ...
10
votes
3answers
1k views

The character ə in Plain TeX?

I'm part of a writing group and we are using Plain TeX (well, pdfTeX). Currently I need to write the symbol ə ("schwa"?), but I have no clue how to do this.
6
votes
3answers
261 views

What's the difference between format and macro language?

From a comment by morbusg depends on what you mean by "plain tex": if you mean "plain tex – the macro language", then yes, LaTeX does provide an interface. If you mean "plain tex – the ...
10
votes
2answers
2k views

Inserting an image in plain TeX

I used the OzTeX implementation of TeX, also I used to typeset my docs in plain TeX, not LaTeX for me, so I had no problem to insert an image using the OzTeX, now I'm back to TeX docs, am using the ...
13
votes
2answers
637 views

The revenge of the vboxes

Yes, they're back. With a vengeance. Those pesky little buggers we call \vboxes which I've fought against previously. (And Bruno, too.) \parskip=0pt \def\unquo{\unvbox0\smallskip} ...
15
votes
1answer
555 views

Transition from LaTeX to Plain TeX

For several reasons I need to typeset in Plain TeX, however I have always worked with LaTeX. So how hard will this be? I basically need something like the book or report documentclass (with toc, ...
5
votes
1answer
275 views

Outputting a spread at a time

I think I remember Stephan Lehmke writing here somewhere in a comment about outputting a spread at a time instead of page. That got me thinking; does that mean something like: \output={\shipout\vbox ...
9
votes
1answer
656 views

Is there a counterpart/antidote for \obeylines?

The \obeylines command tells TeX to preserve line endings, which is useful for poetry and various other things. I can limit the effect of \obeylines by wrapping it in a scope, like so: {\obeylines ...
2
votes
1answer
277 views

Plain TeX font cyrillic

I am using XeTeX and love it very much. When I use helatex, I have no problems at all. But I want to try do it «True Way»: plainTex. XeTeX takes all annoyance with unicode from me, but sample like ...
4
votes
1answer
469 views

Asana Math calligraphic capital R with XeTeX

I am having problems getting a calligraphic ‘R’ with Asana Math. This is my minimal: \font\asanacal="Asana Math:script=math;mapping=script;+salt" \font\asanascr="Asana ...
3
votes
2answers
407 views

How can I suppress the header for the first page in a chapter

I'm trying to implement a macro that begins a chapter. I don't want to use latex or fancyhdr but only plain tex (for pedagogical reasons). The code is the following ...
8
votes
1answer
473 views

What are the avaliable font sizes in texlive?

I'm using texlive 2010, and I'm trying to design the layout for a document in plain tex (because I need the document and also I want to learn tex). The input is the following \font\fifteenrm=cmr15 ...
12
votes
1answer
723 views

From LaTeX with pdflatex to plain TeX

I've always wanted to try plain TeX instead of LaTeX. I can use plain but I'm not able to use correctly the fonts and I'm not able to use the french hyphenation. I would to know how to do this with ...
3
votes
1answer
463 views

Learning TeX via the TeXbook

As I most often am not able even to ask the right question, much lesser to understand answers, I have decided to read thoroughly Knuth's TeXbook. But on Appendix B--Control Sequences--I find ...
2
votes
1answer
126 views

How do I adjust the margins just at the beginning of certain sections?

I'm using plain TeX and I'm writing a document that will have multiple sections. Each sections starts a new page (i.e. it's immediately preceded by an \eject). How can I adjust the top margin just on ...