Change index spacing for italic

Discuss the formula editor

Change index spacing for italic

Postby Edulogos » Mon Apr 18, 2016 9:15 am

Hi

When I enter the formula E_pot there is no space between E and the subscript.

When I try to do the same in italic (ital E_pot) I end up with a lot of space between the E and the subscript.

I've used the menu (format -> spacing -> category indexes) and changed the default (20%) to everything from 0 tot 19%, but to no avail.
The spacing remains the same.

Is there a way to fix this?

Thanks

Liz
Attachments
Untitled 3.odt
(16.76 KiB) Downloaded 71 times
Apache OpenOffice 4.1.1 / Mac 10.9.5
Edulogos
 
Posts: 8
Joined: Mon Oct 20, 2014 11:21 am

Re: Change index spacing for italic

Postby acknak » Mon Apr 18, 2016 1:08 pm

Sorry, I'm not sure I understand what you're looking for.

Despite appearances, the subscript indicator does not attach the "E" and the "pot". The parsing occurs left-to-right unless you change it by grouping with { }:

ital {E_pot}
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22758
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Change index spacing for italic

Postby Edulogos » Mon Apr 18, 2016 1:15 pm

Hi

When entering E_pot (not italic) there is no space between E and the subscript.

When entering ital E_pot (or ital {E_pot} the result is the same), there is quite a bit of extra space between the E and the subscript.
I would like to get rid of that extra space.
Apache OpenOffice 4.1.1 / Mac 10.9.5
Edulogos
 
Posts: 8
Joined: Mon Oct 20, 2014 11:21 am

Re: Change index spacing for italic

Postby gerard24 » Mon Apr 18, 2016 2:05 pm

There is no extra space between "E" and "pot".
Edit the formula, clic on the E in the math window and look :

ItalicSpace.jpg
ItalicSpace.jpg (3.87 KiB) Viewed 1794 times

Right of the E (at top) and left of the Pot (at bottom) are pretty align.

Unless you can overlap the 2, I can't see a solution.
LibreOffice 5.3.7 on Windows Vista
gerard24
Volunteer
 
Posts: 921
Joined: Sat Oct 30, 2010 5:12 pm
Location: France

Re: Change index spacing for italic

Postby keme » Mon Apr 18, 2016 2:54 pm

For the particular function shown, you don't need a Math object, just enter it as plain text. With that, Writer will apply kerning so everything looks better.

If you have to use Math (e.g. more complex formulas), consider using Arial font instead of Arial MS Unicode. That gives a less pronounced slant, so the perceived distance is smaller.

For better results (publishing ready), I'd probably look at LaTex. I have no personal experience, but from the samples I have seen it seems to do a good job of pair kerning involving super-/subscripts.

There is a plugin for LaTex objects in OOo. Look for "OOoLaTex plugin".
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: 2785
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Change index spacing for italic

Postby Edulogos » Mon Apr 18, 2016 3:17 pm

Thanks, Keme.

I'll have a look at the OOoLaTex plugin.
Apache OpenOffice 4.1.1 / Mac 10.9.5
Edulogos
 
Posts: 8
Joined: Mon Oct 20, 2014 11:21 am


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests