Line spacing in Author mode

Oxygen general issues.
bri_taj
Posts: 1
Joined: Fri Mar 22, 2019 1:30 am

Line spacing in Author mode

Post by bri_taj »

Hi all,

Is there a simple way to modify the line spacing while editing in Author. I assume I would have seen an option in Options > Preferences > Appearance > Fonts, but I'm hoping there's another way to do it that I overlooked.

Thanks,
Bri
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Line spacing in Author mode

Post by Radu »

Hi,

We do not have a specific setting for this in the Oxygen global settings but as the Author visual editing mode is CSS based, you can write your own CSS stylesheet with a selector like this:

Code: Select all

:root {
line-height:1.5;
}
and use it for editing. The way in which you can contribute a custom CSS stylesheet depends on the XML vocabulary you are using, for example for DITA it's done like this:

http://blog.oxygenxml.com/2016/10/custo ... iting.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply