LaTeXFeatures.cpp: add multicol and shapepar

This commit is contained in:
Uwe Stöhr 2013-05-30 17:55:21 +02:00
parent ca66e175c9
commit a2e6fc773a
3 changed files with 5 additions and 9 deletions

View File

@ -8,18 +8,13 @@
Format 45 Format 45
AddToPreamble
% used for multiple text columns
\usepackage{multicol}
EndPreamble
InsetLayout Flex:Multiple_Columns InsetLayout Flex:Multiple_Columns
LyXType custom LyXType custom
Decoration classic Decoration classic
LabelString Columns LabelString Columns
LatexType environment LatexType environment
LatexName multicols LatexName multicols
Requires multicol
Argument 1 Argument 1
LabelString "Number of Columns" LabelString "Number of Columns"
Tooltip "Insert the number of columns here" Tooltip "Insert the number of columns here"
@ -35,6 +30,5 @@ InsetLayout Flex:Multiple_Columns
Tooltip "Free space that needs to be on the page to start the multiple columns on this page" Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
Requires 2 Requires 2
EndArgument EndArgument
Requires multicol
End End

View File

@ -10,7 +10,6 @@ Format 45
AddToPreamble AddToPreamble
% used for custom paragraph shapes % used for custom paragraph shapes
\usepackage{shapepar}
\IfFileExists{candleshape.def}{% \IfFileExists{candleshape.def}{%
\input{candleshape.def}}{} \input{candleshape.def}}{}
\IfFileExists{dropshape.def}{% \IfFileExists{dropshape.def}{%
@ -27,6 +26,7 @@ EndPreamble
Style "CD label" Style "CD label"
LatexType command LatexType command
LatexName CDlabel LatexName CDlabel
Requires shapepar
Category ShapedParagraphs Category ShapedParagraphs
NextNoIndent 1 NextNoIndent 1
Margin Static Margin Static

View File

@ -731,8 +731,10 @@ char const * simplefeatures[] = {
"pdfpages", "pdfpages",
"amscd", "amscd",
"slashed", "slashed",
"multicol",
"multirow", "multirow",
"tfrupee" "tfrupee",
"shapepar"
}; };
char const * bibliofeatures[] = { char const * bibliofeatures[] = {