* spacing with enumeration...
@ 2014-10-05 19:51 Willi Egger
2014-10-05 20:21 ` Thangalin
0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2014-10-05 19:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear helpers in the field…
I have a project where I use an enumeration. However what I needed to do is to make the spacing before, in-between and after smaller than it is in the standard definition. All my attempts to get this right failed.
May be one of you can help me further?
Willi
\defineenumeration
[OtherMeaning]
[text=,
headstyle=normal,
alternative={left}, %,serried
distance=0pt,
width=20pt,
stopper=\high{o},
inbetween=]
\starttext
{\bf Ton}
\startnarrower
\startOtherMeaning
Inhoudsmaat van een schip, die 1000 kilo \dots
\stopOtherMeaning
\startOtherMeaning
Tonvormige boei \dots
\stopOtherMeaning
\stopnarrower
{\bf Tong,} z. n. v.
\startnarrower
Split van een standaard. \dots
\stopnarrower
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: spacing with enumeration...
2014-10-05 19:51 spacing with enumeration Willi Egger
@ 2014-10-05 20:21 ` Thangalin
2014-10-05 21:23 ` Willi Egger
2014-10-05 21:41 ` Willi Egger
0 siblings, 2 replies; 5+ messages in thread
From: Thangalin @ 2014-10-05 20:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
Try this:
\defineenumeration[OtherMeaning][
text=,
headstyle=normal,
alternative={left}, %,serried
distance=0pt,
width=20pt,
stopper=\high{o},
inbetween=,
before={\blank[small]},
after={\blank[small]},
inbetween=,
]
\setupnarrower[
before={\blank[big]},
after={\blank[big]},
]
\starttext
{\bf Ton}
\startnarrower
\startOtherMeaning
Inhoudsmaat van een schip, die 1000 kilo \dots
\stopOtherMeaning
\startOtherMeaning
Tonvormige boei \dots
\stopOtherMeaning
\stopnarrower
{\bf Tong,} z. n. v.
\startnarrower
Split van een standaard. \dots
\stopnarrower
\stoptext
See also:
http://wiki.contextgarden.net/Command/defineenumeration
http://wiki.contextgarden.net/Command/setupdescriptions
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: spacing with enumeration...
2014-10-05 20:21 ` Thangalin
@ 2014-10-05 21:23 ` Willi Egger
2014-10-05 21:28 ` Wolfgang Schuster
2014-10-05 21:41 ` Willi Egger
1 sibling, 1 reply; 5+ messages in thread
From: Willi Egger @ 2014-10-05 21:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Thangalin!
thank you for your reply. It does what I was looking for. I had already inbetween= in my definition, which I thought would be to adjust the spacing inside a row of enumeration-items… But the before and after commands do the trick. Even the width is great, I adjusted the value a little bit and now the enumerations look precisely as I had it in mind.
Thank you very much.
Willi
On 5 okt. 2014, at 22:21, Thangalin <thangalin@gmail.com> wrote:
> Try this:
>
> \defineenumeration[OtherMeaning][
> text=,
> headstyle=normal,
> alternative={left}, %,serried
> distance=0pt,
> width=20pt,
> stopper=\high{o},
> inbetween=,
> before={\blank[small]},
> after={\blank[small]},
> inbetween=,
> ]
>
> \setupnarrower[
> before={\blank[big]},
> after={\blank[big]},
> ]
>
> \starttext
> {\bf Ton}
>
> \startnarrower
> \startOtherMeaning
> Inhoudsmaat van een schip, die 1000 kilo \dots
> \stopOtherMeaning
> \startOtherMeaning
> Tonvormige boei \dots
> \stopOtherMeaning
> \stopnarrower
>
> {\bf Tong,} z. n. v.
>
> \startnarrower
> Split van een standaard. \dots
> \stopnarrower
> \stoptext
>
> See also:
> http://wiki.contextgarden.net/Command/defineenumeration
> http://wiki.contextgarden.net/Command/setupdescriptions
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: spacing with enumeration...
2014-10-05 21:23 ` Willi Egger
@ 2014-10-05 21:28 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2014-10-05 21:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 05.10.2014 um 23:23 schrieb Willi Egger <context@boede.nl>:
> Hi Thangalin!
>
> thank you for your reply. It does what I was looking for. I had already inbetween= in my definition, which I thought would be to adjust the spacing inside a row of enumeration-items… But the before and after commands do the trick. Even the width is great, I adjusted the value a little bit and now the enumerations look precisely as I had it in mind.
The in-between key controls the vertical space between the enumeration title and text when the title appears on top (alternative=top) of the enumeration content.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: spacing with enumeration...
2014-10-05 20:21 ` Thangalin
2014-10-05 21:23 ` Willi Egger
@ 2014-10-05 21:41 ` Willi Egger
1 sibling, 0 replies; 5+ messages in thread
From: Willi Egger @ 2014-10-05 21:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang, thank you for the explanation. This makes indeed sense!
Best wishes
Willi
On 5 okt. 2014, at 22:21, Thangalin <thangalin@gmail.com> wrote:
> Try this:
>
> \defineenumeration[OtherMeaning][
> text=,
> headstyle=normal,
> alternative={left}, %,serried
> distance=0pt,
> width=20pt,
> stopper=\high{o},
> inbetween=,
> before={\blank[small]},
> after={\blank[small]},
> inbetween=,
> ]
>
> \setupnarrower[
> before={\blank[big]},
> after={\blank[big]},
> ]
>
> \starttext
> {\bf Ton}
>
> \startnarrower
> \startOtherMeaning
> Inhoudsmaat van een schip, die 1000 kilo \dots
> \stopOtherMeaning
> \startOtherMeaning
> Tonvormige boei \dots
> \stopOtherMeaning
> \stopnarrower
>
> {\bf Tong,} z. n. v.
>
> \startnarrower
> Split van een standaard. \dots
> \stopnarrower
> \stoptext
>
> See also:
> http://wiki.contextgarden.net/Command/defineenumeration
> http://wiki.contextgarden.net/Command/setupdescriptions
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-05 21:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-05 19:51 spacing with enumeration Willi Egger
2014-10-05 20:21 ` Thangalin
2014-10-05 21:23 ` Willi Egger
2014-10-05 21:28 ` Wolfgang Schuster
2014-10-05 21:41 ` Willi Egger
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).