What is the best way to use the package lettrine in LyX?

Right now I've written in the Document Preamble \usepackage{lettrine} and then I use the classic tex code \lettrine{O}{nce upon a time} there was a king ...

  • I guess that's it, currently.
    – Stefan Kottwitz
    Feb 2 '13 at 11:59

This is implemented very nicely in LyX 2.1, which isn't out yet (and won't be for a while). It's also implemented in 2.0.x but needs to use a couple of tricks. See below for both sets of instructions. You should use 2.0.x because it is stable but the instructions for 2.1 will be useful for when it is released.

I first document 2.1dev (even though I recommend you to use 2.0.x) because it is more intuitive.

Instructions for 2.1dev

This version is not released yet and is considered unstable. Note that if you're using Ubuntu, it's easy to use 2.1dev by using the PPA: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

Go to Document > Settings > Modules and add the module "Initials". Then use the "initials" environment. In the initials environment, go to the "Insert" menu and you will see "Initial" and "Rest of Initial". This is documented in the Help > Embedded Objects manual under the section "Initials".

Instructions for 2.0

If you're not using 2.1dev, there is still support for initials. Do the same as above to add the module, and when you go to the Insert menu, insert "Short title". That serves the purpose in this case of "Initial" above. This is documented in the Help > Embedded Objects manual under the section "Initials".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.