=darkgreen]
\defineenumeration
[exercise]
[before={\starttextbackground[exbackground]},
after={\stoptextbackground},
way=bysection,
text=Exercise,
start=1,
location=hanging,
letter=rm]
\setuppapersize[S6][S6]
\setupbodyfont[12pt]
\starttext
\input tufte \input tufte
new line
new line
new line
=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkgreen,
location=paragraph,
color=darkgreen]
\defineenumeration
[exercise]
[before={\testpage[2]\starttextbackground[exbackground]},
after={\stoptextbackground},
way=bysection,
text=Exercise,
start=1,
location=hanging,
letter=rm
]
\setuppagenumbering[alternative=doublesided]
% \setupfloats[location=middle]
\definefloat [etape] [figures]
\defineparagraphs
[Etape] [n=2,rule=off,align=lohi]
\setupparagraphs
[Etape] [2] [width=.5\textwidth]
\defineenumeration
[Explication] [location=left,text=,width=3em,before
Frames with width=broad in something (enumeration) with a
location=hanging don't abide to the adjusted width of the text, it is
simply shifted to the left:
\version[temporary]
\setupframedtexts
[width=broad]
\defineenumeration
[example]
[location=hanging,
text=Example]
\starttext
, is rational.
I have defined:
\defineenumeration
[example]
[location=serried,
text=Example,
before=\blank,
after=\blank
style=slanted]
What I would really like is an enumeration where only the example state is
in slanted type, then the solution follows (without an indent) in upright
Hans,
either \defineenumeration is broken in , or I always used it incorrectly:
\defineenumeration[definition]
[sectionnumber=chapter,
text=Definition,
location=hanging,
way=bychapter]
\starttext
\startdefinition
Test
Christopher Creutzig wrote:
Hans,
either \defineenumeration is broken in , or I always used it
incorrectly:
\defineenumeration[definition]
[sectionnumber=chapter,
text=Definition,
location=hanging,
way=bychapter
Frames with width=broad in something (enumeration) with a
location=hanging don't abide to the adjusted width of the text, it is
simply shifted to the left:
\version[temporary]
\setupframedtexts
[width=broad]
\defineenumeration
[example]
[location=hanging,
text=Example]
\starttext
Hello,
i'm currently writing a script on biosignal analysis. And therefore i need
such things as definitions, lemmas, theorems, remarks and so on. One can
easily define numbered versions of these using \defineenumeration. But i need
two extra fetures:
first: Some theorems have names, some
\defineenumeration?
---
|ReqNbr | Title | status | date|
---
| longer text with paragraphs and pagebreaks
. How can one build such an environment?
Derive somehow from \defineenumeration?
---
|ReqNbr | Title | status | date|
---
| longer text
]
}
%
Using this macro in normal text like
TestQuestion \pkt[5]
it works!!!
But when I use this macro in combination with enumeration I run in a
problem
example:
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\question\pkt[5]
TestQuestion\par
nothing ist count in this case
like
TestQuestion \pkt[5]
it works without problems!
But when I use this macro in combination with enumeration I run in a
problem
example:
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\question\pkt[5]
TestQuestion\par
nothing ist count in this case!
How can I fix
At 11:19 20/09/2003 +0200, you wrote:
Hi,
Thanks Hans for the patch concerning enumerations. - Certain things now work
as I thought they should, others don't . :-(
In the meantime I downloaded and installed the latest (yesterdays) CONTeXT.
1. Numbering starts at 2, and the following items get
Hi,
Thanks Hans for the patch concerning enumerations. - Certain things now work
as I thought they should, others don't . :-(
In the meantime I downloaded and installed the latest (yesterdays) CONTeXT.
1. Numbering starts at 2, and the following items get numberd 4,6,
2. I detected, that the
the enumeration text and lost and alone in front
of the second line the enumeration number.
Is this something I do in a wrong way or is there a bug?
Please try the minimal example below
Kind regards Willi
\setupoutput[pdftex]
\defineenumeration
[Literatur]
[location={left,serried
Willi Egger [EMAIL PROTECTED] writes:
Hello Willi,
Is this something I do in a wrong way or is there a bug?
I did not look into it yet, but I can confirm that I get the same
error with the latest ConTeXt version. So I think that there must be
some bug.
Patrick
--
Silent is the goldfish in
, is not in italics. This may help people who are in
a position to know what is going on.
Charlie Doherty
ConTeXt ver: 2003.8.8 fmt: 2003.8.18 int: english mes: english
\defineenumeration
[Literatur]
[location={left,serried},
style=\em,
width=broad,
distance=12pt,
headstyle=\tfx
At 20:13 18/09/2003 +0200, you wrote:
I have defined an enumeration. After typesetting the enumerated list I get
on the first line the enumeration text and lost and alone in front of the
second line the enumeration number.
Is this something I do in a wrong way or is there a bug?
hm, this is due
At 11:21 19/09/2003 +0100, you wrote:
I tried your example and got the same misaligned result as yourself and
Patrick. However when I made text=, it aligned properly but your number,
of course, is not in italics. This may help people who are in a position
to know what is going on.
text= is
. De buitenlander heeft
er steeds last van. Bedankt voor de correctie!
Kind regards Willi
- Original Message -
From: K.H. Wesseling [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 19, 2003 8:43 AM
Subject: Re: [NTG-context] Probelm with \defineenumeration
Beste Willi
.
Is this something I do in a wrong way or is there a bug?
Please try the minimal example below
Kind regards Willi
\setupoutput[pdftex]
\defineenumeration
[Literatur]
[location={left,serried},
style=\em,
width=broad,
distance=12pt,
headstyle=\tfx,
text=\em,
left
with
\defineenumeration,
but I want of course a few more features in it then in latex's setup.
For example, I'd like to have the
definition typeset in some color against some background. I tried the
following
in the environment file:
\setupcolors[state=start]
\definetextbackground
[defbackground
Hi,
cont-eni.pdf p222 (bottom) :
A number can be set and reset with the command:
\setenumeration{value}
\resetenumeration
Does it help ?
My 2 cents,
Seb.
Adam Tee wrote:
Hi,
In my source I have defined a new enumeration using the following
\defineenumeration
[mwfr]
[location=left
801 - 824 of 824 matches
Mail list logo