| 1 |
\documentclass[11pt,a4paper]{article} |
| 2 |
|
| 3 |
\usepackage{marginalia} |
| 4 |
|
| 5 |
\begin{document} |
| 6 |
|
| 7 |
Here is some body text.\marginalia{Here is a marginal note.} Some more |
| 8 |
body text.\marginalia[style=\footnotesize\itshape\raggedright]{Here is another |
| 9 |
marginal note, set in smaller text and italics, whose position has been been |
| 10 |
adjusted automatically.} |
| 11 |
|
| 12 |
\vspace{20mm} |
| 13 |
|
| 14 |
Some final body text after a space.\marginalia[pos=left, valign=b, |
| 15 |
style=\sffamily\raggedleft, width=35mm]{This note is placed on the left side |
| 16 |
of the page, wider, in sans serif, ragged left, and bottom-aligned.} |
| 17 |
|
| 18 |
\end{document} |
| 19 |
|