mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
9e5eebc14c
* src/TextClass{cpp,h}: - implement Requires tag for class and InsetLayout. * src/Layout.{cpp,h}: - implement Requires tag for layouts. - increase layouts format to 6. * src/Paragraph.cpp: - request required features for paragraph layouts. * src/LaTeXFeatures.cpp: - add some packages needed by modules. - remove Preamble method for InsetLayout. This is now done in InsetFlex::validate. * src/BufferParams.cpp (validate): - request required features for the class. * src/insets/InsetLayout.h: - new member "requires". * src/insets/InsetFlex.{cpp,h}: - implement validate method and request required features and preamble snippets. * lib/layouts/*.{layout,module,inc}: - increase layouts format to 6. - use Requires tags in some modules (more can be done later). * lib/doc/Customization.lyx: - document Requires tag. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
35 lines
917 B
PHP
35 lines
917 B
PHP
# Suggested style to write your code:
|
|
# Within same scrap, lines are separated by newlines (Ctrl-Return), use:
|
|
# ItemSep 0.4
|
|
# . disavantage: must type ctrl-return every single line
|
|
# . advantage: looks better (IMHO)
|
|
# resembles more closely the produced paper doc (more WYSIWYG)
|
|
#
|
|
|
|
Format 6
|
|
OutputType literate
|
|
|
|
Style Scrap
|
|
Margin First_Dynamic
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
NewLine 0
|
|
LeftMargin MMM
|
|
ParSep 0.4
|
|
TopSep 0.4
|
|
BottomSep 0.4
|
|
ItemSep 0.4
|
|
Align Left
|
|
AlignPossible Block,Left
|
|
FreeSpacing 1
|
|
PassThru 1
|
|
LabelType Static
|
|
LabelFont
|
|
Color magenta
|
|
EndFont
|
|
TextFont
|
|
Color latex
|
|
Family Typewriter
|
|
EndFont
|
|
End
|