在 Wed, 24 Oct 2012 16:43:36 +0800,Hans Hagen
-------- Original Message -------- Subject: Re: [NTG-context] something about the placelist Date: Wed, 24 Oct 2012 10:43:00 +0200 From: Hans Hagen
To: feng On 24-10-2012 10:23, feng wrote:
在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen
写道: sorry, there is still a null string line.But I find that if there is a string before the \placelist the null string is disappear. like this: \setuplist[section][before=] \framed[background=frame_mp,frame=on,align=middle,width=80pt]{% add: strut=no to the \framed command
(first run with \showstruts and you see what happens)
string %%this is the string %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \placelist [section] [alternative=d, % command, % none, maxwidth=\hsize, width=\hsize, maxwidth=75pt, before=, after=, offset=91pt, criterium=all, %important align=meddle, style=\tfa] } the output is like: ------------- |string | |1 ass sss 1.| |2 ass sss 1.| |3 ass sss 1.| -------------- but if no the "string" the output is like:
------------- | | |1 ass sss 1.| |2 ass sss 1.| |3 ass sss 1.| --------------
On 24-10-2012 09:53, feng wrote:
hi! I am a newer. I am studying the context. I think the context is very good. I had study the latex in past years.
I have a question: there is a "null string line" above the \placelist, I don't want it. who can help me?
\framed[background=frame_mp,frame=on,align=middle,width=80pt]{% \blank[-12pt] \placelist [section] [alternative=d, maxwidth=\hsize, width=\hsize, maxwidth=75pt, offset=0pt, criterium=all, align=meddle, style=\tfa] }
thank you!
ps. I am a chinese, my english is poor.
\setuplist[section][before=]
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
-- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/