Changes

Jump to navigation Jump to search
1,128 bytes added ,  15:48, 10 December 2006
removed note about unresolved issue and added example
<center>
<context>
% force an invisible space to show top of table frame:
$\ $
\starttable[|c|c|]
\HL
[computer-modern][encoding=default]
\setupbodyfont[reset,modern,serif,10pt]
\enablemathcollection[prodint]
\starttext
$\prodi$, $\Prodi$ and $\PRODI$Your text here 
\stoptext
</texcode>
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 above is only valid when using this font
* 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 the archive for example usage
* '''IMPORTANT: the current settings disable font styles like boldface, italic, slanted, etc. This is an unresolved issue!!!'''
= References and resources =
Anonymous user

Navigation menu