ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Framed in nested enumeration
@ 2006-05-19 14:54 Aditya Mahajan
  0 siblings, 0 replies; only message in thread
From: Aditya Mahajan @ 2006-05-19 14:54 UTC (permalink / raw)


Hi,
  Inside a nested enumeration \frame[align=leftflush] does not work 
correctly. For example
\defineenumeration
   [problem]
   [text=Problem,
    location=hanging,
    headstyle=\sc,
%    headcolor=brown,
%    before={\resetnumber[formula]\page[desirable]},
    after=\blank,
   ]

\defineenumeration
   [solution]
   [
     text=Solution,
     number=no,
%     headcolor=darkblue,
     headstyle=bold,
     location=serried,
     width=broad,
     before=\blank,
     after=\blank,
    ]

\starttext
  \startproblem
     \input knuth %A multi paragraph problem
   \startsolution
     A multi paragraph solution

     \leftaligned{In leftaligned works fine}

     \framed[frame=on,align=leftflushed,width=broad]
     { Inside framed does not}
     \startformula
   \stopsolution
\stopproblem
\stoptext


Is there an option other than align=leftflushed for this kind of 
thing.

Thanks,
Aditya


-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-19 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-19 14:54 Framed in nested enumeration Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).