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.