On 01/25/2011 03:15 PM, Lars Adiels wrote:
Hello
I wonder if any one can help with one or morre of those questions, please.
I want to procuce dokuments in the line of Te.pdf (attached). My lyx
file is Te.lyx and the layoutfile myTe_layout.local.
Q1. the mechanism I used is insets. I would like to make those boxes as
styles. But if I do that I cant color them in the lyx window?
You can color the foreground, but not the background. Perhaps this is a
missing feature. Of course, they will look the same onscreen.
Q2 if I have to use insets I also have too specify the correct style in
each box. Can this be automatic. There is a possibility to not force
plain but one can not force a given style?
Within the inset, there's no reason to do anything other than force
plain layout, if you do not want to be able to change it. Whatever the
style would do, you can just include in your environment definition. But
I'd suggest you just use styles and not worry about the background in
the LyX window.
Q3 I net a protected space in the beginning of each box if not the text
splits. ??????
Can't you write that into the environment definition?
Q4 The boxes are not pure rectangels. Can this be fixed?
It can definitely be fixed, but I am not sure what the problem is.
Perhaps you should try reposting a note about that problem only, to
attract the attention of the LaTeX experts.
Richard