Hi Joel,

I think the “left=…” key gives what you want. I found it at 
https://wiki.contextgarden.net/Command/_startitemgroup

\starttext

\defineitemgroup[numberunderlinelist]
\setupitemgroup[numberunderlinelist][symbol=n, left={\blackrule[width=2em, 
height=0pt, depth=0.5pt]~}, stopper=., width=4em]


\startnumberunderlinelist
    \dorecurse{100}{\startitem hello \stopitem}
\stopnumberunderlinelist

\stoptext

This gives me output that looks like your request.

-Gavin


> On Nov 25, 2024, at 5:17 PM, Joel via ntg-context <ntg-context@ntg.nl> wrote:
> 
> \starttext
> 
> \defineitemgroup[numberunderlinelist]
> \setupitemgroup[numberunderlinelist][symbol=n,  
> stopper={.~\blackrule[width=2em, height=0pt, depth=0.5pt]}, width=4em]
> 
> 
> \startnumberunderlinelist
>     \dorecurse{100}{\startitem hello \stopitem}
> \stopnumberunderlinelist
> 
> \stoptext
> 
> I have used the above code to make enumerations looking like this:
> 
> 1. ___ this is some text
> 
> 2. ___ this is some text
> 
> 3. ___ this is some text
> 
> 4. ___ this is some text
> 
> 
> The underline is there for students to enter an answer, like a-d.
> 
> The problem I find it is looks really messy putting the ___ between the 
> numbering and text, such when you get to numbers that are wider, like 10., 
> the ___ doesn't line up right. I also think its too confusing this way for 
> students to know what to write. Is there a way to move the ___ bit out front 
> of the number?
> 
> It would look like this:
> 
> ____ 1. this is some text
> 
> ____ 2. this is some text
> 
> --Joel
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to