Op dinsdag 7 sep 2010 15:35 CEST schreef Wolfgang Schuster:
I am still trying to make a useful environment for paper feedback forms. One thing I am trying to do now, is to but lines on the back for when someone needs more space to give the feedback. For this I made the following macro: \def\PageWithComment[#1]{ \page #1 \crlf\crlf \thinrules[n=35,inbetween=\vskip1.5ex] \page }
There are several needed optimisations. For starters the number of lines is hard coded. Is there a way to calculate them?
\def\PageWithComment[#1]% {\page #1 \blank[2*line] \getnoflines{\dimexpr\pagegoal-\pagetotal-3\lineheight\relax} \thinrules[n=\noflines] \page}
I tried something like that, but that generated 32 pages. Had properly to do with the inbetween. I changed it to: \def\PageWithComment[#1]{ \page #1 \blank {\switchtobodyfont[2.3em] \getnoflines{\dimexpr\pagegoal-\pagetotal-3\lineheight\relax} \thinrules[n=\noflines] } \page} For the inbetween by thinrules I use 1.4em, but to get the same space I need to use here 2.3em. Do not know why. -- Cecil Westerhof M CLDWesterhof@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/