From c610266db2d3d9162b7259808c513354978f848a Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 13 Aug 2009 11:18:43 +0000 Subject: [PATCH] Fix bug #2536 - Dropped capitals module git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31003 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 1 + lib/Makefile.am | 1 + lib/layouts/capitals.module | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 lib/layouts/capitals.module diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 3c9904a0a4..7998c381cd 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -2777,6 +2777,7 @@ lib_layouts_inc_files = Split(''' lib_layouts_module_files = Split(''' braille.module + capitals.module endnotes.module foottoend.module hanging.module diff --git a/lib/Makefile.am b/lib/Makefile.am index 9cb61b98ce..f7cb7cd4f7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1008,6 +1008,7 @@ dist_layouts_DATA =\ layouts/book.layout \ layouts/braille.module \ layouts/broadway.layout \ + layouts/capitals.module \ layouts/chess.layout \ layouts/cl2emult.layout \ layouts/db_lyxmacros.inc \ diff --git a/lib/layouts/capitals.module b/lib/layouts/capitals.module new file mode 100644 index 0000000000..3806e56edf --- /dev/null +++ b/lib/layouts/capitals.module @@ -0,0 +1,23 @@ +#\DeclareLyXModule{Dropped Capitals} +#DescriptionBegin +#Define character style for dropped capitals. +#Hint: try to use math and its font styles for a different shapes. +#DescriptionEnd + +Format 16 + +InsetLayout CharStyle:DropCapital + LyxType charstyle + LabelString "Dropped Capital" + LatexType command + LatexName lettrine + Font + Size Large + EndFont + Requires lettrine + Preamble + \usepackage{lettrine} + EndPreamble +End + +