What about add three environments: solution, question and answer? Then question and answer are uesd in the first case, and problem and solution are used in the second case. This way would be cleaner. Best. 在2010/12/25, "Joris van der Hoeven" <address@hidden> 写道: Dear Miguel,
On Fri, Dec 24, 2010 at 10:59:05AM +0100, Miguel de Benito Delgado wrote:
> I agree this would be nice and it ought not to be too hard to achieve,
The difficulty here is that the semantics is not completely clear.
Sometimes, you might want to put the solution just after the problem,
in a similar way as a proof. But it also frequently occurs that solutions
are put at the end of a document, and the numbering has somehow to
be kept in sync with the numbering of the problems.
These are some of the reasons why a solution environment does not exist yet,
but it is quite easy to add one in a personal style file.
> >>
>
> <\macro|which|body>
> <\render-remark|>
> <\surround||>>>
>
>
>
> >
>
> <\macro|body>
> |>
> >
I would rather suggest to base it on the render-proof environment
(assuming your semantics).
Best, --Joris
_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev