new layout: tufte-book

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31759 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-10-27 01:46:16 +00:00
parent d9ab7302a6
commit 9874b2e279
6 changed files with 1144 additions and 1 deletions

View File

@ -2453,6 +2453,7 @@ lib_examples_files = Split('''
simplecv.lyx
splash.lyx
sweave.lyx
tufte-book.lyx
xyfigure.png
xypic.lyx
''')
@ -2738,6 +2739,7 @@ lib_layouts_files = Split('''
tarticle.layout
tbook.layout
treport.layout
tufte-book.layout
''')

View File

@ -451,6 +451,9 @@
@bAndreas Vox
@iE-mail: avox () arcor ! de
Bug fixes, feedback on LyX behaviour on the Mac, and improvements to DocBook export
@bJason Waskiewicz
@iE-mail: jason.waskiewicz () sendit ! nodak ! edu
Layouts for the Tufte document classes
@bJohn P. Weiss
@iE-mail: jpweiss () frontiernet ! net
Bugreports and suggestions, slides class support, editor of the documentationproject, 6/96-9/97. Tutorial chapter 1

View File

@ -253,6 +253,7 @@ dist_examples_DATA = \
examples/simplecv.lyx \
examples/splash.lyx \
examples/sweave.lyx \
examples/tufte-book.lyx \
examples/xyfigure.png \
examples/xypic.lyx
@ -1146,7 +1147,8 @@ dist_layouts_DATA =\
layouts/theorems-starred.inc \
layouts/theorems-starred.module \
layouts/theorems-std.module \
layouts/treport.layout
layouts/treport.layout \
layouts/tufte-book.layout
scriptsdir = $(pkgdatadir)/scripts
# Note that we "chmod 755" manually these files in install-data-hook.

1004
lib/examples/tufte-book.lyx Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1520,6 +1520,14 @@ contributers = [
"22 February 2005",
u"Bug fixes, feedback on LyX behaviour on the Mac, and improvements to DocBook export"),
contributer(u"Jason Waskiewicz",
"jason.waskiewicz () sendit ! nodak ! edu",
"GPL",
"[Fwd: Re: tufte-book layout for LyX]",
"m=125659179116032",
"26 October 2009",
u"Layouts for the Tufte document classes"),
contributer(u"John P. Weiss",
"jpweiss () frontiernet ! net",
"Artistic",

View File

@ -0,0 +1,124 @@
#% 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/24
Format 11
Provides geometry 1
Provides natbib-internal 1
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 Subsubsection
NoStyle Subsubsection*
NoStyle Paragraph
NoStyle Paragraph*
NoStyle Subparagraph
NoStyle Subparagraph*
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 Allcaps
CopyStyle Sidenote
Decoration Conglomerate
LatexName allcaps
LabelString "allcaps"
Font
Misc Noun
EndFont
LabelFont
Color blue
EndFont
End
InsetLayout Newthought
CopyStyle Sidenote
Decoration Conglomerate
LatexName newthought
LabelString "new thought"
Font
Shape SmallCaps
EndFont
LabelFont
Color red
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
Name marginfigure
End
Counter
Name 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