In a 200 page document I have 20-30 portions, 2-5 sentences long usually, scattered throughout that discuss something about statistics. My thought is to add a
marginpar for each statistics portion.
My question is whether I can
marginpar uniquely so that I am able to
ref-er to it (and thus to the few sentences on statistics). [While tagging this question,
marginnote appeared, and that might be an alternative to be labelled.)
EDIT: The reference to another question that shows how to number marginpar items, like footnotes are numbered sequentially, is very helpful, but doesn't explain how then to refer to a numbered marginpar later in the document.
If this is possible, it seems it will require a counter (need counter to refer to text that has been labeled). But being a beginner, I don't know whether the basic idea is a dead end let alone how to code it.
I am using
R, RStudio, and the
knitr package on Windows.