Hello, How to make the first item on the baseline of the numbering as in the first exercise ? Thanks. Fabrice
\defineframed [ACFRAME] [frame=off, boffset=0pt, width=fit, align=flushleft, location=low, background=color, backgroundcolor=MyColorA]
\defineframed [EXFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=black, foregroundcolor=white, forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration [ex] [text=, width=fit, numberconversionset=ACCONVERSION, alternative=serried, number=yes]
\starttext \startex \input ward \stopex \startex \startitemize[n] \item One \item Two \item Three \stopitemize \stopex \stoptext
Hello, Maybe I have not been clear enough about what I would like to do ? In the first exercise, I get this:
*Ex1* BlablaBlablaBlablaBlablaBlablaBlablaBlablaBlabla BlablaBlablaBlablaBlablaBlablaBlablaBlablaBlabla
In the second exercise, this:
*Ex2*
1.
2.
3.
I would like to do this:
*Ex2* 1. 2. 3.
Thank you. Fabrice
2018-01-28 22:54 GMT+01:00 Fabrice Couvreur fabrice1.couvreur@gmail.com:
Hello, How to make the first item on the baseline of the numbering as in the first exercise ? Thanks. Fabrice
\defineframed [ACFRAME] [frame=off, boffset=0pt, width=fit, align=flushleft, location=low, background=color, backgroundcolor=MyColorA]
\defineframed [EXFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=black, foregroundcolor=white, forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\defineenumeration [ex] [text=, width=fit, numberconversionset=ACCONVERSION, alternative=serried, number=yes]
\starttext \startex \input ward \stopex \startex \startitemize[n] \item One \item Two \item Three \stopitemize \stopex \stoptext
Fabrice Couvreur mailto:fabrice1.couvreur@gmail.com 28. Januar 2018 um 22:54 Hello, How to make the first item on the baseline of the numbering as in the first exercise ?
You have put the item environment in a box.
\defineenumeration [ex] [alternative=serried, width=2em, distance=0pt, text=]
\starttext
\startex \dontleavehmode\beginvtop % to remove the overfull \hbox message reduce \hsize with % the width and distance values of the enumeration % \hsize\dimexpr\textwidth-2em\relax \startitemize[joinedup] \startitem First \stopitem \startitem Second \stopitem \startitem Third \stopitem \stopitemize \endvtop \stopex
\stoptext
Wolfgang
Hi Wolfgang, Thank you, we get almost what I want. With your suggestion, we have this :
1. First Second Third
Is it possible to have this :
1. First Second Third
Thank you. Fabrice
2018-02-02 18:17 GMT+01:00 Wolfgang Schuster schuster.wolfgang@gmail.com:
Fabrice Couvreur fabrice1.couvreur@gmail.com 28. Januar 2018 um 22:54 Hello, How to make the first item on the baseline of the numbering as in the first exercise ?
You have put the item environment in a box.
\defineenumeration [ex] [alternative=serried, width=2em, distance=0pt, text=]
\starttext
\startex \dontleavehmode\beginvtop % to remove the overfull \hbox message reduce \hsize with % the width and distance values of the enumeration % \hsize\dimexpr\textwidth-2em\relax \startitemize[joinedup] \startitem First \stopitem \startitem Second \stopitem \startitem Third \stopitem \stopitemize \endvtop \stopex
\stoptext
Wolfgang
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 ____________________________________________________________ _______________________
Fabrice Couvreur mailto:fabrice1.couvreur@gmail.com 3. Februar 2018 um 11:20 Hi Wolfgang, Thank you, we get almost what I want. With your suggestion, we have this :
- First
Second Third
Is it possible to have this :
- First
Second Third
Use inline items and add \par (or a empty line) after each line.
\defineenumeration [ex] [alternative=serried, width=2em, distance=0pt, text=]
\starttext
\startex \startitemize[text] \item First \par \item Second \par \item Third \par \stopitemize \stopex
\stoptext
Wolfgang
Hello Wolfgang, Thanks. Fabrice
2018-02-03 14:29 GMT+01:00 Wolfgang Schuster schuster.wolfgang@gmail.com:
Fabrice Couvreur fabrice1.couvreur@gmail.com 3. Februar 2018 um 11:20 Hi Wolfgang, Thank you, we get almost what I want. With your suggestion, we have this :
- First Second Third
Is it possible to have this :
- First
Second Third
Use inline items and add \par (or a empty line) after each line.
\defineenumeration [ex] [alternative=serried, width=2em, distance=0pt, text=]
\starttext
\startex \startitemize[text] \item First \par \item Second \par \item Third \par \stopitemize \stopex
\stoptext
Wolfgang
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 ____________________________________________________________ _______________________