Repository navigation
Description
A paper that ships its own IEEEtran.cls gets a stray # in front of its
author list, on the title page. The engine's embedded IEEEtran emulation does not
have the problem; the real class does.
Witness, three lines
\documentclass[conference]{IEEEtran}
\begin{document}
\title{W}\author{\IEEEauthorblockN{A Name}\IEEEauthorblockA{An Affiliation}}\maketitle
\end{document}with a real IEEEtran.cls beside it. Read out of the two PDFs:
| line 2 | line 3 | |
|---|---|---|
| tectonic | A Name |
An Affiliation |
| gotex | # A Name |
An Affiliation |
The same run reports two undefined commands, both on this path:
gotex: 3 undefined command(s) skipped, 3 occurrence(s)
1 \everycr
1 \noalign
Dropping the \IEEEauthorblockA leaves only \everycr; dropping the author block
leaves neither, and \IEEEeqnarray is not involved — removing it changes
nothing. So the path is IEEEtran's \halign-based author block:
IEEEtran.cls:4650 \def\@IEEEauthorblockNtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockNtopspace}}
IEEEtran.cls:4670 \def\@IEEEauthorblockAtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockAtopspace}}
IEEEtran.cls:4714 \def\@@@IEEEauthorhaligncr[#1]{\ifnum0=`{\fi}\cr\noalign{\vskip#1\relax}}
halign.go does implement \noalign, and \everycr is a TeX primitive the
engine lacks, so the alignment is not being entered the way the class expects and a
template # reaches the page.
Scale, measured on the corpus
Nine of the 154 fidelity papers use \IEEEauthorblockN. Split by whether they ship
the class:
| paper | class | stray # |
|---|---|---|
| 2307.14273 | shipped | yes |
| 2310.19699 | shipped | yes |
| 2408.03452 | shipped | yes |
| 2408.07843 | shipped | yes (2) |
| 2210.12297 | embedded | no |
| 2304.04876 | embedded | no |
| 2311.16571 | embedded | no |
| 2405.05734 | embedded | no |
| 2408.02112 | embedded | no |
4 of 4 shipped, 0 of 5 embedded. A real one, 2307.14273, prints
# Roa’a Al-Emaryeen… on its title page.
Relation to #598
These are also where the remaining \noalign uses live. #598 teaches the tabular
parser \noalign and removes 19 of the corpus's 64 uses (2 papers); the other 45,
over 6 papers, come from this class by expansion — none of those papers writes
\noalign in its own source at all. Two of the six use the construct without an
author block, which is why the counts are 6 papers here and 4 above.
\everycr itself is 5 papers / 13 uses in the census of skipped commands.
Activity
tannevaled commentedon Oct 11, 2026
Measured: 13 alignments over 5 papers, and the order the parts must land in
#603 does three of the four things this needs, and deliberately not the fourth.
The scale, measured with a probe written for the new report section (not the
undefined channel — that is the whole point of this defect):
All five ship their own
IEEEtran.cls. Nothing else in the corpus drops analignment.
Why the brace is the LAST part, not the first
Accepting the implicit brace is one line, and I wrote it, measured it, and took it
back out. With it, the alignment is entered and this engine cannot yet build it:
A Name# A Name0.511mmThe author names are gone and a dimension is on the page instead. A cosmetic
#that keeps the content beats a clean parse that loses it.
Flipping the brace needs these first, and the three that are done are in #603:
\halign{&T\cr …}(tex.web §786/§793) — the preamble is&\relax\hfil…##\relax\hfil…\cr\egroupends a row (§774)\@IEEEauthorstrutrule) — this iswhere
0.511mmcomes from\everycr(§799), a token list inserted after every\cr; 5 papers / 13 usesin the census of skipped commands, and it is in the preamble here
\ifnum0={\fi}brace trick, which is how\is written inside the alignment (@@@IEEEauthorhaligncr`)The witness stays the three-line one above; the control stays 4-of-4 shipped
against 0-of-5 embedded.
halign: a periodic preamble, an implicit \egroup, and an alignment no…
IEEEtran emulation: set the title in the class's \Huge (24pt/28pt) (#891
halign: the preamble is copied unexpanded (tex.web 782-784)
halign: the preamble is copied unexpanded (tex.web 782-784) (#908)
halign: entries run live, as tex.web does (§785-791); \bgroup opens a…
halign: entries run live, as tex.web does (§785-791); \bgroup opens a…