texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] [patch] std-math.ts: Make the ( and ) configurable.


From: Karl Hegbloom
Subject: [Texmacs-dev] [patch] std-math.ts: Make the ( and ) configurable.
Date: Tue, 08 Nov 2005 12:01:46 -0800

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 <address@hidden>
--- 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|\|>>>>>
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]