Am 21.05.2010 08:38, schrieb [Ricardo Rodriguez] eBioTIC.:

I know I must read through the manuals!

Yes, in your case the section "Colored Boxes" of the EmbeddedObjects manual.

But some help will be welcome as
I am still trying to understand the whole scenario. At what point
changes area allowed by using LyX WYSIWYM interface or I must play with
configuration/customization files is not clear for me yet!

Configuration is to configure LyX#s defaults, look and feel, etc. This is independent of your text features.

As for this doubt, please have a look at this simple file generated
using article Document class.

http://xen.net/onLyX/dummyTextMargins.pdf
http://xen.net/onLyX/dummyTextMargins.lyx

What I want to control in this file, is the margins of the box: I would
like that it is aligned with the previous paragraph: same margin on the
left, same margin on the right.

Then turn off the paragraph indentation. (Set the cursor in front of the box and use the paragraph settings menu. There uncheck the open "Indent Paragraph".)

Note that a box always has a border which is of course wider than the box content. The border can be visible or invisible. So when you want to have the same overall width for the box than for the text column, you need to decrease its with to e.g. 98 column%.

Please nevertheless have a look at the box chapter in the EmbeddedObjects manual to learn more about the box handling.

The same with the text within the box.

Use a parbox as inner box. You can then edit the box text like any other text.

Attached is a LyX example file.

regards Uwe

Attachment: dummyTextMargins.lyx
Description: application/lyx

Reply via email to