[Solved] Bug on Math Formula

Discuss the formula editor

[Solved] Bug on Math Formula

Postby hakperest » Sun Aug 25, 2013 4:40 am

I want
Code: Select all   Expand viewCollapse view
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   Expand viewCollapse view
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
hakperest
 
Posts: 5
Joined: Sun Aug 25, 2013 4:35 am

Re: Bug on Math Formula

Postby acknak » Sun Aug 25, 2013 6:19 am

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

Re: Bug on Math Formula

Postby Zizi64 » Sun Aug 25, 2013 7:21 am

Or:

Code: Select all   Expand viewCollapse view
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; LO6.1.6, 6.2.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.4.0; AOO4.1.6
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
Zizi64
Volunteer
 
Posts: 8773
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Bug on Math Formula

Postby RoryOF » Sun Aug 25, 2013 9:12 am

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.7 on Xubuntu 18.04.4 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 30435
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Bug on Math Formula

Postby hakperest » Sun Aug 25, 2013 11:26 pm

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
hakperest
 
Posts: 5
Joined: Sun Aug 25, 2013 4:35 am

Re: Bug on Math Formula

Postby Jan_J » Mon Aug 26, 2013 12:43 am

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 ∙ http://forum.openoffice.org/pl/
LO (6.1|6.0) ∙ AOO 4.1.5 ∙ Python (3.7|2.7) ∙ Unicode 11 ∙ LᴬTeX 2ε ∙ XML ∙ Unix tools ∙ Linux (2.6|3.x) ∙ Fedora ∙ CentOS ∙ SUSE
Jan_J
 
Posts: 143
Joined: Wed Apr 29, 2009 1:42 pm
Location: Poland

Re: Bug on Math Formula

Postby Zizi64 » Mon Aug 26, 2013 5:52 am

If you want make the string elements to italic style string, then you need use the next directive:
Code: Select all   Expand viewCollapse view
Y_t =Y_0 size 16 func e^ italic "gt"
Tibor Kovacs, Hungary; LO6.1.6, 6.2.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.4.0; AOO4.1.6
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
Zizi64
Volunteer
 
Posts: 8773
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary


Return to Math

Who is online

Users browsing this forum: No registered users and 1 guest