Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
Got no response the last time, trying again. Problem 2 is the most important at the moment, and any help is appreciated!
I have almost no answers, but perhaps my reply will trigger someone else to respond.
1. Line 31, 2nd line of pdf: How can I keep \framed[align={r2l,middle}] and get the interstrutline to still span the textwidth. In other words, every strutline should be of textwidth, regardless of alignment
A nested \framed + \strut will do the trick: \framed{\startinterstrutline \framed[align={r2l,middle}] {\strut This is some interstrutline text}\stopinterstrutline}
2. Compare pages 2 and 3: page 2 has extra space at the top, perhaps a skipped line. How can I suppress that so that the first line always starts at the top of the textblock?
no idea
3. On page 3: How can I control the continuation of the strutlines past the final textline? What if, eg, I wanted to fill the rest of the page with strutlines?
Add a \vfill before hte \stopinterstrutline
4. How can I change the width and color of the strutline itself?
again, no idea.
5. I use \setuplayout[grid=on], but I'm not sure that guarantees a grid ... \start-\stoplinecorrection seems to give a different result. [\showgrid seems broken so I can't directly compare]. Any tips to guarantee a grid?
\showgrid works for me (ver: 2009.09.28 09:02 MKIV) And you may want \setuplayout[grid=tolerant], dunno.
6. Is there a way to pass the interstrutline background to \framed [so I don't have to type \start-\stopinterstrutline etc]?
I don't know, but you could wrap the \framed in a shorthand definition macro: \definecomplexorsimpleempty\Myframed \def\Myframed[#1]#2{\framed[#1]{\startinterstrutline #2\stopinterstrutline}} Best wishes, Taco