# using latex poetry/verse packages in lyx

Richard Kimberly Heck rikiheck at lyx.org
Wed Nov 13 01:45:31 UTC 2019

On 11/12/19 9:21 AM, mousebot wrote:
> hi lyx users,
>
> i'm pretty new to lyx and latex and im interested in both for typsetting
> poetry for the moment.
>
> my question is regarding latex packages in lyx.
>
> with gummi i can use gmverse, verse, poemscol, poetry etc. packages by
> \usepackage{packagename}
> which enables the extra functionality provided by these packages.
>
> is there an equivalent with lyx?

In a way, yes, but you need to tell LyX about these new environments.
This is done using 'layout' code. In your case, LyX's "modules" are
probably what you are looking for. Very roughly, they tell LyX about the
capabilities of LaTeX packages and can be loaded, optionally, as
required. (That isn't entirely accurate, but it is close enough for
now.) These are described in Chapter  5 of the customization manual, but
the best way to learn about them, really, is just to look at the
existing ones that are installed with LyX. You might look at
shapepar.module, pdfcomment.module, and similar packages, which provide
a lot of different features.

Riki