previous Chapter II.4

Writing your own macros and style files

Under construction

back to TeXmacs


Save as stylefile.

Save as style file

Make macro with M-i = and M-i m. Activate using return (twice).

Type macro (step 1) Type macro (step 2)
Type macro (step 3) Type macro (step 4)
Type macro (step 5) Type macro (step 6)

Save style file, select test style and use hi as a new primitive.

Apply macro (step 1) Apply macro (step 2)

Insert extra arguments with tab. Use argument with \ and return.

Type macro (step 1) Type macro (step 2)
Type macro (step 3) Type macro (step 4)
Type macro (step 5) Type macro (step 6)

Save style file and press Document->Update->All in application document. Use love as a new primitive.

Apply macro (step 1) Apply macro (step 2)
Apply macro (step 3) Apply macro (step 4)

Preamble mode (Document->Preamble mode).

Preamble mode


previous back to TeXmacs


Copyright (C) 1999, 2000 by Joris van der Hoeven.

This webpage is part of GNU TeXmacs and the larger GNU project. Verbatim copying and distribution of it is permitted in any medium, provided this notice is preserved. For more information or questions, please contact Joris van der Hoeven.

Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA