>> On 06/02/2010 10:59 AM, Rob Oakes wrote:
>>> Dear LyX-Users,
>
>>> I am in the process of creating a custom of modules for personal use

>>> p  and another for the creation of epigraphs).  For the epigraph
>>> module to work correctly, it is important that I be able to use multiple
>>> input arguments.  For example, the LaTeX code for the epigraph command
>>> has the form \epigraph{Quotation}{Source}.
>
>>> \epigraph{If a picture isn't worth a thousand words, the hell with
>>> it.}{Ad Reinhardt}
>
>>> Is anyone aware of a way to create an inset that could support this type
>>> of macro?  I've looked through several of the examples shipped with LyX
>>> and wasn't able to find a similar example.
>
> The dinbrief.layout uses the following workaround in a similar case::
>
I have created a module for epigraph using the style of workaround
suggested by DINbrief

http://wiki.lyx.org/uploads/Modules/epigraph/epigraph.module

it uses 3 terms (text, source and typeset) because I wanted to make
the source italic.

I would be interested in comments and feedback as to how to do this
better/more elegantly

I may later extend it to epigraphhead
-- 
Stephen

Reply via email to