From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Fwd: Re: something about the placelist
Date: Wed, 24 Oct 2012 10:43:36 +0200 [thread overview]
Message-ID: <5087AA38.6040908@wxs.nl> (raw)
In-Reply-To: <5087AA14.3010300@wxs.nl>
-------- Original Message --------
Subject: Re: [NTG-context] something about the placelist
Date: Wed, 24 Oct 2012 10:43:00 +0200
From: Hans Hagen <pragma@wxs.nl>
To: feng <fengidri@gmail.com>
On 24-10-2012 10:23, feng wrote:
> 在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen <pragma@wxs..nl> 写道:
> 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
>> -----------------------------------------------------------------
>
>
--
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next parent reply other threads:[~2012-10-24 8:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5087AA14.3010300@wxs.nl>
2012-10-24 8:43 ` Hans Hagen [this message]
2012-10-24 9:08 ` feng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5087AA38.6040908@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).