On 07/26/2011 07:17 PM, Jacob Barandes wrote: > This is probably a trivial question, but I can't seem to find an > answer to it anywhere in the documentation or the forums, so I thought > maybe it wasn't a feature yet. > > I have a LaTeX class file that defines a standalone LaTeX command > (\makecopyrightpage) that takes no arguments, i.e., no {...} -- it > simply generates some text automatically. > > Is there an object I can define in my corresponding layout file that > would produce a nice corresponding LyX construct? Paragraphs and flex > insets both allow the user to enter text input. I want something like > the GUI construct that LyX shows when you create a table of contents > -- an un-editable "box" that doesn't allow any text entry. > At the moment, there is no mechanism within LyX for this sort of thing. There is a bug report, filed by me, asking for it, and I am hoping to do it for 2.1. So, for now, it's ERT.
Richard