2011-12-07 01:06:06 +00:00
|
|
|
#\DeclareLyXModule[bicaption.sty]{Multilingual captions}
|
|
|
|
#DescriptionBegin
|
|
|
|
#Provides two styles to typeset multilingual captions.
|
|
|
|
#For a description see the file MultilingualCaptions.lyx in LyX's examples folder.
|
|
|
|
#DescriptionEnd
|
|
|
|
#Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
2012-11-23 08:50:22 +00:00
|
|
|
Format 41
|
2011-12-07 01:06:06 +00:00
|
|
|
|
|
|
|
Style "Caption setup"
|
|
|
|
LatexType command
|
|
|
|
LatexName captionsetup
|
|
|
|
Category FrontMatter
|
2012-11-20 14:35:25 +00:00
|
|
|
Argument 1
|
2012-11-19 13:21:02 +00:00
|
|
|
LabelString "Caption Setup Options"
|
|
|
|
Shortcut S
|
|
|
|
Tooltip "Options for the caption setup command (see bicaption manual)"
|
|
|
|
EndArgument
|
2011-12-07 01:06:06 +00:00
|
|
|
Margin Dynamic
|
|
|
|
LabelSep xx
|
|
|
|
ParSkip 0.0
|
|
|
|
ItemSep 0.2
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Block
|
|
|
|
AlignPossible Block
|
|
|
|
LabelType Static
|
|
|
|
LabelString "Caption setup:"
|
|
|
|
LabelFont
|
|
|
|
Color Green
|
|
|
|
EndFont
|
|
|
|
BabelPreamble
|
|
|
|
\usepackage{bicaption} % for multilingual captions
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Bicaption
|
|
|
|
CopyStyle "Caption setup"
|
|
|
|
LatexName bicaption
|
|
|
|
Category MainText
|
2012-11-20 14:35:25 +00:00
|
|
|
Argument 1
|
|
|
|
LabelString "Second Language Caption Short Title"
|
|
|
|
Tooltip "A short title (for list of figures/tables) in the second language"
|
|
|
|
EndArgument
|
|
|
|
Argument 2
|
2012-11-19 13:21:02 +00:00
|
|
|
Mandatory 1
|
2012-11-20 14:35:25 +00:00
|
|
|
LabelString "Second Language Caption Text"
|
2012-11-19 13:21:02 +00:00
|
|
|
Shortcut S
|
|
|
|
Tooltip "The caption text in the second language"
|
|
|
|
EndArgument
|
2012-11-20 14:35:25 +00:00
|
|
|
Argument 3
|
|
|
|
LabelString "Main Language Caption Short Title"
|
|
|
|
Tooltip "A short title (for list of figures/tables) in the main language"
|
|
|
|
EndArgument
|
2011-12-07 01:06:06 +00:00
|
|
|
TopSep 0
|
|
|
|
Align Center
|
|
|
|
AlignPossible Center
|
|
|
|
LabelString "Multilingual caption:"
|
|
|
|
LabelFont
|
|
|
|
Color Black
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|