From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Fwd: startenumerate in romans a la LaTeX
Date: Sun, 29 Aug 2010 18:45:35 +0200 [thread overview]
Message-ID: <4C7A8EAF.2070107@telefonica.net> (raw)
Hi,
I just want to simulate the behaviour of
\usepackage{enumerate}
...
\begin{enumerate}[(i)]
\item
\end{enumerate}
in ConTeXt. That is:
- items in (i), (ii), ....
- right indentation of items: in context items start at the same point.
In LaTeX is the item text itself who starts at the same point, not the
romans.
I try:
\defineenumeration
[mylema]
[text={Lemma}, % Què es mostra
before={\blank[big]}, % abans de lema, un bigskip
after={\blank[big]}, % després de lema, 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=bf, % estil del títol
way=bytext, % enumerar en tot el document
conversion=numbers,indenting=yes] % enumera amb arabic
%enumera els lemes per seccion
[...]
\startmylema Let $G$ be a group with a finite presentation ${\cal P} =
\langle X \mid R \rangle$. Then for all null-homotopic words $u, v$ in
${\cal P}$,
\setupitems[align=right]
\startitemize[r][left=(,right=),stopper=]
\item $\text{area}(u \cdot w) = \text{area}
(w \cdot u)$
\item $\text{area}(wuw^{-1}) = \text{area}(w)$
\item $\text{area}(u \cdot w) \leq \text{area}(u) + \text{area}(w)$
\item $\text{area}(u) = \text{area}(u^{-1})$
\stopitemize
\stopmylema
but the numbers are left-aligned and they bit the text.
Can anyone help me?
Thanks,
Xan.
PS: Please CCme.
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2010-08-29 16:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4C7A8EAF.2070107@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).