ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Nested itemize (spaces before and after inside environment)
@ 2013-10-24 10:45 Jaroslav Hajtmar
  2013-10-24 12:21 ` Tomas Hala
  0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Hajtmar @ 2013-10-24 10:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello ConTeXist.

I tried convert plainTeX source code into ConTeXt  source code so that 
the output PDF gave the same (or approximately the same) result. I did 
it for one of plainTEX developers (Mr. Olšák), which compared results of 
PlainTeX, LaTeX and ConTeXt. However, I encountered the following problem.

Is there a way to adjust the spacing before internal itemize environment 
when the external itemize environment is set as PACKED?

Thanx JaroslavHajtmar

Here is my minimal example:


\setupitemize[1][packed][symbol=n,before={\blank[medium]},after={\blank[medium]}]
\setupitemize[2][packed][symbol=a,stopper=),before={\blank[big]},after={\blank[big]}]

\starttext

This is normal text before itemize list.

\startitemize
\item First 1 level
\item Second 1 level
   \startitemize
   \item First 2 level (before this line should be big space)
   \item Second 2 level
   \item Third  2 level (after this line should be big space)
   \stopitemize
\item Third 1 level
\item Fourth 1 level
\stopitemize

This is normal text after itemize list.


\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] 3+ messages in thread

end of thread, other threads:[~2013-10-24 12:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-24 10:45 Nested itemize (spaces before and after inside environment) Jaroslav Hajtmar
2013-10-24 12:21 ` Tomas Hala
2013-10-24 12:43   ` Jaroslav Hajtmar

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).