I would like to keep a sort of diary in LaTeX, and in this context I have the need for a command like:
\entry{date}{title}
such that the following is satisfied:
- each 'diary entry' corresponds to a chapter of the dairy (assuming that the diary uses the documentclass book) and starts on a new page;
- the date is listed on the left margin just next to the title as a marginnote;
- the title starts exactly on the left margin (so it is aligned with the text below).
In this way I could list eventually all the diary entries in a table of contents. Less important but useful to me would be to control the spacing between the entry title and the first sentence of the entry (let's say this vertical distance equals \parskip
).
All ideas, questions and suggestions are welcome.