Re: [NTG-context] How to do an inline itemization?
Dear Thomas, Using your example,
\starttext
\startitemize[n,text] \startitem One \stopitem \startitem Two \stopitem \stopitemize
\stoptext
I tested the following example and it is working well. %%%%% \starttext \startitemize[n,text] \item This is the first sentence. \par \item This is the second sentence. \par \item This is the third sentence. \par \stopitemize \stoptext %%%%% The numbers are always in the () by default like (1) (2)… I’d like to ask one thing more. Is it possible to make the output 1), 2), 3)? \startitemize[n,text][stopper=,left=,right=)] just add one more ) like (1)),… Thank you for reading. Best regards, Dalyoung
On 8/10/2018 8:09 AM, Jeong Dal wrote:
Dear Thomas,
Using your example,
\starttext
\startitemize[n,text] \startitem One \stopitem \startitem Two \stopitem \stopitemize
\stoptext
I tested the following example and it is working well. %%%%% \starttext \startitemize[n,text] \item This is the first sentence. \par \item This is the second sentence. \par \item This is the third sentence. \par \stopitemize \stoptext %%%%% The numbers are always in the () by default like (1) (2)… I’d like to ask one thing more. Is it possible to make the output 1), 2), 3)?
\startitemize[n,text][stopper=,left=,right=)] just add one more ) like (1)),… lefttext=
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Dear Hans, Thank you for the solution. It works perfectly. Have a nice weekend. Best regards, Dalyoung %%%%% \setupinteraction[state=start] \starttext \startitemize[n,text][stopper=,lefttext=,] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stoptext %%%%%
\starttext \startitemize[n,packed][stopper=)]% [stopper=,right=)] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stoptext Wolfgang Jeong Dal schrieb am 10.08.18 um 10:53:
Dear Hans,
Thank you for the solution. It works perfectly.
Have a nice weekend.
Best regards,
Dalyoung
%%%%% \setupinteraction[state=start] \starttext \startitemize[n,text][stopper=,lefttext=,] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stoptext %%%%%
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
Dear Wolfgang,
\starttext \startitemize[n,packed][stopper=)]% [stopper=,right=)] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stoptext
It is good in general case. Sometimes I need to have an output as following: Solution 1) This is the solution of the first question. 2) This is the solution of the second question. 3) … It is done by \startitemize[n, text][stopper=,lefttext=] which works well in my text. However, in the following example, there is no difference at all. strange! %%%%%%% \defineenumeration[Solution] [text={\ss\bf Solution}, number=no, after=\blank] \starttext \startSolution \startitemize[n,packed][stopper=)] \item This is a test for the referencing the formula like \item This is a test for the referencing the formula like \item This is a test for the referencing the formula like. \stopitemize \stopSolution \startSolution \startitemize[n, text][stopper=, lefttext=] \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like\par \item This is a test for the referencing the formula like. \stopitemize \stopSolution \stoptext %%%%%%% Thank you for your concern. Best regards, Dalyoung
participants (3)
-
Hans Hagen
-
Jeong Dal
-
Wolfgang Schuster