ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Varying indentations
@ 2009-09-30 12:46 Piotr Kopszak
  2009-09-30 14:02 ` Piotr Kopszak
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Kopszak @ 2009-09-30 12:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello list,

Is there a way to obtain a differrent indentation for the first
paragraph, than all the following ones? I would like the first to be
indented by 0.5\textwidth and all the others by 1 pica.

Many thanks in advance

Piotr

-- 
http://okle.pl
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Varying indentations
  2009-09-30 12:46 Varying indentations Piotr Kopszak
@ 2009-09-30 14:02 ` Piotr Kopszak
  2009-09-30 15:14   ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Kopszak @ 2009-09-30 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Seems I almost learnt how to do it, but notice the whitespace after
the first paragraph.

Piotr

\setupindenting[yes,1pc]
\defineindenting[qq][text=,separator=,width=0.5\textwidth]
\starttext
\qq
\input zapf

\input knuth
\stoptext


2009/9/30 Piotr Kopszak <kopszak@gmail.com>:
> Hello list,
>
> Is there a way to obtain a differrent indentation for the first
> paragraph, than all the following ones? I would like the first to be
> indented by 0.5\textwidth and all the others by 1 pica.
>
> Many thanks in advance
>
> Piotr
>
> --
> http://okle.pl
>



-- 
http://okle.pl
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Varying indentations
  2009-09-30 14:02 ` Piotr Kopszak
@ 2009-09-30 15:14   ` Peter Rolf
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2009-09-30 15:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]

Piotr Kopszak schrieb:
> Seems I almost learnt how to do it, but notice the whitespace after
> the first paragraph.
>
> Piotr
>
> \setupindenting[yes,1pc]
> \defineindenting[qq][text=,separator=,width=0.5\textwidth]
>   
Just add the empty key 'after=' to your definition and the whitespace 
vanishes.

Best wishes,  Peter

> \starttext
> \qq
> \input zapf
>
> \input knuth
> \stoptext
>
>
> 2009/9/30 Piotr Kopszak <kopszak@gmail.com>:
>   
>> Hello list,
>>
>> Is there a way to obtain a differrent indentation for the first
>> paragraph, than all the following ones? I would like the first to be
>> indented by 0.5\textwidth and all the others by 1 pica.
>>
>> Many thanks in advance
>>
>> Piotr
>>
>> --
>> http://okle.pl
>>
>>     
>
>
>
>   


[-- Attachment #1.2: Type: text/html, Size: 1481 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-30 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30 12:46 Varying indentations Piotr Kopszak
2009-09-30 14:02 ` Piotr Kopszak
2009-09-30 15:14   ` Peter Rolf

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