]> git.lyx.org Git - lyx.git/blob - lib/layouts/bicaption.module
c21d5a5086e2a21d6859fd813be2a0dfd7264be2
[lyx.git] / lib / layouts / bicaption.module
1 #\DeclareLyXModule[bicaption.sty]{Multilingual captions}
2 #DescriptionBegin
3 #Provides two styles to typeset multilingual captions.
4 #For a description see the file MultilingualCaptions.lyx in LyX's examples folder.
5 #DescriptionEnd
6 #Author: Uwe Stöhr <uwestoehr@web.de>
7
8 Format 40
9
10 Style "Caption setup"
11         LatexType               command
12         LatexName               captionsetup
13         Category                FrontMatter
14         Argument options
15                 LabelString   "Caption Setup Options"
16                 Shortcut      S
17                 Tooltip       "Options for the caption setup command (see bicaption manual)"
18         EndArgument
19         Margin                  Dynamic
20         LabelSep                xx
21         ParSkip                 0.0
22         ItemSep                 0.2
23         TopSep                  0.7
24         BottomSep               0.7
25         ParSep                  0.3
26         Align                   Block
27         AlignPossible           Block
28         LabelType               Static
29         LabelString             "Caption setup:"
30         LabelFont
31                 Color           Green
32         EndFont
33         BabelPreamble
34         \usepackage{bicaption} % for multilingual captions
35         EndBabelPreamble
36 End
37
38 Style Bicaption
39         CopyStyle               "Caption setup"
40         LatexName               bicaption
41         Category                MainText
42         Argument options
43                 Mandatory     1
44                 LabelString   "Second language caption text"
45                 Shortcut      S
46                 Tooltip       "The caption text in the second language"
47         EndArgument
48         TopSep                  0
49         Align                   Center
50         AlignPossible           Center
51         LabelString             "Multilingual caption:"
52         LabelFont
53                 Color           Black
54         EndFont
55 End
56