[Solved] Strange result using subscript GG

Discuss the formula editor

[Solved] Strange result using subscript GG

Postby Valdas » Sun Apr 27, 2008 8:25 pm

Hello,

i want get letter "k" with subscript "GG". So i enter "k_GG", but i get strange formula: "k" with flipped "?" in subscript. So i must write "k_{G G}".
Is it a bug?
Last edited by MrProgrammer on Wed Feb 12, 2020 9:59 pm, edited 2 times in total.
Reason: Changed title, was: Strange result
Valdas
 
Posts: 2
Joined: Sun Apr 27, 2008 8:11 pm

Re: Strange result

Postby Hagar Delest » Sun Apr 27, 2008 9:45 pm

Why not k_"GG"?

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28882
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Strange result

Postby keme » Sun Apr 27, 2008 10:01 pm

Valdas wrote:Hello,

i want get letter "k" with subscript "GG". So i enter "k_GG", but i get strange formula: "k" with flipped "?" in subscript. So i must write "k_{G G}".
Is it a bug?

GG is a binary operator in math (much greater than, displayed as ">>"), and if binary operators don't have an operand on either side, it's considered a syntax error. Syntax errors in Math are displayed as an inverted red question mark.

To ensure text is displayed verbatim (not interpreted as operators or named symbols), quote it.
Hence Hagar's solution.
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 3343
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: [solved] Strange result

Postby Valdas » Sun Apr 27, 2008 10:06 pm

Thank for explanation!
Valdas
 
Posts: 2
Joined: Sun Apr 27, 2008 8:11 pm


Return to Math

Who is online

Users browsing this forum: No registered users and 1 guest