Issue 8299

Summary: U_gg ist displayed wrong
Product: Math Reporter: Unknown <non-migrated>
Component: codeAssignee: michael.ruess
Status: CLOSED NOT_AN_OOO_ISSUE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 643   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Unknown 2002-10-13 20:04:39 UTC
Hi,

what's so special with "gg" in formulas ?

Open Text, insert formula.
Try U_ee, U_ff, U_zz... everthing is fine, but why not U_gg !!! ?-)
Comment 1 thomas.lange 2002-10-14 08:24:25 UTC
"gg" (as "ll") is a reserved text (like "lim" or "in" for the 'is 
element of' operator for example).

If you write
 a gg b ll c 
you'll see what is used for (the operators for much greater and much 
less).

There (for historic reason) are other shortcuts like this for 
example: eq ne lt le

Thus using it in an expression like A_gg it will result in a parse 
error.
You should use 
  A_"gg"
in this case or
  A_{italic "gg"}
if you emphasis is for the cursive text.

And if you use "gg" not as a single variable name you should use
  A_{g g}
to have the identifiers separated.


TL->MRU: To you to confirm and close.
Comment 2 Unknown 2002-10-14 08:39:50 UTC
Thank you,  sorry for inconvenience.
Comment 3 lohmaier 2002-10-14 14:49:47 UTC
Another possibility is to use '%' to escape the special meaning of "gg":
U_%gg
should work like
U_{italic "gg"}
Comment 4 michael.ruess 2002-10-16 11:53:15 UTC
Yes, reserved expressions like gg shouldn't be used as variable or
index...
Comment 5 lohmaier 2004-12-11 23:32:29 UTC
*** Issue 38829 has been marked as a duplicate of this issue. ***