From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Too much space between the text and the beginning of the paragraph with the command \defineenumeration
Date: Tue, 25 Feb 2014 23:54:17 +0100 [thread overview]
Message-ID: <3C481872-52DA-471E-A079-97ED8EEA4115@gmail.com> (raw)
In-Reply-To: <CACyK-epHxzdvrM9ywuM4Gsymm_LxSOO--2Kpv3HxL+joqArpOg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1172 bytes --]
Am 25.02.2014 um 23:48 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
> Sorry, but my question is unclear.
> In fact, I created a new environment with the package amsthm in LuaLaTeX like this :
>
> \newtheoremstyle{exa}
> {\topsep}{\topsep}
> {}
> {0pt}
> {\strut\bfseries}
> {}
> {\newline}
> {\rule[0pt]{1mm}{1mm} \thmname{#1}\thmnumber{ \textup
> {#2}}\thmnote{ \textnormal{(#3)}}}
> \theoremstyle{exa}
> \newtheorem{ex}{Exercice}
>
> I try to do the same with ConteXt.
>
>
> correctiondm7_seconde.pdf
>
> @Wolfgang The paragraph should find the following line, and not on the same line of text.
And why had you “location=left” in your code snippet.
> @Peter I do not see what changes adding "inbetween = „.
To avoid such problems it is always recommended to make a minimal example which demonstrates the problem.
\defineenumeration
[ex]
[text={Exercice},
headstyle={\bf\feature[+][f:smallcaps]},
inbetween={\blank[small]},
stopper={.}]
\setupbodyfont[pagella]
\starttext
\startex
\input knuth
\stopex
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 3948 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-02-25 22:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 22:48 Fabrice Couvreur
2014-02-25 22:54 ` Wolfgang Schuster [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-26 0:02 Fabrice Couvreur
2014-02-25 18:41 Fabrice Couvreur
2014-02-25 21:43 ` Peter Münster
2014-02-25 21:48 ` Wolfgang Schuster
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=3C481872-52DA-471E-A079-97ED8EEA4115@gmail.com \
--to=schuster.wolfgang@gmail.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).