Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu>
25. Juni 2018 um 00:46
Dear gang,
mtx-context | current version: 2018.06.24 18:28
In the attached and below, we want sectioning numbers placed and
naturally aligned in the margin:
=======
\definecombinedlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]
\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
=======
1. What is the most straightforward way to to the section numerals
generated by \placecontent placed and aligned inmargin?
\define[1]\SectionlistNumbercommand
{\llap{#1\hskip\leftmargindistance}}
\setuplist
[section]
[alternative=c,
criterium=local,
width=0pt,
distance=0pt,
numbercommand=\SectionlistNumbercommand]
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
___________________________________________________________________________________