Skip to Content.
Sympa Menu

texmacs-users - New environments and paragraphs length

Subject: mailing-list for TeXmacs Users

List archive

New environments and paragraphs length


Chronological Thread 
  • From: Philippe Audebaud <address@hidden>
  • To: address@hidden
  • Subject: New environments and paragraphs length
  • Date: Fri, 25 Oct 2002 13:25:46 +0200

Hi,

While trying to define new theorems, actually new environments which are
passed an argument plus the body, I failed to get the text respecting
paragraph length anymore. See the visual result at the bottom of this mail.
How can I solve that problem?

The experience is made of the macros file (m.ts) and example file (g.tm) both
attached to this mail.


Thank you for the help.

--
Philippe Audebaud.


Test 1 (My
Arg)Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation

Theorem 2. Permission is granted to copy, distribute and/or modify this
document under the
terms of the GNU Free Documentation License, Version 1.1 or any later version
published by
the Free Software Foundation; ...

<TeXmacs|1.0.0.17>

<\body>


<assign|blabla|<func|Permission is granted to copy, distribute and/or modify
this document under the terms of the GNU Free Documentation License, Version
1.1 or any later version published by the Free Software Foundation; ...>>

<apply|newtheorem|testref|Test>

<assign|test|<macro|x|y|<\testref>(<arg|x>)<arg|y></testref>>>

</body>

<\initial>
<\collection>
<associate|preamble|true>
<associate|odd page margin|30mm>
<associate|paragraph width|150mm>
<associate|shrinking factor|4>
<associate|page right margin|30mm>
<associate|page top margin|30mm>
<associate|reduction page right margin|25mm>
<associate|reduction page bottom margin|15mm>
<associate|page type|a4>
<associate|reduction page left margin|25mm>
<associate|even page margin|30mm>
<associate|page bottom margin|30mm>
<associate|reduction page top margin|15mm>
</collection>
</initial>
<TeXmacs|1.0.0.17>

<style|<tuple|article|m>>

<\body>

<apply|blabla>

<\test|My Arg>
<apply|blabla>
</test>

<\theorem>
<apply|blabla>
</theorem>

</body>

<\initial>
<\collection>
<associate|paragraph width|150mm>
<associate|odd page margin|30mm>
<associate|shrinking factor|4>
<associate|page right margin|30mm>
<associate|page top margin|30mm>
<associate|reduction page right margin|25mm>
<associate|page type|a4>
<associate|reduction page bottom margin|15mm>
<associate|even page margin|30mm>
<associate|reduction page left margin|25mm>
<associate|page bottom margin|30mm>
<associate|reduction page top margin|15mm>
<associate|language|english>
</collection>
</initial>





Archive powered by MHonArc 2.6.19.

Top of Page