]> git.lyx.org Git - features.git/blob - lib/layouts/bicaption.module
Merge remote-tracking branch 'origin/master' into features/latexargs
[features.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 1
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 1
43                 LabelString   "Second Language Caption Short Title"
44                 Tooltip       "A short title (for list of figures/tables) in the second language"
45         EndArgument
46         Argument 2
47                 Mandatory     1
48                 LabelString   "Second Language Caption Text"
49                 Shortcut      S
50                 Tooltip       "The caption text in the second language"
51         EndArgument
52         Argument 3
53                 LabelString   "Main Language Caption Short Title"
54                 Tooltip       "A short title (for list of figures/tables) in the main language"
55         EndArgument
56         TopSep                  0
57         Align                   Center
58         AlignPossible           Center
59         LabelString             "Multilingual caption:"
60         LabelFont
61                 Color           Black
62         EndFont
63 End
64