I would like to build a simple 2-column table that will let me attach, to one of the lines in the table, a marginal note in the right margin, for example:
A B
CC DDD This is a marginal note.
E FF
I'm using the LaTeX style called tufte-book which, by default, puts \marginnote text into the right margin. (Does the same for \footnote.) See: http://www.latextemplates.com/template/tufte-style-book
But this is not really a problem with the style. My problem is that, no matter whether I use LaTeX tabular, or Plain TeX halign, or even Plain Tex tabs, I get an error like "Not in outer par mode" in the line where I have put the \marginnote.
Because my table requirement is very modest, I also tried this macro:
\def\oneline#1#2{\hbox{\hbox to 10ex{#1}#2}}
Works fine until I do something like:
\oneline{AA}{BB\marginnote{CC}}
which prompts the "Not in outer par mode." The offending agent in the macro is the first hbox, but if I remove that, then my two columns end up on different lines.
Any ideas would be appreciated.


\begin{tabular}[t]for the last one. – yo' Mar 10 '15 at 10:45\halignwith the optional argument to `\marginnote' because I do indeed want to put the note next to a specific row (and because I prefer Plain TeX if I can use it). The optional argument is not an ideal solution, e.g. if a table splits over a page break, or if linespacing changes, but it is good enough for my needs. Thank you very much! – Iron Pillow Mar 12 '15 at 23:29