1 #\DeclareLyXModule[shapepar.sty]{Custom Paragraph Shapes}
2 #\DeclareCategory{Paragraph Styles}
4 #Provides several paragraph shapes as well as commands to define custom
5 #shapes. For a description see LyX's Additional
6 #features manual, section 'Non-standard Paragraph Shapes'.
8 #Author: Uwe Stöhr <uwestoehr@web.de>
13 % used for custom paragraph shapes
14 \IfFileExists{candleshape.def}{%
15 \input{candleshape.def}}{}
16 \IfFileExists{dropshape.def}{%
17 \input{dropshape.def}}{}
18 \IfFileExists{TeXshape.def}{%
19 \input{TeXshape.def}}{}
20 \IfFileExists{triangleshapes.def}{%
21 \input{triangleshapes.def}}{}
25 # first the standard shapes
31 Category ShapedParagraphs
38 DocBookWrapperTag sidebar
39 DocBookWrapperAttr role='cd-label'
46 DocBookWrapperAttr role='circle'
52 DocBookWrapperAttr role='diamond'
58 DocBookWrapperAttr role='heart'
64 DocBookWrapperAttr role='hexagon'
70 DocBookWrapperAttr role='nut'
76 DocBookWrapperAttr role='square'
82 DocBookWrapperAttr role='star'
85 # now the shapes defined in the .def files
89 LatexName shapepar{\candle}
90 DocBookWrapperAttr role='candle'
96 DocBookWrapperAttr role='drop-down'
102 DocBookWrapperAttr role='drop-up'
107 LatexName shapepar{\TeXshape}
108 DocBookWrapperAttr role='tex'
113 LatexName triangleuppar
114 DocBookWrapperAttr role='triangle-up'
117 Style "Triangle down"
119 LatexName triangledownpar
120 DocBookWrapperAttr role='triangle-down'
123 Style "Triangle left"
125 LatexName triangleleftpar
126 DocBookWrapperAttr role='triangle-left'
129 Style "Triangle right"
131 LatexName trianglerightpar
132 DocBookWrapperAttr role='triangle-right'
135 # finally the low-level commands
142 Tooltip "For scaling the <Shape specification> to positions on the page"
146 LabelString "Shape specification"
147 Tooltip "Specification of the shape"