How to stop enumerated tabulate environments from shifting to the right?
When I place a tabulate environment inside itemize, it indents and the entire table is shifted to the right about 1/2". \starttext \input knuth \startitemize[n] \item x \stopitemize \startitemize[n] \starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth)|] \NI \NC \NC \NC\NR \NC \NC \NC \NC\NR \stoptabulate \stopitemize \input knuth\stoptext See this code which when compiled, the first itemize numbers line up with the left edge of text, but the one with tables indents. It also seems to spill into the right margin. How can I stop enumerated table environments from indenting? --Joel
Will this suit you?
\starttext
\input knuth
\startitemize[n]
\item x
\stopitemize
\startitemize[n][leftmargindistance=-.1\textwidth,width=.1\textwidth]
\starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth)|]
\NI \NC \NC \NC\NR
\NC \NC \NC \NC\NR
\stoptabulate
\stopitemize
\input knuth
\stoptext
Joel via ntg-context
When I place a tabulate environment inside itemize, it indents and the entire table is shifted to the right about 1/2".
\starttext \input knuth
\startitemize[n] \item x \stopitemize
\startitemize[n]
\starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth)|] \NI \NC \NC \NC\NR \NC \NC \NC \NC\NR \stoptabulate \stopitemize
\input knuth \stoptext
See this code which when compiled, the first itemize numbers line up with the left edge of text, but the one with tables indents. It also seems to spill into the right margin.
How can I stop enumerated table environments from indenting?
--Joel
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net
___________________________________________________________________________________
participants (2)
-
fv leung
-
Joel