mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
Fix bug #2536 - Dropped capitals module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31003 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3fbe484391
commit
c610266db2
@ -2777,6 +2777,7 @@ lib_layouts_inc_files = Split('''
|
|||||||
|
|
||||||
lib_layouts_module_files = Split('''
|
lib_layouts_module_files = Split('''
|
||||||
braille.module
|
braille.module
|
||||||
|
capitals.module
|
||||||
endnotes.module
|
endnotes.module
|
||||||
foottoend.module
|
foottoend.module
|
||||||
hanging.module
|
hanging.module
|
||||||
|
@ -1008,6 +1008,7 @@ dist_layouts_DATA =\
|
|||||||
layouts/book.layout \
|
layouts/book.layout \
|
||||||
layouts/braille.module \
|
layouts/braille.module \
|
||||||
layouts/broadway.layout \
|
layouts/broadway.layout \
|
||||||
|
layouts/capitals.module \
|
||||||
layouts/chess.layout \
|
layouts/chess.layout \
|
||||||
layouts/cl2emult.layout \
|
layouts/cl2emult.layout \
|
||||||
layouts/db_lyxmacros.inc \
|
layouts/db_lyxmacros.inc \
|
||||||
|
23
lib/layouts/capitals.module
Normal file
23
lib/layouts/capitals.module
Normal file
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user