Le 27/10/2017 à 10:47, Christian Eriksson a écrit : >> Hi, >> >> Is it possible to specify that a custom inset should be centered (and >> preferably has line breaks before and after the inset) in the lyx >> editor? An alternative would be to add padding on either side of the >> inset so the label is centered (similar to the page break inset), would >> either be possible? >> >> In the documentation I found the Align command but it only works for >> Paragraph styles. I also found the LeftLimit command for insets but >> defining something like: >> >> LeftLimit "--------------------” >> >> In the InsetLayout doesn’t seem to have any effect (?), but maybe I’ve >> misunderstood its function. I thought one could use it to add padding in >> the Lyx editor. > >Layout and InsetLayout are different beasts, although we try to be >somewhat coherent. I agree that there should be a way to declare whether >the inset is on its own line, and what its alignment is. If you open a >ticket, I can try to implement this, bt it won't be before 2.4.0, >unfortunately. > >JMarc I’ve created ticket #10776<https://www.lyx.org/trac/ticket/10776>, give me a shout out if there needs to be more information.
/Christian