ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A few minor questions
Date: Tue, 10 Mar 2009 09:41:55 +0100	[thread overview]
Message-ID: <49B627D3.2040005@elvenkind.com> (raw)
In-Reply-To: <49B5A77F.9090801@gmail.com>



Vyatcheslav Yatskovsky wrote:
> Hello,
> 
> 1) I use \setupindenting[yes, big]. How to make the first paragraph
> (after the section title) to be indented too?

\setuphead[section][indentnext=yes]

> 2) I made a command for abstracts (a few lines in the beginning of the
> paper, one paragraph only). Please, look at my definition, i'd like to
> know how to implement it in more elegant, ConTeXt way.

\startsetups abstract:before
  \startalignment[middle]
  \switchtobodyfont[11pt]
  \bgroup\it
\stopsetups

\startsetups abstract:after
  \egroup
  \stopalignment
  \blank[big]
\stopsetups

\definestartstop
  [Abstract]
  [before=\directsetup{abstract:before},
   after=\directsetup{abstract:after}]

\startAbstract
...
\stopAbstract

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-03-10  8:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.10.1236618481.26306.ntg-context@ntg.nl>
2009-03-09 23:06 ` hyphenation patters for Ukrainian Vyatcheslav Yatskovsky
2009-03-10 18:39   ` Mojca Miklavec
2009-03-09 23:34 ` A few minor questions Vyatcheslav Yatskovsky
2009-03-10  8:41   ` Taco Hoekwater [this message]
2009-03-09 23:51 ` font-win.tex Vyatcheslav Yatskovsky
2009-03-10  8:46   ` font-win.tex Taco Hoekwater
2009-03-10 10:37     ` font-win.tex Wolfgang Schuster
2009-03-10 10:58       ` font-win.tex Taco Hoekwater
2009-03-10 11:32         ` font-win.tex Wolfgang Schuster
2009-03-10 11:34           ` font-win.tex Taco Hoekwater
2009-03-10 12:06         ` font-win.tex Michail Vidiassov
2009-03-10 12:32           ` font-win.tex Taco Hoekwater
2009-03-10  0:13 ` My printer vs. Times New Roman Vyatcheslav Yatskovsky
2009-03-10  4:59   ` Michail Vidiassov
2009-03-10 12:20     ` Henning Hraban Ramm

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=49B627D3.2040005@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).