From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Theorems with arguments like amsthm--> demostration space
Date: Sat, 30 May 2009 16:54:13 +0200 [thread overview]
Message-ID: <4A214895.8040800@telefonica.net> (raw)
In-Reply-To: <4A20FDEA.4080006@telefonica.net>
> Sat, 30 May 2009, Xan wrote:
>
> >/ Thinking about spaces.... anyone knows how to put less space between
> />/ text "Demostració" and the text itself in this environment?:
> /
> width=fit, distance=0.5em (or whatever you want the distance to be)
>
>
Thanks, Aditya.
For the other hand, I possibly discover a bug:
I have that (sorry for the comments in catalan):
\defineenumeration
[lemma]
[text={Lemma}, % Què es mostra
before={\blank[big]}, % abans de lemma, un bigskip
after={\blank[big]}, % després de lemma, un bigskip
headstyle=bold, % Negreta per la capçaleras
%between=\blank, % Entre Lemmes una línia en blanc
titledistance=.5em, % espai entre número i parèntesis.
textdistance=.5em, % espai entre ) i text
stopper={.\space}, % Com acaba. Després de parèntesis un '.'
location=serried,
width=fit, % que ocupi tot l'espai
style=italic, % estil del text
title=yes, % si puc posar o no arguments opcionals
titlestyle=sc, % estil del títol
way=bytext, % enumerar en tot el document
conversion=numbers] % enumera amb arabic
\defineenumeration
[definition]
[lemma]
[text={Definició},style=tf,titlestyle=sc]
\defineenumeration
[notation]
[definition]
[text={Notació},style=tf,titlestyle=sc]
I have to specify the titlestyle in notation and in definition. If
notation inherits style from definition and this inherits from lemma, so
it should have the same style. So
\defineenumeration
[notation]
[definition]
[text={Notació}]
should have all the same style as definition, but it isn't.
Xan.
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-05-30 14:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 18:04 Theorems with arguments like amsthm Xan
2009-05-29 19:15 ` Aditya Mahajan
2009-05-29 19:47 ` Xan
2009-05-29 19:52 ` Xan
2009-05-29 20:05 ` Otared Kavian
2009-05-30 9:32 ` Xan
2009-05-30 9:35 ` Theorems with arguments like amsthm--> demostration space Xan
2009-05-30 12:27 ` Aditya Mahajan
2009-05-30 14:54 ` Xan [this message]
2009-05-30 15:12 ` Aditya Mahajan
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=4A214895.8040800@telefonica.net \
--to=dxpublica@telefonica.net \
--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).