mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
new module: Multilingual captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40414 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9a3d2bf3b6
commit
6b01721dfa
1847
lib/examples/MultilingualCaptions.lyx
Normal file
1847
lib/examples/MultilingualCaptions.lyx
Normal file
File diff suppressed because it is too large
Load Diff
47
lib/layouts/bicaption.module
Normal file
47
lib/layouts/bicaption.module
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#\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>
|
||||||
|
|
||||||
|
Format 36
|
||||||
|
|
||||||
|
Style "Caption setup"
|
||||||
|
LatexType command
|
||||||
|
LatexName captionsetup
|
||||||
|
Category FrontMatter
|
||||||
|
OptionalArgs 1
|
||||||
|
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
|
||||||
|
RequiredArgs 1
|
||||||
|
TopSep 0
|
||||||
|
Align Center
|
||||||
|
AlignPossible Center
|
||||||
|
LabelString "Multilingual caption:"
|
||||||
|
LabelFont
|
||||||
|
Color Black
|
||||||
|
EndFont
|
||||||
|
End
|
||||||
|
|
@ -591,6 +591,7 @@ Menuset
|
|||||||
Item "Feynman-diagram Manual|F" "help-open FeynmanDiagrams"
|
Item "Feynman-diagram Manual|F" "help-open FeynmanDiagrams"
|
||||||
Item "LilyPond Manual|M" "help-open lilypond"
|
Item "LilyPond Manual|M" "help-open lilypond"
|
||||||
Item "Linguistics Manual|L" "help-open linguistics"
|
Item "Linguistics Manual|L" "help-open linguistics"
|
||||||
|
Item "Multilingual Captions Manual|C" "help-open MultilingualCaptions"
|
||||||
Item "Risk and safety statements Manual|R" "help-open R-S-statements"
|
Item "Risk and safety statements Manual|R" "help-open R-S-statements"
|
||||||
Item "Sweave Manual|S" "help-open sweave"
|
Item "Sweave Manual|S" "help-open sweave"
|
||||||
Item "XY-pic Manual|X" "help-open xypic"
|
Item "XY-pic Manual|X" "help-open xypic"
|
||||||
|
Loading…
Reference in New Issue
Block a user