#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[abnt]{abnTeX - Absurdas Normas para TeX}

#   Licence: LPPL (LaTeX Project Public License)
#     You can change this file in the terms of LPPL
#     (http://www.latex-project.org/lppl.html)
# 
#   Licenca: LPPL (LaTeX Project Public License)
#     Esta licenca diz basicamente que se voce editar o codigo desta
#     classe, mesmo localmente (no seu micro), voce DEVE RENOMEAR o arquivo
#     da classe!! Como sempre, nao eh dada nenhuma garantia.
#     Para o texto completo da licenca, favor seguir o endereco
#        http://www.latex-project.org/lppl.html
#
#
# abnTeX textclass definition file
# Author: Flavio de Vasconcellos Correa
# Version: 0.2.1 cooker build 20050209

#####################################################
#
# Elementos comuns a layouts do LyX
#
#####################################################

Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
Input stdtitle.inc
Input stdstruct.inc
Input lyxmacros.inc
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc
Input obsolete.inc

#####################################################
#
# Parametros globais da classe
#
#####################################################

Columns			1
Sides				1
SecNumDepth		3
TocDepth			3
DefaultStyle	Standard

DefaultFont
  Family			Roman
  Series			Medium
  Shape			Up
  Size			Normal
  Color			None
EndFont

Style Standard
  Margin  			Static
  LatexType 		Paragraph
  LatexName 		dummy
  ParIndent			MM
  ParSkip 			0.4
  Align 				Block
  AlignPossible 	Block, Left, Right, Center
  LabelType 		No_Label
End


#####################################################
#
# Comandos pre-textuais
#
#####################################################

Style Autor
	LatexType	Command
	LatexName	autor
	Margin		Static
	Font
		Series	Bold
		# Color	Blue
	EndFont
	Align		Left
	AlignPossible	Left
	BottomSep	1.4
	LabelType	Top_Environment
	LabelString	"Autor :"
End

Style Titulo
	LatexType	Command
	LatexName	titulo
	Margin		Dynamic
	Font
		Series	Bold
		Size		Large
	EndFont
	Align		Center
	AlignPossible	Center
	BottomSep	1.4
End

Style Orientador
	LatexType	Command
	LatexName	orientador
	Margin		Static
	Font
		Series	Bold
	EndFont
	Align		Left
	AlignPossible	Left
	BottomSep	1.4
	LabelType	Top_Environment
	LabelString	"Orientador :"
	LabelBottomSep   0.3
	LabelFont
		Series	Bold
	EndFont
End

Style Orientadora
	CopyStyle	Orientador
	LatexParam	[Orientadora]
	LabelString	"Orientadora(s) :"
End

Style Orientadores
	CopyStyle	Orientador
	LatexParam	[Orientadores]
	LabelString	"Orientadores :"
End

Style Co-Orientador
	CopyStyle	Orientador
	LatexName	coorientador
	LabelString	"Co-orientador :"
End

Style Co-Orientadora
	CopyStyle	Co-Orientador
	LatexParam	[Co-Orientadora]
	LabelString	"Co-orientadora :"
End

Style Co-Orientadores
	CopyStyle	Co-Orientador
	LatexParam	[Co-Orientadores]
	LabelString	"Co-orientadores :"
End

Style Comentario
	LatexType	Command
	LatexName	comentario
	Margin		Dynamic
	LeftMargin	MMM
	RightMargin	MMM
	Align		Block
	AlignPossible	Block
	LabelString	"Comentario"
	LabelType	Centered_Top_Environment
	Font
		Size	Small
	EndFont
End

Style Instituicao
	LatexType	Command
	LatexName	local
	Align		Left
	AlignPossible	Left
	Font
		Series	Bold
	EndFont
	BottomSep	1.4
	LabelString	"Instituicao :"
	LabelType	Top_Environment
End

Style Local
	LatexType	Command
	LatexName	local
	Align		Left
	AlignPossible	Left
	Font
		Series	Bold
	EndFont
	BottomSep	1.4
	LabelString	"Local :"
	LabelType	Top_Environment
End

Style Data
	LatexType	Command
	LatexName	data
	Align			Left
	AlignPossible	Left
	Font
		Series	Bold
	EndFont
	BottomSep	1.4
	LabelString	"Data :"
	LabelType	Top_Environment
