]> git.lyx.org Git - features.git/commitdiff
Fix bug #2536 - Dropped capitals module
authorPavel Sanda <sanda@lyx.org>
Thu, 13 Aug 2009 11:18:43 +0000 (11:18 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 13 Aug 2009 11:18:43 +0000 (11:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31003 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/scons_manifest.py
lib/Makefile.am
lib/layouts/capitals.module [new file with mode: 0644]

index 3c9904a0a4a83b698560c1721ff8c9c7455d6292..7998c381cde635b152567549284ed4635c0cdcbe 100644 (file)
@@ -2777,6 +2777,7 @@ lib_layouts_inc_files = Split('''
 
 lib_layouts_module_files = Split('''
     braille.module
+    capitals.module
     endnotes.module
     foottoend.module
     hanging.module
index 9cb61b98ceaebb596e17529a83827a68d7a71f87..f7cb7cd4f7b1a690b5874ac31c5fe23139f455d7 100644 (file)
@@ -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 (file)
index 0000000..3806e56
--- /dev/null
@@ -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
+
+