Subject: mailing-list for TeXmacs Users
List archive
From : Robert Lamar <address@hidden>- To: address@hidden
- Subject: Difference in \assign and \with?
- Date: Wed, 18 Apr 2007 15:46:20 +0100
Fellow TeXmacs users,
Can someone tell me the difference between the 'assign' command and the
'with' command? The attached file has three tables, whose width is set
by a variable. The first two are set by 'assign'. The third is set
with 'with'. However, my use of 'with' does not seem to alter the
variable in the manner I expect.
Please shed some light on this if you can.
Thanks,
Robert Lamar
<TeXmacs|1.0.6.7>
<style|generic>
<\body>
<assign|widthed-box|<macro|width|text|<tabular|<tformat|<twith|table-lborder|.1pt>|<twith|table-rborder|.1pt>|<twith|table-bborder|.1pt>|<twith|table-tborder|.1pt>|<cwith|1|1|1|1|cell-width|<arg|width>>|<cwith|1|1|1|1|cell-hmode|exact>|<table|<row|<cell|<arg|text>>>>>>>>
<assign|mywidth|1par>
<widthed-box|<value|mywidth>|This box is a full paragraph in width.>
<assign|mywidth|.5par>
<widthed-box|<value|mywidth>|This box is half a paragraph in width.>
<with|<value|mywidth>|.75par|<widthed-box|<value|mywidth>|This box ought to
be somewhere in the middle.>>
</body>
<\initial>
<\collection>
<associate|language|british>
<associate|preamble|false>
</collection>
</initial>
- Difference in \assign and \with?, Robert Lamar, 04/18/2007
- Re: [TeXmacs] Difference in \assign and \with?, Henri Lesourd, 04/21/2007
Archive powered by MHonArc 2.6.19.