diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/context/third/mathsets/README | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/third/mathsets/t-mathsets.tex | 25 |
2 files changed, 15 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/context/third/mathsets/README b/Master/texmf-dist/doc/context/third/mathsets/README deleted file mode 100644 index 8d9505d0040..00000000000 --- a/Master/texmf-dist/doc/context/third/mathsets/README +++ /dev/null @@ -1,10 +0,0 @@ -Name of module: Math Sets for ConTeXt -Author: Aditya Mahajan - -Description: This is a partial port of Donald Arseneau's braket.sty to -ConTeXt. This module allows you to define macros for bra-ket notation, -set sepcifiers, and macros for probability and expectation, with a -single vertical bar ("|") between two bracketed parts. - -The module documentation is available in doc/context/third/mathsets/mathsets-doc.pdf - diff --git a/Master/texmf-dist/tex/context/third/mathsets/t-mathsets.tex b/Master/texmf-dist/tex/context/third/mathsets/t-mathsets.tex index 70ab264027e..38d3a23fbd5 100644 --- a/Master/texmf-dist/tex/context/third/mathsets/t-mathsets.tex +++ b/Master/texmf-dist/tex/context/third/mathsets/t-mathsets.tex @@ -1,11 +1,12 @@ %D \module %D [ file=t-mathsets, -%D version=2008-12-06, +%D version=2011-01-22, %D title=Math Sets, %D subtitle=\CONTEXT\ port of \filename{braket.sty}, %D author={Aditya Mahajan}, %D email={adityam [at] umich [dot] edu}, -%D date=\currentdate] +%D date=\currentdate, +%D license=Simplified BSD License] %D %M \usemodule[mathsets] @@ -13,7 +14,7 @@ %M \setupbodyfontenvironment[default][em=italic] %M \loadsetups[t-mathsets.xml] -%D \section Introduction +%D \section {Introduction} %D %D I write a lot of probability expressions which look like this. %D \startbuffer @@ -37,7 +38,7 @@ %D extended to probability expressions also. This module is a partial port of %D \filename{braket.sty} to \CONTEXT. -%D \section Usage +%D \section {Usage} %D %D To use this module add %D @@ -166,7 +167,7 @@ %D \stopbuffer %D \typebuffer \getbuffer -%D \section Implementation +%D \section {Implementation} %D %D Most of the ideas are simply a \CONTEXT ified version of the code in %D \filename{braket.sty}. I mostly used \filename{bracket.sty} to define @@ -369,16 +370,16 @@ %D \stopitemize \def\docapturemathoplimits#1% - {\doifnextcharelse_% + {\doifnextcharelse _% {\dodocapturemathoplimits{#1}} - {\doifnextcharelse^% + {\doifnextcharelse ^% {\dodocapturemathoplimits{#1}} {#1{}}}} \def\dodocapturemathoplimits#1#2#3% - {\doifnextcharelse_% + {\doifnextcharelse _% {\redocapturemathoplimits{#1}{#2}{#3}} - {\doifnextcharelse^% + {\doifnextcharelse ^% {\redocapturemathoplimits{#1}{#2}{#3}} {#1{#2{#3}}}}} @@ -393,10 +394,14 @@ \definemathset[mathset] -%D \section Change log +%D \section {Change log} %D %D \startitemize[n, reverse][headstyle=bold] %D +%D \head \date[d=22,m=1,y=2011] +%D +%D Changed license to BSD +%D %D \head \date[d=6,m=12,y=2008] %D %D Defined a new macro \type{setmathmiddle}. Now \type{|} is made active after |