Page 1 of 1

Line spacing in Author mode

Posted: Fri Mar 22, 2019 2:16 am
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

Re: Line spacing in Author mode

Posted: Fri Mar 22, 2019 10:20 am
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