End

#####################################################
#
# Elementos pré-textuais
#
#####################################################

Style Folha_de_Aprovacao
	LatexType	Environment
	LatexName	folhadeaprovacao
End

Style Assinatura
	LatexType	Command
	LatexName	assinatura*
	Margin		Static
	Align		Left
	AlignPossible	Left, Center
	LabelFont
		Series	Bold
	EndFont
	LabelString	"Assinatura :"
	LabelType	Static
End

Style Capitulo_Pre-Textual
	Margin		Dynamic
	LatexType	Command
	LatexName	pretextualchapter
	NeedProtect	1
	NextNoIndent	0
	LabelSep	xxx
	ParSkip		0.4
	TopSep		1.3
	BottomSep	0.7
	ParSep		0.7
	Align		Block
	AlignPossible	Block, Left
	LabelType	Static
	LabelString	"Capitulo pre-textual: "

	LabelFont
		Series	Bold
	EndFont
End

#####################################################
#
# Resumo e Abstract
#
#####################################################

Style Resumo
	CopyStyle Abstract
	LabelString	"Resumo"
	LatexName "resumo"
End

#####################################################
#
# Espacamentos
#
#####################################################

Style Espaco_Simples
	LatexType	Environment
	LatexName	espacosimples
	Spacing		single
	ParSkip		1
	ParSep		1.2
	BottomSep	1.3
End

Style Espaco_1_1/2
	LatexType	Environment
	LatexName	espacoumemeio
	Spacing		onehalf
	ParSkip		1.35
	ParSep		1.2
	BottomSep	1.3
End

Style Espaco_Duplo
	LatexType	Environment
	LatexName	espacoduplo
	Spacing		double
	ParSkip		1.7
	ParSep		1.2
	BottomSep	1.3
End

#####################################################
#
# Citacoes
#
#####################################################

Style Citacao
	LatexType	Environment
	LatexName	citacao
	LeftMargin	MMMMMMMMMMMMMMM
	Align		Right
	AlignPossible	Block, Right
	BottomSep	2
	TopSep		2

	Font
		Size	Small
	EndFont
End

#####################################################
#
# Capitulos, Secoes e Paragrafos
#
#####################################################

Style Capitulo
	CopyStyle Chapter
	LabelString "Capitulo "
End

Style Secao
	CopyStyle Section
	LabelString "Secao "
End

Style Subsecao
	CopyStyle Subsection
	LabelString "Subsecao "
End

Style Subsubsecao
	CopyStyle SubsubSection
	LabelString "Subsecao "
End

Style Paragrafo
	CopyStyle Paragraph*
End

Style Subparagrafo
	CopyStyle Subparagraph*
End


#####################################################
#
# Capitulos e Secoes nao numeradas
#
#####################################################

Style Capitulo*
	CopyStyle Chapter*
End

Style Secao*
	CopyStyle Section*
End

Style SubSecao*
	CopyStyle Subsection*
End

Style SubSubSecao*
	CopyStyle Subsubsection*
End

#####################################################
#
# Listas
#
#####################################################

Style Items
	CopyStyle Itemize
End

Style Enumerado
	CopyStyle Enumerate
End

Style Descricao
	CopyStyle Description
End

Style Lista
	CopyStyle List
End

#####################################################
#
# Removendo os estilos nao padrao abnt
#
#####################################################

NoStyle Bibliography

NoStyle Title
NoStyle Author
NoStyle Date
NoStyle Chapter
NoStyle Part
NoStyle Section
NoStyle Subsection
NoStyle Subsubsection

NoStyle Paragraph
NoStyle Subparagraph

#NoStyle LyX-Code
NoStyle Comment
NoStyle Address
NoStyle Right_Address
NoStyle Verse
#NoStyle Caption

NoStyle Itemize
NoStyle List
NoStyle Description
NoStyle Enumerate
NoStyle Quote
NoStyle Quotation

NoStyle Chapter*
NoStyle Paragraph*
NoStyle Subparagraph*
NoStyle Part*
NoStyle Section*
NoStyle Subsection*
NoStyle Subsubsection*
