[Issue] 'Prime' character, super/subscripts spacing

Discuss the formula editor
Post Reply
jdpipe
Posts: 52
Joined: Wed Jun 04, 2008 8:02 am

[Issue] 'Prime' character, super/subscripts spacing

Post by jdpipe »

Hi all

I would like to write some stuff like "m-dot prime subscript p". I have used the syntax

{dot m}'_p

but it causes the 'prime' to take up horizontal space, such that the subscript 'p' is in a silly spot.

In Tex syntax, the nice solution is to use the '\prime' character, e.g. {\dot m}^\prime_p which works nicely. But it appears that neither 'prime' nor '%prime' are defined in OpenOffice.

Any suggestions?
Last edited by Hagar Delest on Mon Nov 24, 2008 11:44 pm, edited 3 times in total.
Reason: Tagged the thread as issue (link to a bug report).
OOo 3.1.1 on Mac OS X 10.5, OOo 3.0.1 on Ubuntu 9.04
User avatar
Hagar Delest
Moderator
Posts: 32649
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: 'Prime' character?

Post by Hagar Delest »

Try: {dot m}binom{'}{p}
You can use the equation editor for some graphical help (menu View>Selection).

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
jdpipe
Posts: 52
Joined: Wed Jun 04, 2008 8:02 am

Re: 'Prime' character?

Post by jdpipe »

That's not much good either, I'm afraid. See attached, which corresponds to the following input:

{dot m}binom{'}{p} " " {dot m}_p' " " {dot m}'_p " " {dot m}_p^{italic "'"}
Attachments
No nice way of doing primes: {dot m}binom{'}{p} "    " {dot m}_p' "   " {dot m}'_p  "   " {dot m}_p^{italic "'"}
No nice way of doing primes: {dot m}binom{'}{p} " " {dot m}_p' " " {dot m}'_p " " {dot m}_p^{italic "'"}
Screenshot-1.png (2 KiB) Viewed 8148 times
OOo 3.1.1 on Mac OS X 10.5, OOo 3.0.1 on Ubuntu 9.04
User avatar
Hagar Delest
Moderator
Posts: 32649
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: 'Prime' character?

Post by Hagar Delest »

You're absolutely right.

You should subscribe and vote for it (up to 2 votes per issue): Issue 57414 - Wide spacing between variables and sub/super scripts. I've added my 2 votes.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
jdpipe
Posts: 52
Joined: Wed Jun 04, 2008 8:02 am

Re: [Issue] 'Prime' character, super/subscripts spacing

Post by jdpipe »

OK, added a link back from bugzilla to this page too.
OOo 3.1.1 on Mac OS X 10.5, OOo 3.0.1 on Ubuntu 9.04
Post Reply