In the following code, the marginnote is logically aligned to the lipsum text. I would like to align the marginnote to the title of the section.
What's the trick to use ?
% Source : http://tex.stackexchange.com/questions/36432/tiks-draw-in-left-margin-putting-old-calendar-style-date-in-margin
\documentclass[12pt]{article}
\usepackage{lipsum}
\usepackage{marginnote}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{backgrounds}
\newcommand*{\Date}[4]{%
\begin{tikzpicture}[show background rectangle,inner frame sep=0pt,text width=1cm,align=center]
\node [fill=orange] at (0,0) (dayofweek) {#1};
\node [fill=white ] at ($(dayofweek) +(0,-\baselineskip)$) (dayofmonth) {#2};
\node [fill=white ] at ($(dayofmonth) +(0,-\baselineskip)$) (month) {#3};
\node [fill=orange] at ($(month) +(0,-\baselineskip)$) (dayofmonth) {#4};
\end{tikzpicture}
}
\reversemarginpar % To put the margin pars on the left
\begin{document}
\section*{One day} \marginnote{\Date{Mon.}{28}{Nov}{2011}}
\noindent\lipsum[1]
\end{document}
