stofsynonyms
Command/ completeregister
Command/ copylabeltext
Command/ ctxfunction
Command/ ctxfunctiondefinition
Command/ currentlabel
Command/ delimitedtext
Command/ description
Command/ enumeration
Command/ fence
Command/ fraction
Command/ framed
Command/ framedtext
Command/ getbuffer
Command/ hbox
Command
in a description or enumeration environment.
\definedescription [qedtest] [closesymbol=\symbol{qed}]
\starttext
\startqedtest
\samplefile{lorem}\qed
\stopqedtest
\stoptext
Wolfgang
___
If your question is of interest
Gerion Entrup schrieb am 25.01.2024 um 09:18:
Hi,
I want to make a proper definition of a new command to be able to
process it in Lua. I found something on StackOverflow [1] but that
breaks in enumeration _and_ when interaction is enabled and I do not
understand why? Can you give me some help
able to
> process it in Lua. I found something on StackOverflow [1] but that
> breaks in enumeration _and_ when interaction is enabled and I do not
> understand why? Can you give me some help here?
>
> I want to make commands like \foo{bla} and \foo[b]{bla} possible at the
>
Hi,
I want to make a proper definition of a new command to be able to
process it in Lua. I found something on StackOverflow [1] but that
breaks in enumeration _and_ when interaction is enabled and I do not
understand why? Can you give me some help here?
I want to make commands like \foo{bla
Dear List:
I would like to have text next to the Remark Number
\setupindenting[yes,small,first]
\defineenumeration
[remark]
[location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]
\starttext
\remark
An enumeration (\tex{remark}, in this case
/bidi.pdf;
"Flowcharts","charts-mkiv.pdf",
Faking a command such as \cA, \cB and \cC (for contents of columns A, B
or C) I would like to create a source document with an enumeration that
contains:
\doiftext{\cB}
{\item {\em\cA}\attachment[file=\cB]%
\doiftext{\cC}{
}{}
% Add the enumeration
\defineenumeration
[Counter]
[text=,
alternative=empty,
before={\FrameTitle{Counter \getnumber[Counter]}
\startFunnyText},
after={\stopFunnyText}]
\starttext
\startCounter
First example
\stopCounter
\startCounter
Second example
\stopCounter
Fabrice Couvreur schrieb am 27.07.2023 um 20:56:
Hi,
I don't understand why the distance between the dot and the first
letter of the text is not always the same (see with theorem).
Add
stretch=0,
shrink=0,
to your enumeration setup.
Wolfgang
Hi,
I don't understand why the distance between the dot and the first letter of
the text is not always the same (see with theorem).
Thanks
Fabrice
\setupenumerations
[before={\blank},
after={\blank},
alternative=serried,
distance=1cm,
title=yes,
titleleft=,
titleright=,
b/mdframed/mdframed.pdf)
> >
> > I have searched in the wiki and found \defineenumeration:
> > This is near of that what I need. However I explicitly does not need an
> > enumeration (so no number or counter). Also I am not sure if I can set a
> > background
s not need an
enumeration (so no number or counter). Also I am not sure if I can set a
background and so on.
The other possibility is \defineframedtext. For example this goes much
in the direction that I want:
\definecolor[gbackground][s=0.98]
\defineframedtext[gtk][frame=on,
omogeneous linear of the mdframed
documentation:
http://mirrors.ctan.org/macros/latex/contrib/mdframed/mdframed.pdf)
I have searched in the wiki and found \defineenumeration:
This is near of that what I need. However I explicitly does not need an
enumeration (so no number or counter). Also I am not sur
Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04:
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
[...]
You can use \offset to shift the enumeration title.
\defineframed
[ExampleHeadFrame]
[location=low,
background
ack activated for math (since some enumeration
symbols were missing), but I get an error also without math.
Btw, 0x0-0xF is a bit over the top,
Well, if I want to replace all missing characters without thinking too
much which that might be?
Hraban
fontfallbacktest.tex
Description:
Hi List,
I am getting better at adjusting the space in enumerations, but I just put a
formula inside an enumeration, and the formula’s vertical spacing became
excessive. I’m not sure how the enumeration caused this problem.
\starttext
Evaluate the following derivatives.
\startitemize[n
e MP code for several custom enumeration.
> >
> > However I can't make the overall setup work, needless to say different
> > border colors for each enumeration though setupMPvariables. What am I
> > missing?\startuseMPgraphic{mp:textFrame}
> begingroup;
>
On 9/3/2022 6:48 PM, Alexandre Christe via ntg-context wrote:
Dear all,
I'm trying to reuse some MP code for several custom enumeration.
However I can't make the overall setup work, needless to say different
border colors for each enumeration though setupMPvariables. What am I
missing
Dear all,
I'm trying to reuse some MP code for several custom enumeration.
However I can't make the overall setup work, needless to say different
border colors for each enumeration though setupMPvariables. What am I
missing?
MWE: see attachment
testColorParagraphs.tex
Description: TeX
Jorge Manuel via ntg-context schrieb am 25.05.2022 um 12:22:
Hi to All
A have this piece of code that works in old ConText versions but with
new versions (current version: 2022.04.19 19:53) don’t.
\def\legalconversion#1{
\dorecurse{\numexpr\currentitemlevel-1}{%
Hi to All
A have this piece of code that works in old ConText versions but with new
versions (current version: 2022.04.19 19:53) don’t.
\def\legalconversion#1{
\dorecurse{\numexpr\currentitemlevel-1}{%
\rawcounter[itemgroup:\currentparentitemgroup][\recurselevel].}%
#1%
}
ou are certain that the there will be no multi-line item (i.e. item text is
short enough that it fits in slightly less than half of textwidth) you can use
an enumeration, and put the contents inside a two-column layout:
%%% start example-1
\define[1]\aitemcmd{\inframed[width=1cm,align=flushrigh
Many thanks, that was very structured and helpful.
/Jan-Erik
> 3 jan. 2022 kl. 12:07 skrev kauśika :
>
> On Monday, January 3, 2022 4:34:50 PM IST kauśika wrote:
>> If 'Exercises' and 'Answers to exercises' are some head structure (assuming
>> unnumbered since they are so in your example):
>>
On Monday, January 3, 2022 4:34:50 PM IST kauśika wrote:
> If 'Exercises' and 'Answers to exercises' are some head structure (assuming
> unnumbered since they are so in your example):
> \definehead[exercises][subject]
> \definehead[answers][subject]
> then you can simply do
>
On Monday, January 3, 2022 4:21:27 PM IST Jan-Erik Hägglöf via ntg-context
wrote:
> I want a simple solution to reset the counter so it achieves the following
> result:
>
> Exercises
>
> 1 First exercise
>
> 2 Second exercise
>
> Answers to exercises
>
> 1 Answers to first exercise
>
> 2
Hi!
I’ve been doing this in my exams to define exercises in a structural way.
\defineenumeration[uppgift]
\setupenumerations[uppgift][alternative=left,width=1cm,text=
,after={\blank[2*big]}]
\starttext
\startuppgift
Here comes the exercise
\stopuppgift
\stoptext
I want a simple solution
021年12月31日 週五
> 上午4:55寫道:
>
>> Hi,
>>
>> I have two questions:
>>
>> 1) What is the correct way to indent the first line of a (serried)
>> enumeration? In the example below, I can use headcommand, but then I
>> do not know what I should replace "1e
ns:
>
> 1) What is the correct way to indent the first line of a (serried)
> enumeration? In the example below, I can use headcommand, but then I
> do not know what I should replace "1em" below to fit the medium
> indenting.
>
> 2) I miss a numberstyle. What is the cor
Hi,
I have two questions:
1) What is the correct way to indent the first line of a (serried)
enumeration? In the example below, I can use headcommand, but then I
do not know what I should replace "1em" below to fit the medium
indenting.
2) I miss a numberstyle. What is the c
On Saturday, November 20, 2021 8:34:52 PM IST Wolfgang Schuster wrote:
> Provide a complete minimal example to increase your chances for an answer.
>
> Wolfgang
I was inspecting this just now and figured out that in one of the
\defineenumeration I was inheriting another enumeration bl
kauśika via ntg-context schrieb am 20.11.2021 um 14:28:
On Saturday, November 20, 2021 11:31:24 AM IST kauśika wrote:
Dear list,
I have the following enumeration block.
\defineenumeration[verse]
\setupenumeration[verse]
[alternative=leftmargin,
text=,
width=fit,
distance=1em
On Saturday, November 20, 2021 11:31:24 AM IST kauśika wrote:
> Dear list,
>
> I have the following enumeration block.
>
> \defineenumeration[verse]
> \setupenumeration[verse]
> [alternative=leftmargin,
>text=,
>width=fit,
>distance=1em,
>wa
Dear list,
I have the following enumeration block.
\defineenumeration[verse]
\setupenumeration[verse]
[alternative=leftmargin,
text=,
width=fit,
distance=1em,
way=bysection]
I actually want to (flush) left align the enumeration's number inside the left
margin and give it a blue
ll
\startcell[align=flushright] @ "0.2f €" (A[row] * D[row]) \stopcell
\stoprow
\stopspreadsheettable
\stoptext
Anz. MwSt.
And the comma separated enumeration under "Beschreibung".
TIA
juh
--
Autoren-Homepage: . http://literatur.hasecke.com
Satiren & Essays: .
for a user to change the default to the above choice in his
> > > document ?
> >
> > it is no problem to fix if you all can agree on what/how to fix ...
>
> The purpose of abbreviations is, well, to abbreviate. Even though ‘ème’
> is seen a lot, it’s wrong because
ause it’s too long. Source (pretty
official):
https://www.academie-francaise.fr/abreviations-des-adjectifs-numeraux
So for numbers starting from 3 the proper abbreviation is ‘e’.
For 1 and 2 it’s more complicated, however, as it depends on the
gender. For 1:
* masculine: 1er
* feminine: 1re
In add
Ramm via ntg-context schrieb am 24.08.2021 um 20:31:
>>>> Hi, I’m typesetting a textbook that contains numbered and indented
>>>> exercises. They must not float.
>>>>
>>>> Which structure should I use for them? There must be an easy answer, but I
>
at contains numbered and indented
> >> exercises. They must not float.
> >>
> >> Which structure should I use for them? There must be an easy answer, but I
> >> draw a blank.
> >
> > Use an enumeration.
>
> Thank you, but how can I define a ti
m via ntg-context schrieb am 24.08.2021 um 20:31:
>>>> Hi, I’m typesetting a textbook that contains numbered and indented
>>>> exercises. They must not float.
>>>>
>>>> Which structure should I use for them? There must be an easy answer, but I
&g
at contains numbered and indented
>>> exercises. They must not float.
>>>
>>> Which structure should I use for them? There must be an easy answer, but I
>>> draw a blank.
>>
>> Use an enumeration.
>
> Thank you, but how can I define a title/capt
not float.
Which structure should I use for them? There must be an easy answer, but I draw
a blank.
Use an enumeration.
Thank you, but how can I define a title/caption for the enumeration and its
reference?
\defineenumeration
[Exercise]
[text=Exercise,
title=yes,
titleleft
hich structure should I use for them? There must be an easy answer, but I
>> draw a blank.
>
> Use an enumeration.
Thank you, but how can I define a title/caption for the enumeration and its
reference?
Hraban
___
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31:
Hi, I’m typesetting a textbook that contains numbered and indented exercises.
They must not float.
Which structure should I use for them? There must be an easy answer, but I draw
a blank.
Use an enumeration.
Wolfgang
Fabrice Couvreur via ntg-context schrieb am 11.08.2021 um 12:57:
I forgot this : how to reduce the font size for the exponents "er", "e" ?
The exponents are placed with \high and you can change the style with
\setuphigh[style=...]
but this affects all texts which use \high.
Wolfgang
> On 11 Aug 2021, at 10:19, Thomas A. Schmitz via ntg-context
> wrote:
>
>
>> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context
>> wrote:
>>
>> Thanks for the example and the fix, but I would rather think that the «
>> french » part of ordinals should be
>>
>> french =
I forgot this : how to reduce the font size for the exponents "er", "e" ?
Thanks
Fabrice
Le mer. 11 août 2021 à 12:41, Fabrice Couvreur
a écrit :
> Hi Wolfgang,
> Many thanks
> Fabrice
>
> Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context <
> ntg-context@ntg.nl> a écrit :
>
>> On
Hi Wolfgang,
Many thanks
Fabrice
Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context
a écrit :
> On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote:
> >
> >
> >> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context <
> ntg-context@ntg.nl> wrote:
> >> (…)
> >> core-con.lua
On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote:
On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context
wrote:
(…)
core-con.lua (line 1155):
local ordinals = {
[...]
french = function(n)
if n == 1 then
return "er"
+ else
+
> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context
> wrote:
>
> Thanks for the example and the fix, but I would rather think that the «
> french » part of ordinals should be
>
> french = function(n)
> if n == 1 then
> return « er"
>
> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context
> wrote:
> (…)
> core-con.lua (line 1155):
>
> local ordinals = {
> [...]
> french = function(n)
> if n == 1 then
> return "er"
> + else
> + return "e"
> end
> end,
> }
Hi
Fabrice Couvreur schrieb am 09.08.2021 um 14:16:
Hi Wolfgang,
Thank you for your suggestion.
I tested the code and the result is not what I expected from the
second item : "2 exemple" instead of "2^{e} exemple", "3 exemple"
instead of "3^{e} exemple" ...
core-con.lua (line 1155):
local
Fabrice Couvreur via ntg-context schrieb am 08.08.2021 um 17:47:
Hello,
Is it possible to create an enumeration style to get this :
1 ^ {er} exemple
2 ^ {e} exemple
3 ^ {e} exemple
The conversion needs a fix but this is how you can do it.
\defineenumeration
[test]
[text
Hello,
Is it possible to create an enumeration style to get this :
1 ^ {er} exemple
2 ^ {e} exemple
3 ^ {e} exemple
Thanks
Fabrice
___
If your question is of interest to others as well, please add an entry
Hi,
Is it possible that the first item is on the baseline of the definition
environment title ? Thank you.
Fabrice
\define\ItemCommand
{\hskip\zeropoint\relax\autoinsertnextspace}
\setupitemgroup
[itemize]
[color=darkred,
style=bold,
distance=\spaceamount]
\setupitemgroup
Hi,
Thanks for the fix, Hans (version 2020.12.30 16:45 looks fine!)
/Mikael
On Mon, Dec 21, 2020 at 3:11 PM Otared Kavian wrote:
> Hi Mikael,
>
> Indeed you are right about the fact that
>
> \startexample[title={Title}]
> ...
> \stopexample
>
>
> is more logical and also more convenient.
>
Hi Mikael,
Indeed you are right about the fact that
> \startexample[title={Title}]
> ...
> \stopexample
is more logical and also more convenient.
Sorry for not having checked your example in mkiv, where this structure works
as intended.
So it might be a small buglet in LMTX.
Best regards:
Hi Otared,
Thank you for your suggestion. I would say yes and no.
I want the result one gets from what you write, but I prefer the syntax
\startexample[title={Title}]
...
\stopexample
and that has been working before. Reading in setup-en.pdf, it also looks to
me as if that should work.
Best,
Hi Mickael,
Maybe this is what you want:
\defineenumeration[example]
[text=Example,
title=yes,
titleleft=,
titleright={.},
]
\starttext
\startexample{Title}
This is a test.
\stopexample
\stoptext
Of course is you say
text=,
then you get only «
Hi,
Has anything changed with titles and enumerations? I expected a title
"Title" with the following setup.
\defineenumeration[example][
text=Example,
title=yes,
]
\starttext
\startexample[title={Title}]
This is a test.
\stopexample
\stoptext
But it does not show up.
/Mikael
ll be an additional empty line at the end of the typing.
Same with the enumerations and when I surround it with a sidebar instead of a
textbackground. Often there is even an additional line / additional space before
the typing/enumeration.
How to surround such things properly? I just want a bac
ssi
> >
> > Thank you! I have two more questions:
> >
> > 1. Where can I find a documentation for this command? Even Google finds
> > nothing.
>
> I took it from the "Commands" manual. You can find it here:
>
> ./tex/texmf-contex
took it from the "Commands" manual. You can find it here:
./tex/texmf-context/doc/context/documents/general/qrcs/setup-en.pdf
in your ConTeXt directory.
2. Unfortunately, adding \startsidebar and \stopsidebar into the `before` and
`after` options of my enumeration messes up whitespace
olor = COLOR
>>alternative= NUMBER
>>topoffset = DIMENSION
>>bottomoffset = DIMENSION
>>distance = DIMENSION
>>leftmargindistance = DIMENSION
>>level = NUMBER
>>
>> Massi
>
leftmargindistance = DIMENSION
> level = NUMBER
>
> Massi
Thank you! I have two more questions:
1. Where can I find a documentation for this command? Even Google finds nothing.
2. Unfortunately, adding \startsidebar and \stopsidebar into the `before` and
`after` opt
).
In my searching for solutions, I thought I'd found something helpful with
\startframed but I can't figure any way to combine the framed and enumeration...
Anyway, here's some code. It doesn't demonstrate the page-break problem but
gives an idea of the different possible sizes of question/answer
Hi Taco,
Thanks! This works for me.
It indeed seems at least inconsistent. Also, using
\definecounter[enumeration][object]
instead of
\setupenumeration[enumeration][counter=object]
Numbers figures correctly but forgets the object counter in enumerations, it
numbers 1.1., 1.1
or …
For the singular explicit \setupcaption[figure], I think this is a bug.
The solution I found is to blatantly redefine the ‘figure’ counter, that works!
Second, it seems that \setupenumerations does not modify the counter of an
explicit defined enumeration, so you need to use the explicit
Hi Taco,
Thanks for your example and the pointer to make a MWE.
Sadly, it doesn’t work for me. It numbers the first enumeration 1.1.1 and the
first figure _also_ 1.1.1, which I’d like to be 1.1.2.
This time, you’ll find the code and the output pdf in the attachment!
Cheers,
Tim
P.S. I’m
Hi Wolfgang,
Thanks for your explanations and the correct definition of the close symbol in
an enumeration.
Following up the discussions with Hans, in order to put a close sympbol at the
end of a formula, I have the following for the definition of \qed:
%% begin example-qed.tex
\showframe
you use the closesymbol for a enumeration ConTeXt uses also the
argument of the closecommand to apply something to the symbol, by
default the argument to the closecommand key is \wordright.
This means you're putting \wordright (which itself is flushed as symbol)
within \wordright which has
stoptext
> >
> > works almost perfectly. However, the cross-reference does not work, even
> if the number of the enumeration is displayed correctly. The example fails
> both in LuaTeX and LuaMetaTeX. As I remember,
However, the cross-reference does not work, even if
> the number of the enumeration is displayed correctly. The example fails both
> in LuaTeX and LuaMetaTeX. As I remember, the problem appeared as early as
> 2019, so not a matter of a bad
}{\input ward}
\stopproposition
\in[prop:1]
\stoptext
works almost perfectly. However, the cross-reference does not work, even if
the number of the enumeration is displayed correctly. The example fails
both in LuaTeX and LuaMetaTeX. As I remember, the problem appeared as early
as 2019, so not a matter
On Fri, Jun 12, 2020 at 9:35 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> Mikael Sundqvist schrieb am 12.06.2020 um 20:55:
> > Hi,
> >
> > I noticed an extra space in an enumeration when
> > using \setcharacterkerning in the \headstyle param
Mikael Sundqvist schrieb am 12.06.2020 um 20:55:
Hi,
I noticed an extra space in an enumeration when
using \setcharacterkerning in the \headstyle parameter. The extra space
appears before the first word "Sats", and in my case it is unwanted (In
the example I want the word Sat
Hi,
I noticed an extra space in an enumeration when
using \setcharacterkerning in the \headstyle parameter. The extra space
appears before the first word "Sats", and in my case it is unwanted (In the
example I want the word Sats to align with a), b), ...).
The space was not there
On Sun, 19 Apr 2020, Jairo A. del Rio wrote:
I've seen the following solution in Stack Exchange to add referenceable
enumeration labels to a framed enumeration environment:
https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay
Sorry, I resend my question because I forgot the subject
-- Forwarded message -
De: Jairo A. del Rio
Date: sáb., 18 de abr. de 2020 a la(s) 23:53
Subject:
To: mailing list for ConTeXt users
I've seen the following solution in Stack Exchange to add referenceable
enumeration
I've seen the following solution in Stack Exchange to add referenceable
enumeration labels to a framed enumeration environment:
https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay
It uses \wrappedcurrentconstruction. However
On Tue, Dec 17, 2019 at 8:39 AM Mikael P. Sundqvist
wrote:
> Hi!
>
> I've met a strange problem with indentation in consecutive enumerations.
> It seems to me that if
>
> 1) the first enumeration uses indentnext=no
> AND
> 2) the next enumeration uses a backgr
Hi!
I've met a strange problem with indentation in consecutive enumerations. It
seems to me that if
1) the first enumeration uses indentnext=no
AND
2) the next enumeration uses a background
then the second(?) paragraph of the second enumeration is not indented.
Here is a small example (see
Hi Aditya,Thanks for your hint: I didn't know that subtelty about Lucida OT (and I don't know how to set it up when using Lucida OT).That being said, actually what I would like to use is the kind of script font which is the attached document (those script fonts were widely used in higher
On Wed, 16 Oct 2019, Otared Kavian wrote:
I use Lucida OT fonts for all my documents, but since I prefer the
script fonts from another font I have the following setups for my font:
OT: Do you use this to get a less cursive script font?
Lucida (like many opentype math fonts) comes with two
Hi Fabrice,
The Lucida OT family is indeed not free (it costs 110 US dollars from TUG), but
tha Asana Math is included in the distribution of ConTeXt, LuaMetaTeX and, I
think, TeXLive.
Best regards: Otared
> On 16 Oct 2019, at 23:38, Fabrice Couvreur
> wrote:
>
> Hi Kavian,
> It seems to
Hi Kavian,
It seems to me that these fonts are not free.
Thank you for your help.
Fabrice
Le mer. 16 oct. 2019 à 05:28, Otared Kavian a écrit :
> Hi Fabrice,
>
> I use Lucida OT fonts for all my documents, but since I prefer the script
> fonts from another font I have the following setups for
Hi Fabrice,
I use Lucida OT fonts for all my documents, but since I prefer the script fonts
from another font I have the following setups for my font:
%%
%% Some Font Definitions
\definefallbackfamily[myfont][math][Asana Math]
Hello,
Thanks to you two.
"Another solution is to define your own mixture of math fonts and text
fonts."
I thought you should not mix several fonts in one text. I know you're a
teacher, what are you doing to write your documents ?
Fabrice
Le mar. 15 oct. 2019 à 19:11, Otared Kavian a écrit :
>
Hi Fabrice,
Wolfgang gave the right answer, but I wanted to point out that it is better not
to use \setupbodyfont in the middle of your document, as you did in the excerpt
below: in this case it is better to use
\switchtobodyfont[xits]
or even better define the character you want before
Fabrice Couvreur schrieb am 15.10.2019 um 18:39:
Hello,
Why items are numbered with a square instead of a bullet ?
Because the bullets for the default sans serif font are rectangular.
\starttext
\symbol[bullet]
{\ss\symbol[bullet]}
\blank
\setupsymbols[stylealternative=math]
Hello,
Why items are numbered with a square instead of a bullet ?
Thanks.
Fabrice
\definecolor[MyColorC][s=0.8784]
\definecolor[MyColorD][m=0.27,y=1]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color,
on. I could not find anything along these lines in the documentation; also
tried to concoct a "nonfloating" float or to use an enumeration, but was not
able to come up with a solution.
Luca
___
If your que
Hi,
Why do all the rendering setups in strc-con.mkvi use \noindent? Can the
\noindet be replaced by \noindentation?
\noindent has some side effects. For example, consider this recent
question on TeX.SE:
https://tex.stackexchange.com/questions/499464/context-empty-line-in-enumeration
which
.
Best wishes,
Taco
PS It seems that “indentnext=no” does not work for nested itemizations?
You can use the "text" option and add \par at the end of each item but
your requirements (hanging text, different margin and before/after
ssettings) are easier to solve with a description or e
Hi Fabrice,
You can define your own symbol, as in the following:
\starttext
\definesymbol[mysymbol][{$\red\blacklozenge$}]
\definesymbol[redtriangle][{$\red\blacktriangleright$}]
\startitemize[mysymbol]
\item foo
\item bar
\item baz
\stopitemize
\startitemize[redtriangle]
Hi,
Is it possible to fill the diamond ?
Thank you.
Fabrice
\starttext
\startitemize[4][color=red]
\item One
\item Two
\stopitemize
\stoptext
___
If your question is of interest to others as well, please add an entry
, 2019 12:14 AM
To: mailing list for ConTeXt users; Clyde Johnston
Subject: Re: [NTG-context] Headings vs. enumerations
Clyde Johnston schrieb am 31.01.19 um 21:07:
>
> I have a document that contains a numbered enumeration that spans 107
> pages its a legal document where \items are cl
or Question
\setupinteraction[state=start]
% We define two counters which follow the numbers
% appearing in Question and Answer
\newcounter\QuestionCounter
\newcounter\HintCounter
\newcounter\AnswerCounter
% We create two commands to be used in the
% enumeration environments
% Note that the check
ers you can create a
> enumeration for each and collect the answers with the block mechanism.
>
> At the end of the document you can flush the collected answers.
>
> \defineblock [answer]
>
> \defineenumeration [question]
> \defineenumeration [answer]
>
> \starttext
Clyde Johnston schrieb am 31.01.19 um 21:07:
I have a document that contains a numbered enumeration that spans 107
pages – it’s a legal document where \items are clauses. I would like
to put level one of the enumeration in a table of contents.
I have read the available documentation but I
Hi Sanjoy,
when you have a equal number of questions ans answers you can create a
enumeration for each and collect the answers with the block mechanism.
At the end of the document you can flush the collected answers.
\defineblock [answer]
\defineenumeration [question]
\defineenumeration
1 - 100 of 575 matches
Mail list logo