summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/statex2
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-14 22:29:37 +0000
committerKarl Berry <karl@freefriends.org>2011-09-14 22:29:37 +0000
commitd5f1327ab362980bce84f768fab6f93842e93bd1 (patch)
treed60ee0ab368925f240f08d363c1977f63095974a /Master/texmf-dist/doc/latex/statex2
parent7049f2efeb82a0814580c606b16d7eeb3032aa9b (diff)
statex2 (14sep11)
git-svn-id: svn://tug.org/texlive/trunk@23961 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/statex2')
-rw-r--r--Master/texmf-dist/doc/latex/statex2/statex2-example.pdfbin177305 -> 175639 bytes
-rw-r--r--Master/texmf-dist/doc/latex/statex2/statex2-example.tex23
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
index f4b2787f190..2553881f28c 100644
--- a/Master/texmf-dist/doc/latex/statex2/statex2-example.pdf
+++ b/Master/texmf-dist/doc/latex/statex2/statex2-example.pdf
Binary files differ
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}
+