[NTG-context] \setupindenting

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Mar 21 19:43:55 CET 2011


Am 21.03.2011 um 19:28 schrieb Cecil Westerhof:

> I just discovered \setupindenting. I use:
>     \setupindenting[yes, medium]
> 
> This does not indent the first paragraph on a page. Is it possible to also not indent a paragraph after a blank?

Not with \blank but you can create a command which does it, e.g.

\def\myblank
  {\dosingleempty\domyblank}

\def\domyblank[#1]%
  {\iffirstargument
      \blank[#1]%
   \else
     \blank
   \fi
   \noindentation}

or you use the fancybreak module:

\usemodule[fancybreak]

\definefancybreak[myblank][indentnext=no]

\setupindenting[yes,medium]

\starttext

\input ward

\blank

\input ward

\myblank

\input ward

\stoptext

Wolfgang



More information about the ntg-context mailing list