ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Nested itemize (spaces before and after inside environment)
Date: Thu, 24 Oct 2013 12:45:01 +0200	[thread overview]
Message-ID: <5268FA2D.6030501@gyza.cz> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2013-10-24 10:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24 10:45 Jaroslav Hajtmar [this message]
2013-10-24 12:21 ` Tomas Hala
2013-10-24 12:43   ` Jaroslav Hajtmar

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=5268FA2D.6030501@gyza.cz \
    --to=hajtmar@gyza.cz \
    --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).