mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
b124adbd38
This uses the InsetArgument interface to provide access to a document part hitherto inaccessible by LyX: the part between \begin and the first \item in a list (where lengths and counters can be redefined, for instance). Fixes: #11098 File format change, layout format change
33 lines
642 B
Plaintext
33 lines
642 B
Plaintext
#\DeclareLyXModule{Landscape}
|
|
#DescriptionBegin
|
|
#Output parts of the document in landscape mode.
|
|
#DescriptionEnd
|
|
#
|
|
#Author: Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
Format 69
|
|
|
|
InsetLayout Flex:Landscape
|
|
LyXType custom
|
|
Decoration classic
|
|
ResetsFont 0
|
|
MultiPar 1
|
|
LabelString Landscape
|
|
LatexName landscape
|
|
LatexType environment
|
|
LabelFont
|
|
Family Roman
|
|
Color red
|
|
EndFont
|
|
Requires lscape
|
|
End
|
|
|
|
InsetLayout Flex:Landscape_(Floating)
|
|
CopyStyle Flex:Landscape
|
|
LatexType none
|
|
LabelString "Landscape (floating)"
|
|
LeftDelim \afterpage{\begin{landscape}<br/>
|
|
RightDelim <br/>\end{landscape}}
|
|
Requires lscape,afterpage
|
|
End
|