Changes

Jump to navigation Jump to search
1,324 bytes added ,  05:51, 18 March 2011
→‎Installation: fixed link
<center>
<context>
% force an invisible space to show top of table frame:
$\ $
\starttable[|c|c|]
\HL
= Installation =
# download the LaTeX package from Richard Gill's website: [http://www.math.uuleidenuniv.nl/people/~gill/prodint.tar.gz tgz http://www.math.uuleidenuniv.nl/people/~gill/prodint.tar.gztgz]
# unpack the archive in an appropriate location of your TeX installation and run <code>texhash</code> to update the filename database
# make sure that pdftex, dvips and others can find the font mapfile prodint.map (e.g. by running <code>updmap --enable Map=prodint.map</code> if you have teTeX or TeXlive on Linux)
[computer-modern][encoding=default]
\setupbodyfont[reset,modern,serif,10pt]
\enablemathcollection[prodint]
\starttext
$\prodi$, $\Prodi$ and $\PRODI$Your text here 
\stoptext
</texcode>
= Example =
 
The following is the example which comes with the prodint package:
 
<context>
\definefontsynonym [MathGamma] [prodint]
 
\definefamilysynonym [default] [xop] [mc]
 
\startmathcollection [default]
 
\definemathsymbol [prodi] [op] [xop] [80]
\definemathsymbol [Prodi] [op] [xop] [82]
\definemathsymbol [PRODI] [op] [xop] [84]
 
\stopmathcollection
 
\loadmapfile[prodint]
 
 
\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
\definebodyfont
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint]
\stoptypescript
 
\definetypeface [modern] [mm] [math] [modern]
[computer-modern][encoding=default]
 
\setupbodyfont[reset,modern,serif,10pt]
 
\enablemathcollection[prodint]
 
\starttext
This is \type{\prodi} in action: $\prod_i\prodi\alpha_i(du)$. How does it look?
\blank[big]
 
Now two equations to test \type{\Prodi}
\startformula
\prod_{i=1}^n\Prodi_0^\tau \left(1-dA_i(u)\right)
\stopformula
 
\startformula
\int_0^\infty \prod_{i=1}^n\Prodi_0^t\left(1-\lambda_i(u,z)\,du\right)\; dF(z)
\stopformula
 
\blank[big]
and one with \type{\PRODI}
\startformula
\PRODI_0^t \left\{\int_0^u g(z)\,dF(z)\right\}^2 du
\stopformula
 
\stoptext
</context>
= Notes =
Please consider the following notes:
* the product integral symbol only exists in Computer Modern, therefore the code installation instructions above is only are valid when using this the Computer Modern font. If you use any other fontas bodyfont, the setup should be changed accordingly.* this setup defines three commands: <code>\prodi</code> for inline formulae, <code>\Prodi</code> and <code>\PRODI</code> for displaystyle formulae (where the latter is slightly larger); see the sample file prodint.pdf in example above for demonstration of the archive for example usageof these three commands.
= References and resources =
1

edit

Navigation menu