Hi!

Uwe Stöhr wrote:
Am 01.11.2010 23:50, schrieb [Ricardo Rodriguez] eBioTIC.:

As far as I see, the paragraph keeps the same in the last alpha6 release. Could I be of any help to
clarify this text?

I removed now the second sentence since 90% of the LyX users won't understand the difference between a LaTeX-command and LaTeX-environment.

Don't you think it is worth to introduce this concept to LyX users? I think that many people, like me, are using LyX not only as WYSIWYM editor, but also as an entry point to the LaTeX ecosystem. I've found this document quite useful to better understand what are we speaking about...

http://en.wikibooks.org/wiki/LaTeX/Customizing_LaTeX

Another solution is to defined a new command that sets up the box for you. Then you would have to insert this command as TeX-code instead of a box. I can define such a command for you, but you need to decide what box you want to have. If you made this decision, send me a LyX file with your
box and I'll have a look.

I don't want anything fancy. Simply, something like that:

http://ebiotic.net/bin/download/ICT/LyXBox/dummyTextMargins.pdf

Box has the same width as the text column and it is centred with it. Here the source file...

http://ebiotic.net/bin/download/ICT/LyXBox/dummyTextMargins.lyx

In your example the box has a width of only 95% not 100%. However, I defined a command for your box in the preamble of the attached document. You can insert then your custom box by inserting the TeX-code command \mybox as I have shown in the example.

Great! Thank you so much. I've learnt a lot with this example. In general, I must thank all the people answering here. You always provide accurate and clear answers!

What I don't understand here is the "however". Please, what do you mean? I see {0.95\columnwidth}, so I guess this is the parameter I must tweak to reach this result.

Simply: a great universe of possibilities! Thanks!

BTW: I get two errors when opening the document the first time after saving it from your email:

Document header error
Unknown token: \use_refstyle \use_refstyle

Document header error
Unknown token: 0 0

They disappear once I locally save the document.

Please, where these errors come from? Thanks!

The color of the box is set in the document settings.

regards Uwe

All the best,

Ricardo

--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

Reply via email to