-
Notifications
You must be signed in to change notification settings - Fork 0
/
tcc.layout
488 lines (451 loc) · 10.2 KB
/
tcc.layout
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[tcc,report]{FACIN-TCC}
#---------------------------------------------------------------------
# Copyright (C) 2012 Ricardo Piccoli <rfbpiccoli at gmail dot com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#---------------------------------------------------------------------
# LyX layout for tcc.cls
# Created in 11/26/2013 by Ricardo Piccoli <rfbpiccoli at gmail dot com>
# for the pucrs-ppgcc.cls document class.
# Adapted in Apr 2015 by Marcelo Cohen <marcelo dot cohen at pucrs dot br>
# for the tcc.cls document class.
#---------------------------------------------------------------------
Format 35
Input stdclass.inc
Input numreport.inc
OutputType latex
NoStyle Title
NoStyle Abstract
NoStyle Author
NoStyle Date
NoStyle Address
NoStyle Right_Address
NoStyle Part*
NoStyle Chapter*
NoStyle Section*
NoStyle Subsection*
NoStyle Subsubsection*
NoStyle Paragraph*
NoStyle Subparagraph*
Provides fontenc 1
Provides pagestyle 1
Provides inputenc 1
Provides hyperref 1
Provides float 1
Provides indentfirst 1
Provides setspace 1
Provides textcase 1
Provides amsmath 1
Provides amssymb 1
Provides amsfonts 1
Provides url 1
Provides xcolor 1
Provides array 1
Provides textcomp 1
Provides babel 1
Provides geometry 1
Provides helvet 1
ClassOptions
FontSize "12"
Other "portuguese,twoside"
#english
#oneside
#PageStyle headings
End
#PageStyle headings
Columns 1
#Preamble
#AddToPreamble
#EndPreamble
# A classe já sabe colocar a capa automaticamente,
# por isso programamos o LyX para não fazer nada.
TitleLatexName "relax"
TitleLatexType CommandAfter
# TODO
#CiteFormat
# xxx
#End
DefaultFont
Family Sans
Series Medium
Shape Up
Size normal
Color none
EndFont
DefaultStyle Standard
Float
Type algorithm
GuiName Algorithm
Placement htbp
Extension loa
NumberWithin none
Style ruled
ListName "List of Algorithms"
ListCommand "listofalgorithms"
IsPredefined 1
UsesFloatPkg 0
RefPrefix alg
End
# XXX Copiado do arquivo layouts/stdclass.inc do LyX.
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
Parskip 0
ParSep 0.4
LeftMargin MM
RightMargin MM
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
# FIXME This ought to be set dynamically.
HTMLStyle
div.standard {
margin-bottom: 2ex;
}
EndHTMLStyle
End
Style Autor
CopyStyle "Author"
Align Center
LatexType Command
LatexName "author"
Category "Capa"
InPreamble 1
Spellcheck 0
TopSep 1.2
Spacing single
TextFont
Family Sans
Shape SmallCaps
Size Largest
EndFont
End
Style Título_em_português
Align center
Category "Capa"
LatexType Command
LatexName "xdef\LyXTitle"
InPreamble 1
LabelType No_Label
Spacing single
TopSep 1.2
TextFont
Family Sans
Color black
Series Bold
Shape Up
Size huge
EndFont
LabelFont
Family Sans
Color red
Shape Italic
Series Bold
Size huge
EndFont
End
Style Título_em_inglês
CopyStyle "Título_em_português"
LabelString "Título em inglês:"
LatexName "expandafter\title\expandafter{\LyXTitle}"
End
Style Tipo_de_trabalho
Align Left
Margin First_Dynamic
LatexType Command
LatexName "LyXTType"
InPreamble 1
Spellcheck 0
LabelString "Tipo de trabalho:"
LabelType Static
Labelsep M
TopSep 1.2
LabelFont
Series Bold
Size normal
Color red
EndFont
End
Style Curso
Align Left
Margin First_Dynamic
LatexType Command
LatexName "LyXCurso"
InPreamble 1
Spellcheck 0
LabelString "Curso: "
LabelType Static
LabelSep M
LabelFont
Series Bold
Size normal
Color red
EndFont
End
#InsetLayout "Flex:Tipo: Monografia"
# LyxType custom
# Decoration Classic
# LatexType Command
# LatexName "LyXMono"
# InPreamble 1
# Spellcheck 0
# LabelString "Tipo: Monografia"
# Labelsep MM
# LabelIndent M
# KeepEmpty 1
#End
Style Grau_almejado
CopyStyle Tipo_de_trabalho
LabelString "Grau almejado:"
LatexName "LyXDegree"
End
#InsetLayout "Flex:Grau: Bacharel"
# LyxType custom
# Decoration Classic
# LatexType Command
# LatexName "LyXBachelor"
# InPreamble 1
# Spellcheck 0
# LabelString "Grau: Bacharel"
# Labelsep MM
# LabelIndent MMMM
# KeepEmpty 1
#End
Style Orientador
Align Left
Margin First_Dynamic
Category "Capa"
LatexType Command
LatexName "orientador"
LabelType Static
LabelString "Orientador:"
Labelsep M
InPreamble 1
TopSep 1.2
Spacing single
TextFont
Family Sans
Color black
Series Italic
Shape Up
Size large
EndFont
LabelFont
Family Sans
Color red
Shape Up
Series Bold
Size large
EndFont
End
Style Co-orientador
CopyStyle Orientador
LatexName "coorientador"
LabelString "Co-orientador:"
End
Style Dedicatória
Align Right
Margin First_Dynamic
Category "Elementos Pré-Textuais"
LatexType Command
LatexName "dedicatoria"
LabelType Static
LabelString "Dedicatória:"
Labelsep M
TopSep 1.2
Spacing single
TextFont
Family Sans
Shape Italic
Size large
EndFont
LabelFont
Family Sans
Color black
Series Bold
Size large
EndFont
End
# TODO
#Style Dedicatória_e_epígrafre
# CopyStyle Dedicatória
# LatexName "xdef\LyXDedicate"
#End
Style Epígrafe
Align Right
Category "Elementos Pré-Textuais"
LatexName "xdef\LyXQuote"
LatexType Command
LabelType Static
LabelString "Epígrafe:"
Labelsep M
Spacing single
TopSep 1.2
TextFont
Family Sans
Shape Italic
Size large
EndFont
LabelFont
Family Sans
Color black
Series Bold
Size large
EndFont
End
Style Autor_da_epígrafe
Align Right
Category "Elementos Pré-Textuais"
LatexName "expandafter\epigrafe\expandafter{\LyXQuote}"
LabelType Static
LabelString "Autor da epígrafe:"
Labelsep M
LatexType Command
Spacing single
TopSep 1.2
TextFont
Family Sans
Size large
EndFont
LabelFont
Family Sans
Color black
Series Bold
Size large
EndFont
End
Style Agradecimentos
Margin Static
Align Block
Category "Elementos Pré-Textuais"
LatexName "agradecimentos"
LatexType Environment
LabelType Centered_Top_Environment
LabelString "Agradecimentos"
LeftMargin MMMMMMMMMMMM
RightMargin MMMMMMMMMMMM
Parsep 0.3
TopSep 1.2
LabelFont
Series Bold
Size huge
EndFont
Spacing single
End
Style Resumo
Margin Static
Align Block
Category "Elementos Pré-Textuais"
LatexName "resumo"
RequiredArgs 1
LatexType Environment
Spacing single
LabelType Centered_Top_Environment
TopSep 1.2
LeftMargin MMMMMMMMMMMM
RightMargin MMMMMMMMMMMM
Parsep 0.3
LabelString "Resumo"
LabelFont
Series Bold
Size huge
EndFont
End
Style Abstract
CopyStyle Resumo
LatexName "abstract"
LabelString "Resumo (abstract)"
End
Style Sigla
Margin First_Dynamic
Category "Entradas em listas"
LatexName "sigla"
LatexType Command
Align Block
Spellcheck 0
RequiredArgs 1
LabelType Static
Spacing single
LabelString "Sigla:"
Labelsep M
TopSep 1.2
BottomSep 1.2
LabelFont
Series Bold
Size large
Color red
EndFont
TextFont
Shape Italic
Size large
EndFont
End
Style Abreviatura
CopyStyle Sigla
LatexName "abrev"
LabelString "Abreviatura:"
End
Style Símbolo
CopyStyle Sigla
LatexName "simbolo"
LabelString "Símbolo:"
End
Style Citação_direta
Category "Elementos Textuais"
LatexType Environment
LatexName "directcite"
LeftMargin MMMMMMMM
Margin Static
Align Block
Spacing single
TopSep 1.2
BottomSep 1.2
TextFont
Size small
EndFont
End
Style Bibliography
TopSep 4
Category "Elementos Pós-Textuais"
LabelString "Bibliography"
LabelFont
Series Bold
Size Huge
EndFont
End
Counter anexo
LabelString "\Alph{anexo}"
LabelStringAppendix "\Alph{anexo}"
PrettyFormat "Anexo \Alph{anexo}"
Within ""
End
Style Anexo
CopyStyle Chapter
Margin First_Dynamic
Align Block
LabelType Counter
Category "Elementos Pós-Textuais"
LabelString "Anexo \theanexo:"
LabelStringAppendix "Anexo \theanexo:"
LabelCounter anexo
Labelsep M
TocLevel 0
End
# vim:foldmethod=indent:textwidth=10000