[Solved] Integral with lower/upper limits + chemical formula

Discuss the formula editor
Post Reply
Sprn
Posts: 3
Joined: Mon Jan 25, 2010 4:24 pm

[Solved] Integral with lower/upper limits + chemical formula

Post 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.
Last edited by Hagar Delest on Mon Jan 25, 2010 10:36 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 3.1.1 (OOO319m19, Build:9420)
under Kubuntu 9.10
Sprn
Posts: 3
Joined: Mon Jan 25, 2010 4:24 pm

Re: Integral with lower/upper limits and chemical formulas

Post 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
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Integral with lower/upper limits and chemical formulas

Post 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^{{}+{}}
AOO4/LO5 • Linux • Fedora 23
Sprn
Posts: 3
Joined: Mon Jan 25, 2010 4:24 pm

Re: Integral with lower/upper limits and chemical formulas

Post by Sprn »

Great, thank you! I tried it, everything is working! Thank you very much!
OpenOffice 3.1.1 (OOO319m19, Build:9420)
under Kubuntu 9.10
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Integral with lower/upper limits and chemical formulas

Post 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.
LibreOffice 7.x.x on Arch and Fedora.
User avatar
keme
Volunteer
Posts: 3784
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Integral with lower/upper limits and chemical formulas

Post 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).
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
User avatar
RGB
Posts: 1456
Joined: Mon Oct 08, 2007 1:34 am

Re: [Solved] Integral with lower/upper limits + chemical formula

Post by RGB »

Try this also:
"He" lsup{4}lsub{2}
useful for isotopes ;)
There are two types of people: those who believe that there are two types of people and those who do not.

openSUSE Leap with KDE Plasma / LibreOffice
User avatar
Hagar Delest
Moderator
Posts: 33483
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Integral with lower/upper limits + chemical for

Post by Hagar Delest »

See that font and extension described here: Automatic ligature support though graphite fonts.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
BigLue
Posts: 1
Joined: Mon Sep 19, 2011 9:06 am

Re: [Solved] Integral with lower/upper limits + chemical for

Post 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
OpenOffice 3.1 on Windows Vista / NeoOffice 2.2.3 with MacOS 10.4 / OpenOffice 2.4 on Ubuntu 9.04
Post Reply