LyXDrop caps in lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Drop caps in lyx

Post by lrp »

Hello,

Can't implement drop caps.

I'm running Lyx 1.5.5 under Debian Lenny.

The style dropping.sty is installed under /usr/share/texmf-texlive/tex/latex/dropping.

I've entered /usepackage{dropping} in Document/Settings/Latex Preamble.

And \dropping{3}{I} in an ERT box at the beginning of my paragraph.

Get error message "Undefined control sequence."

Odd thing is that a text segment several words in from the ERT box are highlighted as the error.

Any thoughts on where I'm going wrong?

Many thanks,

LRP

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Drop caps in lyx

Post by meho_r »

That's an old package, I even don't have it installed in TeXLive2008. You may consider giving a try to lettrine package which serves the same purpose, but has much more control over drop caps. Check out its documentation as well as demos.

BTW, take care about / (slash) and \ (backslash) in LaTeX commands. Check if you specified dropping package in your example as

Code: Select all

\usepackage{dropping}
and not as

Code: Select all

/usepackage{dropping}
lrp
Posts: 9
Joined: Sun Aug 16, 2009 9:24 pm

Re: Drop caps in lyx

Post by lrp »

Many thanks, Meho_r.

Lettrine works like a charm!

LRP
Post Reply