Page 1 of 1
[Solved] Integral with lower/upper limits + chemical formula
Posted: Mon Jan 25, 2010 4:29 pm
by Sprn
Dear all,
I have two problems with formula editor in OOOWriter.
1. How to write down the formula for integral with lower and upper limit? I'm trying something like "from <0> to <t> int kdx", but it gives questions marks.
2. How to write down formula for chemical ions? For example, H^(+) ? It works fine if I make H^+1, but gives question marks if I put H^+
Sorry, if these questions have been raised already, but I didn't find it by search.
All the best.
Re: Integral with lower/upper limits and chemical formulas
Posted: Mon Jan 25, 2010 5:33 pm
by Sprn
Looks like problem one has been solved by using "stack" command, e.g.:
stack { t_max # int { } # t_min } exp (-k_1 cdot t) dt
Problem #2 still isn't solved
Re: Integral with lower/upper limits and chemical formulas
Posted: Mon Jan 25, 2010 5:46 pm
by acknak
1) int from {0} to {infinity} %GAMMA(x) dx
2) Math is not well suited for chemical formulas, but this one you can do without too much trouble:
- H^"+"
or
"H"^"+"
or
H^{{}+{}}
Re: Integral with lower/upper limits and chemical formulas
Posted: Mon Jan 25, 2010 6:30 pm
by Sprn
Great, thank you! I tried it, everything is working! Thank you very much!
Re: Integral with lower/upper limits and chemical formulas
Posted: Mon Jan 25, 2010 7:13 pm
by Robert Tucker
Alternatives for (1):
int_0^{t} ~k dx
int rsup {t} rsub {0} ~k dx
both avoid the 0 and t being directly below and over the integral sign respectively, but the 0 is too far to the right. An old problem it seems:
http://www.oooforum.org/forum/viewtopic.phtml?t=1345
I also tried with OOoLatex, but the limits appear full size – not sure what's wrong there.
Re: Integral with lower/upper limits and chemical formulas
Posted: Mon Jan 25, 2010 7:28 pm
by keme
You can use the from/to keywords, but start with the integral:
int from 0 to t kdx
It keeps the logic, so it's easier to read than the stack/sub/sup modifiers. It positions the limits above/below the integral sign (I can't see any way to make the limits appear to the right, like rsup/rsub does).
Re: [Solved] Integral with lower/upper limits + chemical formula
Posted: Tue Jan 26, 2010 5:38 pm
by RGB
Try this also:
"He" lsup{4}lsub{2}
useful for isotopes

Re: [Solved] Integral with lower/upper limits + chemical for
Posted: Sun Aug 01, 2010 9:54 pm
by Hagar Delest
Re: [Solved] Integral with lower/upper limits + chemical for
Posted: Mon Sep 19, 2011 9:13 am
by BigLue
keme wrote:You can use the from/to keywords, but start with the integral:
int from 0 to t kdx
It keeps the logic, so it's easier to read than the stack/sub/sup modifiers. It positions the limits above/below the integral sign (I can't see any way to make the limits appear to the right, like rsup/rsub does).
Do ypu know probably how to replace keyword from input string? i use Jquery