En/na Aditya Mahajan ha escrit: > On Mon, 5 Mar 2007, Xan wrote: > >> Another question: how get the equivalent of ams theorem package? >> Sorry for no ask this before and another time, thanks > > enumerations. This is what I ususally do > > \defineenumeration[theorem][style=italic,text=Theorem,location=hanging] > > \starttheorem > This is an important theorem > \stoptheorem > > They do almost everything on what is needed for theorems. I am working > on providing missing features, so if you find something is missing, > feel free to ask.
Thank you very much for give me this opportunity. Enumerations work but I need more customization: 1) How can you change the style of the text (Theorem in our example)? 2) How can you change the position of the counter: "1 Theorem" rather than "Theorem 1" 3) Is it possible to change the counter? In LaTeX, with much effort and help, I could write some code for displaying something like: Theorem [number of theorem].[numberofpageitappears]. .... If you want to see the code, I could give you 4) What about the indentation of the "body" of the theorem?. If you put: \starttheorem This is an important theorem skjdskad sda sdas dsad asdas das dsafs f dsfsdfsdf dfsdf sdf dsfsd fsdfsd fds fdsf ds fsd fds fsdfsdfs fdsfsd f \stoptheorem the text is indented a little bit after the begginning of the line. We could have a normal indentation (like AMS theorem do)? 5) Is there an equivalent to \newenvironment in latex? I think about the demostration: \newenvironment{demo}{\medskip Demostració.}{\hfill $\Box$} I'm sure all of that is possible to do with context.... And another question (in other topic): how we can do lines at header and footer like fancyheaders in latex? Thanks another time, Xan. > > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context