The attached diff is what I've done to 'std-math.ts' to make the
parentheses around matrices configurable, so that I can use [ ] instead
if I like.  At the top of the document, inside the preamble, I write:

\assign matrix-left-symbol \left [
\assign matrix-right-symbol \right [

... and it all looks the way I want it to.

Please consider applying this diff to the next release of TeXmacs, since
several others have asked for the same thing.  It leaves the behavior
exactly as before, with matrices surrounded by left and right ( by
default.

-- 
Karl Hegbloom <[EMAIL PROTECTED]>
--- std-math.ts.orig	2005-11-08 11:55:10.000000000 -0800
+++ std-math.ts	2005-11-08 11:55:21.000000000 -0800
@@ -61,7 +61,11 @@
     </src-comment>
   </active*>
 
-  <assign|matrix|<macro|x|<shrink-inline|<style-with|src-compact|none|<left|(><tformat|<cwith|1|-1|1|-1|cell-halign|c>|<arg|x>><right|)>>>>>
+  <assign|matrix-left-symbol|<left|(>>
+
+  <assign|matrix-right-symbol|<right|)>>
+
+  <assign|matrix|<macro|x|<shrink-inline|<style-with|src-compact|none|||<value|matrix-left-symbol><tformat|<cwith|1|-1|1|-1|cell-halign|c>|<arg|x>><value|matrix-right-symbol>>>>>
 
   <assign|det|<macro|x|<shrink-inline|<style-with|src-compact|none|<left|\|><tformat|<cwith|1|-1|1|-1|cell-halign|c>|<arg|x>><right|\|>>>>>
 
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to