mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
4d0678b4a0
- correct appearance of section environments in LyX: also non-starred sections don't have a number in tufte - use the new nohyper document class option, this way the user has full access to the PDF appearance via our PDF properties settings (thanks to the tufte developer for implementing this) This can first go to branch when the new tufte version will be released - this release will definitively happen before LyX 1.7 therefore I think it's safe to commit to trunk. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31942 a592a061-630c-0410-9148-cb99ea01b6c8
211 lines
3.1 KiB
Plaintext
211 lines
3.1 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[tufte-book]{book (Tufte)}
|
|
# tufte-book textclass definition file.
|
|
# Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
|
|
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/10/27
|
|
|
|
Format 11
|
|
|
|
Provides geometry 1
|
|
Provides natbib-internal 1
|
|
|
|
ClassOptions
|
|
Other nohyper
|
|
end
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
# import other layouts
|
|
Input stdlayouts.inc
|
|
Input book.layout
|
|
|
|
NoStyle Chapter
|
|
NoStyle Section
|
|
NoStyle Subsection
|
|
NoStyle Subsubsection
|
|
NoStyle Subsubsection*
|
|
NoStyle Paragraph
|
|
NoStyle Paragraph*
|
|
NoStyle Subparagraph
|
|
NoStyle Subparagraph*
|
|
|
|
Style Chapter
|
|
Margin Static
|
|
Category Section
|
|
LabelType None
|
|
LabelCounter chapter
|
|
TocLevel 0
|
|
LatexType Command
|
|
LatexName chapter
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
TopSep 4
|
|
BottomSep 0.8
|
|
ParSep 0.8
|
|
Align Block
|
|
OptionalArgs 1
|
|
Font
|
|
Series Bold
|
|
Size Huge
|
|
EndFont
|
|
End
|
|
|
|
Style Section
|
|
Category Section
|
|
Margin Dynamic
|
|
LabelType None
|
|
LabelCounter section
|
|
TocLevel 1
|
|
LatexType Command
|
|
LatexName section
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
OptionalArgs 1
|
|
Font
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
End
|
|
|
|
Style Subsection
|
|
CopyStyle Section
|
|
TocLevel 2
|
|
LatexName subsection
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 0.5
|
|
Font
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Sidenote
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName sidenote
|
|
Decoration classic
|
|
LabelString "sidenote"
|
|
Font
|
|
Color foreground
|
|
Size Small
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color marginlabel
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Marginnote
|
|
CopyStyle Sidenote
|
|
LatexName marginnote
|
|
Decoration classic
|
|
LabelString "marginnote"
|
|
Font
|
|
Family Roman
|
|
Shape Up
|
|
Series Medium
|
|
EndFont
|
|
MultiPar true
|
|
End
|
|
|
|
InsetLayout NewThought
|
|
LyXType charstyle
|
|
LatexType Command
|
|
LatexName newthought
|
|
LabelString "new thought"
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout AllCaps
|
|
CopyStyle NewThought
|
|
LatexName allcaps
|
|
LabelString "allcaps"
|
|
Font
|
|
Shape Up
|
|
Misc Noun
|
|
EndFont
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout SmallCaps
|
|
CopyStyle NewThought
|
|
LatexName smallcaps
|
|
LabelString "smallcaps"
|
|
LabelFont
|
|
Color green
|
|
EndFont
|
|
End
|
|
|
|
Style Full_Width
|
|
Margin Static
|
|
LaTeXType environment
|
|
LaTeXName fullwidth
|
|
Category MainText
|
|
NextNoIndent 1
|
|
ParSkip 0
|
|
ItemSep 0
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
# this steps the counters
|
|
Counter marginfigure
|
|
End
|
|
|
|
Counter margintable
|
|
End
|
|
|
|
# define the floats
|
|
Float
|
|
Type margintable
|
|
GuiName MarginTable
|
|
Placement tbp
|
|
Extension lot
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Tables"
|
|
LaTeXBuiltin true
|
|
End
|
|
|
|
Float
|
|
Type marginfigure
|
|
GuiName MarginFigure
|
|
Placement tbp
|
|
Extension lof
|
|
NumberWithin none
|
|
Style plain
|
|
ListName "List of Figures"
|
|
LaTeXBuiltin true
|
|
End |