mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] One simple thing...


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] One simple thing...
  • Date: Tue, 11 Mar 2008 12:37:41 +0100

On Mon, Mar 10, 2008 at 07:52:06PM -0300, Anderson Brasil wrote:
> Hi. I am trying to write a book using texmacs, but I am getting a
> lot of trouble trying to do so.
> Right now, my biggest issue is related to theorem like environments.
> Texmacs has only a few of these environments, and I need not only to
> change them to the way I want, but I also need to create new ones. I am
> not trying anything too hard, I need only things like a \solution
> environment to add after my \exercise commands, and things like that. I
> also needed it to be dealt correctly at two languages (portuguese and
> english), which are the two languages that I mostly use.
> I have read the whole manual, and I've only found one small thing at
> chapter 10, telling to load book.ts and try to learn through that
> example. But the program crashes when I do that. And the information
> that I get when opening it in kedit isn't helpful at all.
> Can someone help me here? My deadlines are coming, and I really need
> to do this.

Creating new theorem-like environments is simple:
just add something like <new-theorem|solution|Solution>
or <new-remark|solution|Solution> or <new-exercise|solution|Solution>
to your preamble, depending on the kind of layout you wish to have.

Yet another trick is to use the render-theorem environment
(type \ render-theorem RETURN): this environment renders
as a theorem, but allows you to manually specify the "Theorem" text.

Best wishes, Joris



Archive powered by MHonArc 2.6.19.

Top of page