I want to create the illusion of a note stuck on top of the page. Here I have typed and saved in photoshop
and then added to the xeLatex document with \includegraphics[angle =30 ]{paper.png} paper.png is at http://www.bluehillsfarm.com/images/paper.png
I would like to be able to type comments on the post-it note into TeX and have them auto-size, i.e. if the professor's comment was longer it would shrink to a smaller font to fit the same-sized post-it note.
Here is my MWE but the comment is not positioned right on the note.
\documentclass{article}
\usepackage{graphicx,pstricks}
\newpsstyle{gridstyle}
{
gridwidth=0.1pt,
subgridwidth=0.05pt,
gridlabels=5pt,
gridcolor=green,
subgridcolor=white,
subgriddiv=2
}
\psset{style=gridstyle}
\newsavebox\IBox
% Ratio of the imported graphics width to the line width.
\def\RatioToLineWidth{0.95}
\savebox\IBox
{%
\includegraphics[width=\RatioToLineWidth\linewidth]{paper.png}%
}
\newdimen\width
\newdimen\height
\width=\wd\IBox
\height=\ht\IBox
\pagestyle{empty}
\begin{document}
\psset
{
xunit=0.1\width,
yunit=0.1\height
}
\begin{pspicture}(\width,\height)
\rput[lb](0,0){\usebox\IBox}
{\parbox{4cm}{I want this text to be justified. I want this text to be justified. I want this text to be justified. I want this text to be justified. I want this text to be justified. I want this text to be justified. }}
\end{pspicture}
\end{document}



