#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[jlucswthesis]{book (SCUT Thesis)}
# Author :Alwin Tsui <alwintsui@gmail.com>
# v.1.0  Jun 20,2010
# v.1.1  Mar 30,2011
# v.1.2  Jun 12,2015

Format 11
Columns                 1
Sides                   1
PageStyle               Headers
Provides natbib-internal	1
Provides url		1

# Default textclass options. The user may need to modify this.
ClassOptions
	Other                 "unicode"
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

Input stdsections.inc
Input stdinsets.inc
Input numreport.inc


Style Chapter
        Align                 Center
        AlignPossible         Block, Center, Left
        Font
          Series              Medium
          Shape               Smallcaps
          Size                Large
        EndFont
End

Style Section
	Align                 Left
	AlignPossible         Block, Center, Left
	Font
	  Series              Medium
	  Shape               Smallcaps
	  Size                Large
	EndFont
End


Style Subsection
	Font
	  Series              Bold
	  Size                Normal
	EndFont
End

Style Subsubsection
	Font
	  Shape               Italic
	  Size                Normal
	EndFont
End


Style Paragraph
	TopSep                0.7
	ParSep                0.4
	Font
	  Shape               Italic
	  Size                Normal
	EndFont
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

#NoStyle         Chapter*
NoStyle         Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc

Style Institue
	Margin                Static
	LatexType             Command
	Category              FrontMatter
	InTitle               1
	LatexName             institute
	LabelSep              xxx
	ParSkip               0.4
	TopSep                1.3
	BottomSep             0.7
	ParSep                0.7
	Align                 Center
	LabelType             No_Label
	Font
	  Size                Large
	EndFont
End

Style Supervisor
 	CopyStyle	     Author
        LatexName             supervisor
End

NoStyle         Abstract
NoStyle         Keywords

Style AbstractCN
	Margin                Static
	LatexType             Environment
	LatexName             abstractCN
	Category              FrontMatter
	InTitle               0
	NextNoIndent          1
	LeftMargin            MMM
	RightMargin           MMM
	ParIndent             MM
	ItemSep               0.2
	ParSep                0.3
	TopSep                0.7
	BottomSep             0.7
	Align                 Block
	LabelType             Centered
	LabelString           "摘 要"
	LabelBottomSep        0.5
	Font
	  Size                Small
	EndFont
	LabelFont
	  Series              Bold
	  Size                Large
	EndFont
	HTMLLabelFirst        1
	HTMLForceCSS          1
	HTMLStyle
		div.abstract {
			margin: 4ex;
		}
		div.abstract_item {
			font-size: small;
			padding-top: 1ex;
		}
		div.abstract_label {
			font-weight: bold;
		}
	EndHTMLStyle
End

Style AbstractEN
        CopyStyle	     AbstractCN
        LatexName             abstractEN
        LabelString           "Abstract"
End

Style KeywordsCN
	Margin		First_Dynamic
	LatexType	Command
	LatexName	keywordsCN
	Category	FrontMatter
	InTitle               0
	NextNoIndent	0
	ParIndent	MM
	LabelSep	xx
	ItemSep		0
	TopSep		0.7
	BottomSep	0.7
	ParSep		0
	Align		Block
	AlignPossible	Block, Left
	LabelType	Static
	LabelString	"关键词:"
	LabelFont
	  Series	Bold
	EndFont
End

Style KeywordsEN
        CopyStyle	     KeywordsCN
        LatexName             keywordsEN
        LabelString           "Keywords:"
End


Style Chapterx
        CopyStyle	     Chapter*
        LatexName             chapterx
End

Style Abstractx
	Margin                Static
	LatexType             Command
	Category              Unnumbered
	InTitle               1
	LatexName             abstractx
	LabelSep              xxx
	ParSkip               0.4
	TopSep                1.3
	BottomSep             0.7
	ParSep                0.7
	Align                 Center
	LabelType             No_Label
	Font
	  Size                Large
	EndFont
End

Style Appendix
	CopyStyle	      Chapter*
#	LabelString	      "Appendix"
	LatexName		appendix
	Category		BackMatter
End


Input stdfloats.inc
Input stdcounters.inc


Counter example
End
Style Example
        CopyStyle             Definition
	LatexName             example
	LabelCounter          example
	LabelString           "Example \theexample."
End

Counter remark
End
Style Remark
        CopyStyle             Definition
	LatexName             remark
	LabelCounter          remark
	LabelString           "Remark \theremark."
End

Counter notation
End
Style Notation
        CopyStyle             Definition
	LatexName             notation
	LabelCounter          notation
	LabelString           "Notation \thenotation."
End

Counter theorem
End
Style Theorem
	LatexType             Environment
	LatexName             theorem
	Margin                First_Dynamic
	TopSep                0.6
	BottomSep             0.6
	Align                 Block
	NextNoIndent          1
	LabelType             Counter
	LabelCounter          theorem
	LabelString           "Theorem \thetheorem."
	LabelSep              M
	LabelFont
	  Series              Bold
	  Shape               Up
	EndFont
	TextFont
	  Shape               Italic
	EndFont
End

Style Proof
	LatexType             Environment
	LatexName             proof
	Margin                First_Dynamic
	TopSep                0.6
	BottomSep             0.6
	Align                 Block
	LabelType             Static
	LabelString           "Proof."
	LabelSep              M
	LabelFont
	  Series              Bold
	EndFont
	EndLabelType          Box
End