diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/statex2')
-rw-r--r-- | Master/texmf-dist/doc/latex/statex2/statex2-example.pdf | bin | 177305 -> 175639 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/statex2/statex2-example.tex | 23 |
2 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/statex2/statex2-example.pdf b/Master/texmf-dist/doc/latex/statex2/statex2-example.pdf Binary files differindex f4b2787f190..2553881f28c 100644 --- a/Master/texmf-dist/doc/latex/statex2/statex2-example.pdf +++ b/Master/texmf-dist/doc/latex/statex2/statex2-example.pdf diff --git a/Master/texmf-dist/doc/latex/statex2/statex2-example.tex b/Master/texmf-dist/doc/latex/statex2/statex2-example.tex index 6c7c59b7e3c..c640bbefcc1 100644 --- a/Master/texmf-dist/doc/latex/statex2/statex2-example.tex +++ b/Master/texmf-dist/doc/latex/statex2/statex2-example.tex @@ -1,10 +1,6 @@ \documentclass[dvipsnames,usenames]{report} %\documentclass[dvipsnames,usenames,autobold]{report} \usepackage{statex2} - -% fix bug in statex2.sty -\DeclareRobustCommand*{\deriv}[2]{\mb{\frac{\d{}}{\d #1}}\wrap{\mb{#2}}} - \usepackage{shortvrb} \MakeShortVerb{@} % Examples @@ -26,12 +22,20 @@ Sometimes overline is better: @\b{x} \vs \ol{x}@ $$\b{x} \vs \ol{x}$$ And, underlines are nice too: @\ul{x}@ $$\ul{x}$$ -A few other nice-to-haves: +Derivatives and partial derivatives: -@\chisq@ $$\chisq$$ @\deriv{x}{x^2+y^2}@ $$\deriv{x}{x^2+y^2}$$ @\pderiv{x}{x^2+y^2}@ $$\pderiv{x}{x^2+y^2}$$ +Or, rather, in the order of @\frac@: + +@\derivf{x^2+y^2}{x}@ $$\derivf{x^2+y^2}{x}$$ +@\pderivf{x^2+y^2}{x}@ $$\pderivf{x^2+y^2}{x}$$ + +A few other nice-to-haves: + +@\chisq@ $$\chisq$$ + @\Gamma[n+1]=n!@ $$\Gamma[n+1]=n!$$ @\binom{n}{x}@ $$\binom{n}{x}$$ %provided by amsmath package @@ -155,7 +159,7 @@ Binomial Distribution @X ~ \Bin{n}{p}@ $$X ~ \Bin{n}{p}$$ -@\pBin{n}{p}@ $$\pBin{n}{p}$$ +%@\pBin{n}{p}@ $$\pBin{n}{p}$$ Bernoulli Distribution @@ -165,7 +169,7 @@ Beta-Binomial Distribution @X ~ \BB{p}@ $$X ~ \BB{p}$$ -@\pBB{n}{\alpha}{\beta}@ $$\pBB{n}{\alpha}{\beta}$$ +%@\pBB{n}{\alpha}{\beta}@ $$\pBB{n}{\alpha}{\beta}$$ Negative-Binomial Distribution @@ -179,7 +183,7 @@ Poisson Distribution @X ~ \Poi{\mu}@ $$X ~ \Poi{\mu}$$ -@\pPoi{\mu}@ $$\pPoi{\mu}$$ +%@\pPoi{\mu}@ $$\pPoi{\mu}$$ Dirichlet Distribution @@ -225,3 +229,4 @@ Suppose @A@ is $\alpha$ and @T@ is the number of tails. To run the program:\\ 2\Enter\\ @1.959963986@ \end{document} + |