ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: re: Definitions
Date: Sat, 10 Apr 1999 11:46:07 +0200	[thread overview]
Message-ID: <370F1DDF.DDBE8340@wxs.nl> (raw)

Tobias asked me: 

> I get: 
> 
> DEFINITION 1.1  Some Text
> LEMMA 1.1       Some Text
> DEFINITION 1.2  Some Text
> 
> I'd like to have this:
> 
> DEFINITION 1.1  Some Text
> LEMMA 1.1  Some Text
> DEFINITION 1.2  Some Text
> 

His file looked like: 

> \definierenummerierung
>   [definition]
>   [text=Definition]
> \stellebeschreibungein
>   [definition]
>    platz=kleinerabstand,kopfstil=\sc,abschnittsnummer=ja,art=prokapitel]
> \definierenummerierung
>   [lemma][text=Lemma]
> \stellebeschreibungein
>   [lemma]
>   [platz=kleinerabstand,kopfstil=\sc,abschnittsnummer=ja,art=prokapitel]
> 
> \kapitel{One}
> 
> \absatz{eins}
> 
> \startdefinition This is some text ... \stopdefinition
> 
> \absatz{two}
> 
> \startlemma This is a some more text ... \stoplemma

The solution is: set the width to 'broad', or in german: 

  breite=breit

The example can however be defined more compact, so I thought it made
sense to post it here: 

The definition is defined in the same way as tobias did, but we combine
the definition with the settings:  

\definierenummerierung
  [definition]
  [text=Definition,
   platz=kleinerabstand,
   kopfstil=\sc,
   breite=breit,
   abschnittsnummer=ja,
   art=prokapitel]

The lemma inherit their settings from definition and get one additional
setting. 

\definierenummerierung
  [lemma]
  [definition]
  [text=Lemma]

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


             reply	other threads:[~1999-04-10  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-10  9:46 Hans Hagen [this message]
1999-04-11 21:41 ` Definitions Tobias Burnus
1999-04-12 10:36   ` Definitions Hans Hagen
2002-01-17 13:45 Definitions Giuseppe Bilotta
2002-01-20 17:56 ` Definitions Giuseppe Bilotta
2002-01-20 23:28   ` Definitions Hans Hagen

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=370F1DDF.DDBE8340@wxs.nl \
    --to=pragma@wxs.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).