[Solved] Bug on Math Formula

Discuss the formula editor
Post Reply
hakperest
Posts: 5
Joined: Sun Aug 25, 2013 4:35 am

[Solved] Bug on Math Formula

Post by hakperest »

I want

Code: Select all

Y_t =Y_0  size 16 func  e^gt 
but it not works, only changing g with another var cause it recovered. I tried also with

Code: Select all

Y_t =Y_0  size 16 func  e^{%gt} 
:crazy: :knock:
Last edited by Hagar Delest on Sat Aug 31, 2013 5:16 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.0 on Ubuntu && Libre Office 4.1 on Ubuntu 12.4
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Bug on Math Formula

Post by acknak »

Seems "gt" is a keyword, a synonym for ">" as far as I can tell. I don't remember running into it before.

You can break it up with something like this:

Y_t =Y_0 size 16 func e^{{g}t}
AOO4/LO5 • Linux • Fedora 23
User avatar
Zizi64
Volunteer
Posts: 11419
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Bug on Math Formula

Post by Zizi64 »

Or:

Code: Select all

Y_t =Y_0  size 16 func  e^"gt" 
The quotation marks make the characters of a reserved word (command) to a simple string, and the quotation marks will not displayed.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
RoryOF
Moderator
Posts: 34787
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Bug on Math Formula

Post by RoryOF »

acknak wrote:Seems "gt" is a keyword, a synonym for ">" as far as I can tell. I don't remember running into it before.
@acknak: I remember GT LT EQ as reserved words; I can't remember if they were used in Fortran II or (pre DOS) BASICs; at that time much programming was limited to capital letters and numbers.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
hakperest
Posts: 5
Joined: Sun Aug 25, 2013 4:35 am

Re: Bug on Math Formula

Post by hakperest »

Y_t =Y_0 size 16 func e^{{g}t} works so fine. Also Y_t =Y_0 size 16 func e^"gt" is the solution. Thanks you.
OpenOffice 4.0 on Ubuntu && Libre Office 4.1 on Ubuntu 12.4
Jan_J
Posts: 172
Joined: Wed Apr 29, 2009 1:42 pm
Location: Poland

Re: Bug on Math Formula

Post by Jan_J »

Keep in mind that {g}t will be treated as math, while "gt" as text. There's subtle difference in font face and spacing.
Btw., e^{g t} seems to be the simplest correct solution.
Last edited by Jan_J on Mon Aug 26, 2013 9:35 pm, edited 1 time in total.
JJ ∙ https://forum.openoffice.org/pl/
LO (24.2|7.6) ∙ Python (3.12|3.10) ∙ Unicode 15 ∙ LᴬTEX 2ε ∙ XML ∙ Unix tools ∙ Linux (Rocky|CentOS)
User avatar
Zizi64
Volunteer
Posts: 11419
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Bug on Math Formula

Post by Zizi64 »

If you want make the string elements to italic style string, then you need use the next directive:

Code: Select all

Y_t =Y_0 size 16 func e^ italic "gt"
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply