modelos.html
51.6 KB
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
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Modelos</title>
<style type="text/css">
html{font-family: sans-serif;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%}body{margin: 0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display: block}audio,canvas,progress,video{display: inline-block;vertical-align: baseline}audio:not([controls]){display: none;height: 0}[hidden],template{display: none}a{background: transparent}a:active,a:hover{outline: 0}abbr[title]{border-bottom: 1px dotted}b,strong{font-weight: bold}dfn{font-style: italic}h1{font-size: 2em;margin: 0.67em 0}mark{background: #ff0;color: #000}small{font-size: 80%}sub,sup{font-size: 75%;line-height: 0;position: relative;vertical-align: baseline}sup{top: -0.5em}sub{bottom: -0.25em}img{border: 0}svg:not(:root){overflow: hidden}figure{margin: 1em 40px}hr{box-sizing: content-box;height: 0}pre{overflow: auto}code,kbd,pre,samp{font-family: monospace, monospace;font-size: 1em}button,input,optgroup,select,textarea{color: inherit;font: inherit;margin: 0}button{overflow: visible}button,select{text-transform: none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance: button;cursor: pointer}button[disabled],html input[disabled]{cursor: default}button::-moz-focus-inner,input::-moz-focus-inner{border: 0;padding: 0}input{line-height: normal}input[type="checkbox"],input[type="radio"]{box-sizing: border-box;padding: 0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height: auto}input[type="search"]{-webkit-appearance: textfield;box-sizing: content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance: none}fieldset{border: 1px solid #c0c0c0;margin: 0 2px;padding: 0.35em 0.625em 0.75em}legend{border: 0;padding: 0}textarea{overflow: auto}optgroup{font-weight: bold}table{border-collapse: collapse;border-spacing: 0}td,th{padding: 0}*{box-sizing: border-box}input,select,textarea,button{font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"}body{min-width: 1020px;font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";color: #333;background-color: #fff}a{color: #4183c4;text-decoration: none}a:hover,a:active{text-decoration: underline}hr,.rule{height: 0;margin: 15px 0;overflow: hidden;background: transparent;border: 0;border-bottom: 1px solid #ddd}hr:before,.rule:before{display: table;content: ""}hr:after,.rule:after{display: table;clear: both;content: ""}h1,h2,h3,h4,h5,h6{margin-top: 15px;margin-bottom: 15px;line-height: 1.1}h1{font-size: 30px}h2{font-size: 21px}h3{font-size: 16px}h4{font-size: 14px}h5{font-size: 12px}h6{font-size: 11px}small{font-size: 90%}blockquote{margin: 0}.lead{margin-bottom: 30px;font-size: 20px;font-weight: 300;color: #555}.text-muted{color: #999}.text-danger{color: #bd2c00}.text-emphasized{font-weight: bold;color: #333}ul,ol{padding: 0;margin-top: 0;margin-bottom: 0}ol ol,ul ol{list-style-type: lower-roman}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type: lower-alpha}dd{margin-left: 0}tt,code{font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size: 12px}pre{margin-top: 0;margin-bottom: 0;font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace}#realtime .status{overflow: visible;position: absolute;top: -5px;left: 0;background: url("/public/images/github-status.png");width: 26px;height: 26px;display: block;margin: 0 5px 0 0}#realtime .up{background-position: 0 0}#realtime .problem{background-position: 0 -53px}#realtime .down{background-position: 0 -26px}.container{max-width: 920px;margin: 0 auto 20px auto}#header{background: #FAFAFA;background: -moz-linear-gradient(#FAFAFA, #EAEAEA);background: -webkit-linear-gradient(#FAFAFA, #EAEAEA);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#eaeaea')";border-bottom: 1px solid #CACACA;box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4),0 0 10px rgba(0, 0, 0, 0.1)}#markup{padding: 3px}#markup article{padding-top: 30px}.markdown-body{overflow: hidden;font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;font-size: 16px;line-height: 1.6;word-wrap: break-word}.markdown-body>*:first-child{margin-top: 0 !important}.markdown-body>*:last-child{margin-bottom: 0 !important}.markdown-body .absent{color: #c00}.markdown-body .anchor{position: absolute;top: 0;left: 0;display: block;padding-right: 6px;padding-left: 30px;margin-left: -30px}.markdown-body .anchor:focus{outline: none}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{position: relative;margin-top: 1em;margin-bottom: 16px;font-weight: bold;line-height: 1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{display: none;color: #000;vertical-align: middle}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{padding-left: 8px;margin-left: -30px;text-decoration: none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{display: inline-block}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{font-size: inherit}.markdown-body h1{padding-bottom: 0.3em;font-size: 2.25em;line-height: 1.2;border-bottom: 1px solid #eee}.markdown-body h1 .anchor{line-height: 1}.markdown-body h2{padding-bottom: 0.3em;font-size: 1.75em;line-height: 1.225;border-bottom: 1px solid #eee}.markdown-body h2 .anchor{line-height: 1}.markdown-body h3{font-size: 1.5em;line-height: 1.43}.markdown-body h3 .anchor{line-height: 1.2}.markdown-body h4{font-size: 1.25em}.markdown-body h4 .anchor{line-height: 1.2}.markdown-body h5{font-size: 1em}.markdown-body h5 .anchor{line-height: 1.1}.markdown-body h6{font-size: 1em;color: #777}.markdown-body h6 .anchor{line-height: 1.1}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre{margin-top: 0;margin-bottom: 16px}.markdown-body hr{height: 4px;padding: 0;margin: 16px 0;background-color: #e7e7e7;border: 0 none}.markdown-body ul,.markdown-body ol{padding-left: 2em}.markdown-body ul.no-list,.markdown-body ol.no-list{padding: 0;list-style-type: none}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top: 0;margin-bottom: 0}.markdown-body li>p{margin-top: 16px}.markdown-body dl{padding: 0}.markdown-body dl dt{padding: 0;margin-top: 16px;font-size: 1em;font-style: italic;font-weight: bold}.markdown-body dl dd{padding: 0 16px;margin-bottom: 16px}.markdown-body blockquote{padding: 0 15px;color: #777;border-left: 4px solid #ddd}.markdown-body blockquote>:first-child{margin-top: 0}.markdown-body blockquote>:last-child{margin-bottom: 0}.markdown-body table{display: block;width: 100%;overflow: auto;word-break: normal;word-break: keep-all}.markdown-body table th{font-weight: bold}.markdown-body table th,.markdown-body table td{padding: 6px 13px;border: 1px solid #ddd}.markdown-body table tr{background-color: #fff;border-top: 1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color: #f8f8f8}.markdown-body img{max-width: 100%;box-sizing: border-box}.markdown-body span.frame{display: block;overflow: hidden}.markdown-body span.frame>span{display: block;float: left;width: auto;padding: 7px;margin: 13px 0 0;overflow: hidden;border: 1px solid #ddd}.markdown-body span.frame span img{display: block;float: left}.markdown-body span.frame span span{display: block;padding: 5px 0 0;clear: both;color: #333}.markdown-body span.align-center{display: block;overflow: hidden;clear: both}.markdown-body span.align-center>span{display: block;margin: 13px auto 0;overflow: hidden;text-align: center}.markdown-body span.align-center span img{margin: 0 auto;text-align: center}.markdown-body span.align-right{display: block;overflow: hidden;clear: both}.markdown-body span.align-right>span{display: block;margin: 13px 0 0;overflow: hidden;text-align: right}.markdown-body span.align-right span img{margin: 0;text-align: right}.markdown-body span.float-left{display: block;float: left;margin-right: 13px;overflow: hidden}.markdown-body span.float-left span{margin: 13px 0 0}.markdown-body span.float-right{display: block;float: right;margin-left: 13px;overflow: hidden}.markdown-body span.float-right>span{display: block;margin: 13px auto 0;overflow: hidden;text-align: right}.markdown-body code,.markdown-body tt{padding: 0;padding-top: 0.2em;padding-bottom: 0.2em;margin: 0;font-size: 85%;background-color: rgba(0,0,0,0.04);border-radius: 3px}.markdown-body code:before,.markdown-body code:after,.markdown-body tt:before,.markdown-body tt:after{letter-spacing: -0.2em;content: "\00a0"}.markdown-body code br,.markdown-body tt br{display: none}.markdown-body del code{text-decoration: inherit}.markdown-body pre>code{padding: 0;margin: 0;font-size: 100%;word-break: normal;white-space: pre;background: transparent;border: 0}.markdown-body .highlight{margin-bottom: 16px}.markdown-body .highlight pre,.markdown-body pre{padding: 16px;overflow: auto;font-size: 85%;line-height: 1.45;background-color: #f7f7f7;border-radius: 3px}.markdown-body .highlight pre{margin-bottom: 0;word-break: normal}.markdown-body pre{word-wrap: normal}.markdown-body pre code,.markdown-body pre tt{display: inline;max-width: initial;padding: 0;margin: 0;overflow: initial;line-height: inherit;word-wrap: normal;background-color: transparent;border: 0}.markdown-body pre code:before,.markdown-body pre code:after,.markdown-body pre tt:before,.markdown-body pre tt:after{content: normal}.markdown-body kbd{display: inline-block;padding: 3px 5px;font-size: 11px;line-height: 10px;color: #555;vertical-align: middle;background-color: #fcfcfc;border: solid 1px #ccc;border-bottom-color: #bbb;border-radius: 3px;box-shadow: inset 0 -1px 0 #bbb}.codehilite{background: #ffffff}.codehilite .c{color: #999988;font-style: italic}.codehilite .err{color: #a61717;background-color: #e3d2d2}.codehilite .k{color: #000000;font-weight: bold}.codehilite .o{color: #000000;font-weight: bold}.codehilite .cm{color: #999988;font-style: italic}.codehilite .cp{color: #999999;font-weight: bold}.codehilite .c1{color: #999988;font-style: italic}.codehilite .cs{color: #999999;font-weight: bold;font-style: italic}.codehilite .gd{color: #000000;background-color: #ffdddd}.codehilite .gd .x{color: #000000;background-color: #ffaaaa}.codehilite .ge{color: #000000;font-style: italic}.codehilite .gr{color: #aa0000}.codehilite .gh{color: #999999}.codehilite .gi{color: #000000;background-color: #ddffdd}.codehilite .gi .x{color: #000000;background-color: #aaffaa}.codehilite .go{color: #888888}.codehilite .gp{color: #555555}.codehilite .gs{font-weight: bold}.codehilite .gu{color: #aaaaaa}.codehilite .gt{color: #aa0000}.codehilite .kc{color: #000000;font-weight: bold}.codehilite .kd{color: #000000;font-weight: bold}.codehilite .kp{color: #000000;font-weight: bold}.codehilite .kr{color: #000000;font-weight: bold}.codehilite .kt{color: #445588;font-weight: bold}.codehilite .m{color: #009999}.codehilite .s{color: #d14}.codehilite .na{color: #008080}.codehilite .nb{color: #0086B3}.codehilite .nc{color: #445588;font-weight: bold}.codehilite .no{color: #008080}.codehilite .ni{color: #800080}.codehilite .ne{color: #990000;font-weight: bold}.codehilite .nf{color: #990000;font-weight: bold}.codehilite .nn{color: #555555}.codehilite .nt{color: #000080}.codehilite .nv{color: #008080}.codehilite .ow{color: #000000;font-weight: bold}.codehilite .w{color: #bbbbbb}.codehilite .mf{color: #009999}.codehilite .mh{color: #009999}.codehilite .mi{color: #009999}.codehilite .mo{color: #009999}.codehilite .sb{color: #d14}.codehilite .sc{color: #d14}.codehilite .sd{color: #d14}.codehilite .s2{color: #d14}.codehilite .se{color: #d14}.codehilite .sh{color: #d14}.codehilite .si{color: #d14}.codehilite .sx{color: #d14}.codehilite .sr{color: #009926}.codehilite .s1{color: #d14}.codehilite .ss{color: #990073}.codehilite .bp{color: #999999}.codehilite .vc{color: #008080}.codehilite .vg{color: #008080}.codehilite .vi{color: #008080}.codehilite .il{color: #009999}
</style>
<style type="text/css">
.markdown-body hr{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC")}
</style>
</head>
<body>
<div class="container">
<div id="markup">
<article id="content" class="markdown-body">
<h1 id="modelos-latex">Modelos LaTeX</h1>
<div class="toc">
<ul>
<li><a href="#modelos-latex">Modelos LaTeX</a><ul>
<li><a href="#base">Base</a></li>
<li><a href="#exame">Exame</a></li>
<li><a href="#aula">Aula</a></li>
<li><a href="#artigo">Artigo</a><ul>
<li><a href="#bibliografia">Bibliografia</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="base">Base</h2>
<div class="codehilite"><pre><span class="k">\documentclass</span><span class="na">[12pt,a4paper]</span><span class="nb">{</span>article<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% carateres específicos (ç,ã, etc)</span>
<span class="c">%</span>
<span class="k">\usepackage</span><span class="na">[T1]</span><span class="nb">{</span>fontenc<span class="nb">}</span>
<span class="k">\usepackage</span><span class="na">[utf8]</span><span class="nb">{</span>inputenc<span class="nb">}</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>
texto
<span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
</pre></div>
<h2 id="exame">Exame</h2>
<div class="codehilite"><pre><span class="c">% !TeX program = xelatex</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Modelo para um exame com</span>
<span class="c">% 1. comando para a cotação de uma pergunta;</span>
<span class="c">% 2. ambiente para o texto de uma pergunta;</span>
<span class="c">% 3. cabeçalho que identifica</span>
<span class="c">% - a disciplina</span>
<span class="c">% - o departamento</span>
<span class="c">% - a data</span>
<span class="c">% e com o logótipo da universidade;</span>
<span class="c">% 4. margens curtas;</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% A classe "article" faz parte dos "tipos de documentos" base do LaTeX</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\documentclass</span><span class="na">[12pt]</span><span class="nb">{</span>article<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Internacional</span>
<span class="c">%</span>
<span class="c">% Definir a linguagem do documento </span>
<span class="c">%</span>
<span class="k">\usepackage</span><span class="nb">{</span>polyglossia<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Infelizmente, as definições para português estão </span>
<span class="c">% num ficheiro com um erro ortográfico (mesmo no NAO!!!) no nome. Que tormento!</span>
<span class="c">% </span>
<span class="k">\setmainlanguage</span><span class="nb">{</span>portuges<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Expressões Matemáticas</span>
<span class="c">%</span>
<span class="k">\usepackage</span><span class="nb">{</span>amsmath<span class="nb">}</span>
<span class="k">\usepackage</span><span class="nb">{</span>amssymb<span class="nb">}</span>
<span class="k">\usepackage</span><span class="nb">{</span>commath<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Mancha de texto na página</span>
<span class="c">%</span>
<span class="k">\usepackage</span><span class="nb">{</span>geometry<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Alterar os valores de forma ao texto caber todo numa única página</span>
<span class="c">%</span>
<span class="k">\geometry</span><span class="nb">{</span>top=2cm, bottom=1cm, left=1cm, right=1cm<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Comando para colocar a cotação de cada pergunta</span>
<span class="c">%</span>
<span class="k">\newcommand</span><span class="nb">{</span><span class="k">\cotacao</span><span class="nb">}</span>[1]<span class="nb">{</span> <span class="c">% um argumento: o número de valores</span>
<span class="k">\textup</span><span class="nb">{</span> <span class="c">% texto "direito"</span>
<span class="k">\textbf</span><span class="nb">{</span> <span class="c">% texto "negrito"</span>
<span class="c">%</span>
<span class="c">% a seguir...</span>
<span class="c">% - #1 identifica o primeiro argumento do comando</span>
<span class="c">% - ~ força um espaço que não translineia</span>
<span class="c">%</span>
[Cotação~#1~valor(es)]
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="nb">}}}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Ambiente para conter os exercícios</span>
<span class="c">%</span>
<span class="k">\newtheorem</span><span class="nb">{</span>exerc<span class="nb">}{</span>Exercício<span class="nb">}</span>
<span class="k">\newenvironment</span><span class="nb">{</span>exercicio<span class="nb">}</span>
<span class="nb">{</span><span class="k">\begin</span><span class="nb">{</span>exerc<span class="nb">}</span><span class="k">\normalfont</span><span class="nb">}</span>
<span class="nb">{</span><span class="k">\end</span><span class="nb">{</span>exerc<span class="nb">}}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Comando para fazer o cabeçalho</span>
<span class="c">%</span>
<span class="k">\newcommand</span><span class="nb">{</span><span class="k">\CAB</span><span class="nb">}</span>[4]<span class="nb">{</span> <span class="c">% quatro argumentos</span>
<span class="c">%</span>
<span class="c">% Fazer um cabeçalho</span>
<span class="c">%</span>
<span class="c">% tem quatro argumentos:</span>
<span class="c">% - departamento: primeiro argumento</span>
<span class="c">% - disciplina: segundo argumento</span>
<span class="c">% - evento: terceiro argumento</span>
<span class="c">% - data: quarto argumento</span>
<span class="c">%</span>
<span class="c">% e também inclui o logótipo da universidade.</span>
<span class="c">%</span>
<span class="c">% Organizar o cabeçalho: </span>
<span class="c">% - logótipo à esquerda e texto à direita</span>
<span class="c">% - usar uma tabela para posicionar o logótipo e o texto</span>
<span class="c">% - incluir o logótipo a partir de uma imagem</span>
<span class="c">% - separar o texto em linhas</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>tabular<span class="nb">}{</span>cc<span class="nb">}</span> <span class="c">% duas colunas, centradas</span>
<span class="c">%</span>
<span class="c">% colocar o logótipo da universidade na coluna da esquerda</span>
<span class="c">%</span>
<span class="c">% **</span>
<span class="c">% pressupõe que existe o ficheiro "imagens/logo_principal.png"</span>
<span class="c">% **</span>
<span class="c">%</span>
<span class="k">\includegraphics</span><span class="na">[width=0.25\textwidth]</span><span class="nb">{</span>imagens/logo<span class="nb">_</span>principal.png<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% separar as colunas com "&"</span>
<span class="c">%</span>
<span class="nb">&</span>
<span class="c">%</span>
<span class="c">% colocar o texto na coluna da direita</span>
<span class="c">%</span>
<span class="c">% fazer um "bloco" de texto com 70% da largura do texto na página</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>minipage<span class="nb">}{</span>0.7<span class="k">\textwidth</span><span class="nb">}</span>
<span class="c">%</span>
<span class="c">% centrar as linhas no bloco de texto</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>center<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Departamento</span>
<span class="c">%</span>
<span class="nb">{</span><span class="k">\Large\bf</span> #1<span class="nb">}</span><span class="k">\\</span><span class="na">[1.0em]</span>
<span class="c">%</span>
<span class="c">% Disciplina</span>
<span class="c">%</span>
<span class="nb">{</span><span class="k">\large</span> #2<span class="nb">}</span><span class="k">\\</span><span class="na">[1.0em]</span>
<span class="c">%</span>
<span class="c">% Evento e data</span>
<span class="c">%</span>
<span class="nb">{</span><span class="k">\bf</span> #3<span class="nb">}</span> --- <span class="nb">{</span>#4<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>center<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% </span>
<span class="c">%</span>
<span class="k">\end</span><span class="nb">{</span>minipage<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\end</span><span class="nb">{</span>tabular<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% deixar algum espaço abaixo da imagem + texto</span>
<span class="c">%</span>
<span class="k">\\</span><span class="na">[1.0em]</span>
<span class="c">%</span>
<span class="c">% desenhar uma linha separadora</span>
<span class="c">%</span>
<span class="k">\hrule</span>
<span class="c">%</span>
<span class="c">% forçar um espaço abaixo da linha, com "~", para "contar" como um parágrafo</span>
<span class="c">%</span>
~
<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% DOCUMENTO</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% "Preâmbulo"</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Páginas sem numeração e sem cabeçalhos automáticos</span>
<span class="c">%</span>
<span class="k">\pagestyle</span><span class="nb">{</span>empty<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Identificação do documento</span>
<span class="c">%</span>
<span class="k">\CAB</span><span class="nb">{</span>SUBSTITUIR PELO NOME DO DEPARTAMENTO<span class="nb">}</span><span class="c">%</span>
<span class="nb">{</span>SUBSTITUIR PELO NOME DA DISCIPLINA<span class="nb">}</span><span class="c">%</span>
<span class="nb">{</span>SUBSTITUIR PELO NOME DO EVENTO<span class="nb">}</span><span class="c">%</span>
<span class="nb">{</span>SUBSTITUIR PELA DATA DO EVENTO<span class="nb">}</span><span class="c">%</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Exercícios</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>exercicio<span class="nb">}</span><span class="k">\cotacao</span><span class="nb">{</span>SUBSTITUIR PELA COTAÇÃO DESTE EXERCÍCIO<span class="nb">}</span>
SUBSTITUIR PELO TEXTO DESTE ENUNCIADO
<span class="k">\end</span><span class="nb">{</span>exercicio<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>exercicio<span class="nb">}</span>~ <span class="c">% o "~" força um parágrafo. O que acontece se for retirado?</span>
SUBSTITUIR PELO TEXTO DESTE ENUNCIADO
<span class="k">\begin</span><span class="nb">{</span>enumerate<span class="nb">}</span>
<span class="k">\item</span> <span class="k">\cotacao</span><span class="nb">{</span>SUBSTITUIR PELA COTAÇÃO DESTA ALÍNEA<span class="nb">}</span> SUBSTITUIR PELO TEXTO DESTE ENUNCIADO
<span class="k">\item</span> <span class="k">\cotacao</span><span class="nb">{</span>SUBSTITUIR PELA COTAÇÃO DESTA ALÍNEA<span class="nb">}</span> SUBSTITUIR PELO TEXTO DESTE ENUNCIADO
<span class="k">\end</span><span class="nb">{</span>enumerate<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>exercicio<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
</pre></div>
<h2 id="aula">Aula</h2>
<div class="codehilite"><pre><span class="k">\documentclass</span><span class="nb">{</span>beamer<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Aspeto</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Conjunto de cores e outros elementos visuais</span>
<span class="c">%</span>
<span class="c">% Há imensas variantes, incluindo uma para as aulas da universidade de évora</span>
<span class="c">% que está disponível em</span>
<span class="c">% https://git.xdi.uevora.pt/fc/giraldo</span>
<span class="c">%</span>
<span class="c">% Ver também a galeria de temas em</span>
<span class="c">% http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html</span>
<span class="c">%</span>
<span class="k">\usetheme</span><span class="nb">{</span>default<span class="nb">}</span> <span class="c">% Boadilla, Rochester, etc...</span>
<span class="k">\usecolortheme</span><span class="nb">{</span>orchid<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Navegação</span>
<span class="c">%</span>
<span class="k">\setbeamertemplate</span><span class="nb">{</span>navigation symbols<span class="nb">}{}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Internacionalização</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\usepackage</span><span class="na">[T1]</span><span class="nb">{</span>fontenc<span class="nb">}</span>
<span class="k">\usepackage</span><span class="na">[utf8]</span><span class="nb">{</span>inputenc<span class="nb">}</span>
<span class="k">\usepackage</span><span class="na">[portuges]</span><span class="nb">{</span>babel<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Informação para o rosto</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\title</span><span class="nb">{</span>Aula (ou disciplina)<span class="nb">}</span>
<span class="k">\subtitle</span><span class="nb">{</span>Disciplina (ou aula)<span class="nb">}</span>
<span class="k">\author</span><span class="na">[Autor (Nome Curto)]</span><span class="nb">{</span>Nome Completo do Autor<span class="nb">}</span>
<span class="k">\institute</span><span class="na">[Inst. Nome Curto]</span><span class="nb">{</span>
Departamento de ---<span class="k">\\</span>
Escola ---<span class="k">\\</span>
Universidade ---
<span class="nb">}</span>
<span class="k">\date</span><span class="nb">{</span>data (ou <span class="k">\texttt</span><span class="nb">{</span><span class="k">\tbs</span> date<span class="nb">}</span>)<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="c">% Documento</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\newcommand</span><span class="nb">{</span><span class="k">\tbs</span><span class="nb">}{</span><span class="k">\textbackslash</span><span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Rosto</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>frame<span class="nb">}</span>[plain]
<span class="k">\titlepage</span>
<span class="k">\end</span><span class="nb">{</span>frame<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% </span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>frame<span class="nb">}{</span>Título da página<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% Este modelo de página ilustra várias técnicas:</span>
<span class="c">%</span>
<span class="c">% - construção sucessiva do conteúdo da página, com o comando \pause</span>
<span class="c">% - destaque pontual, com o comando \alert</span>
<span class="c">% - destaque "em bloco"</span>
<span class="c">% - divisão da página (ou parte) em colunas</span>
<span class="c">%</span>
<span class="c">%==========================================</span>
<span class="c">%</span>
<span class="c">% A construção sucessiva é controlada pelo comando \pause</span>
<span class="c">%</span>
<span class="k">\pause</span>
Texto na página.
<span class="c">%</span>
<span class="c">%==========================================</span>
<span class="c">%</span>
<span class="c">% Os destaques são definidos pelo comando \alert</span>
<span class="c">%</span>
<span class="k">\pause</span>
Texto <span class="k">\alert</span><span class="nb">{</span>destacado<span class="nb">}</span> com o comando <span class="k">\texttt</span><span class="nb">{</span><span class="k">\tbs</span> alert<span class="nb">}</span>.
<span class="c">%</span>
<span class="c">%==========================================</span>
<span class="c">%</span>
<span class="c">% Os blocos são um ambiente</span>
<span class="c">%</span>
<span class="k">\pause</span>
<span class="k">\begin</span><span class="nb">{</span>block<span class="nb">}{</span>Título do bloco<span class="nb">}</span>
<span class="k">\pause</span>
Texto do bloco
<span class="k">\end</span><span class="nb">{</span>block<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%==========================================</span>
<span class="c">%</span>
<span class="c">% O texto pode ser organizado em colunas</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\pause</span>
<span class="c">%</span>
<span class="c">% Alinhamento das colunas:</span>
<span class="c">% [t] topo</span>
<span class="c">% [c] centro</span>
<span class="c">% [b] base</span>
<span class="c">% </span>
<span class="k">\begin</span><span class="nb">{</span>columns<span class="nb">}</span>[t]
<span class="c">%</span>
<span class="c">% Largura da coluna definida em relação à largura de uma letra.</span>
<span class="c">%</span>
<span class="k">\column</span><span class="nb">{</span>5em<span class="nb">}</span>
Uma coluna ``apertadinha'' com o ambiente <span class="k">\texttt</span><span class="nb">{</span>columns<span class="nb">}</span> e o comando <span class="k">\texttt</span><span class="nb">{</span><span class="k">\tbs</span> column<span class="nb">}</span>.
<span class="k">\pause</span>
<span class="c">%</span>
<span class="c">% Largura da coluna definida em relação à largura da página.</span>
<span class="c">%</span>
<span class="k">\column</span><span class="nb">{</span>0.5<span class="k">\textwidth</span><span class="nb">}</span>
Uma coluna ``folgada''.
A largura das colunas pode ser definida<span class="k">\ldots</span>
<span class="k">\begin</span><span class="nb">{</span>itemize<span class="nb">}</span>
<span class="k">\item</span> em relação à largura da ``página'' usando <span class="k">\texttt</span><span class="nb">{</span><span class="k">\tbs</span> textwidth<span class="nb">}</span>;
<span class="k">\item</span> em relação à largura de um ``<span class="k">\texttt</span><span class="nb">{</span>M<span class="nb">}</span>`` usando <span class="k">\texttt</span><span class="nb">{</span>em<span class="nb">}</span>;
<span class="k">\end</span><span class="nb">{</span>itemize<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>columns<span class="nb">}</span>
<span class="k">\pause</span>
<span class="k">\alert</span><span class="nb">{</span>N.B.<span class="nb">}</span> que também é possível alinhar verticalmente as colunas<span class="k">\ldots</span> <span class="k">\emph</span><span class="nb">{</span>Como?<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>frame<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% </span>
<span class="c">%</span>
<span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
</pre></div>
<h2 id="artigo">Artigo</h2>
<p>Este modelo é acompanhado por uma <a href="#artigobibliografia">bibliografia externa</a>, mais abaixo.</p>
<div class="codehilite"><pre><span class="c">% !TeX program = xelatex</span>
<span class="k">\documentclass</span><span class="na">[a4paper]</span><span class="nb">{</span>article<span class="nb">}</span>
<span class="c">%</span>
<span class="c">% O package graphicx é necessário para o comando \includegraphics</span>
<span class="c">%</span>
<span class="k">\usepackage</span><span class="nb">{</span>graphicx<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\title</span><span class="nb">{</span>A Sample Article<span class="c">%</span>
<span class="k">\thanks</span><span class="nb">{</span>P.K.D., for raising questions.<span class="nb">}</span><span class="k">\\</span>
<span class="k">\emph</span><span class="nb">{</span>With a Fancy Subtitle<span class="nb">}</span>
<span class="nb">}</span>
<span class="k">\author</span><span class="nb">{</span><span class="c">%</span>
Francisco Coelho<span class="k">\\</span>
Departamento de Inform<span class="k">\'</span><span class="nb">{</span>a<span class="nb">}</span>tica<span class="k">\\</span>
<span class="k">\texttt</span><span class="nb">{</span>fc@di.uevora.pt<span class="nb">}</span>
<span class="k">\and</span>
Manuel Gon<span class="k">\c</span><span class="nb">{</span>c<span class="nb">}</span>alves<span class="k">\\</span>
Laboratory of Informatics, Systems and Parallelism (LISP)<span class="k">\\</span>
<span class="k">\texttt</span><span class="nb">{</span>mangon@gmail.com<span class="nb">}</span>
<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\maketitle</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>abstract<span class="nb">}</span>
The problem and the conclusions should be clearly stated here and understood by those working in the general area of this work.
<span class="k">\end</span><span class="nb">{</span>abstract<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
The first sentence of the article should be assertive and engaging.
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\section</span><span class="nb">{</span>Introduction<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Text of the introduction. Outline this work.
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\subsection</span><span class="nb">{</span>Motivation<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Informal problem identification, opportunities <span class="k">\cite</span><span class="nb">{</span>maxwell1881treatise<span class="nb">}</span> and difficulties <span class="k">\cite</span><span class="nb">{</span>einstein1905elektrodynamik, bohr1948penetration<span class="nb">}</span>. Ground your text on solid <span class="k">\cite</span><span class="nb">{</span>hawking1975particle<span class="nb">}</span> previous work. It might be nice to include a picture (see Figure <span class="k">\ref</span><span class="nb">{</span>fig:ovo-estrelado<span class="nb">}</span>).
<span class="c">%</span>
<span class="c">%---------------------------------------------------------------------------------</span>
<span class="c">% Ambiente figure</span>
<span class="c">%</span>
<span class="c">% Posiciona automaticamente o conteúdo (normalmente uma figura com uma legenda) na posição mais adequada.</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>figure<span class="nb">}</span>
<span class="k">\centering</span>
<span class="k">\includegraphics</span><span class="na">[width=0.5\textwidth]</span><span class="nb">{</span>imagens/ovo-estrelado.jpg<span class="nb">}</span>
<span class="k">\caption</span><span class="nb">{</span>Caption of the figure.<span class="nb">}</span>
<span class="k">\label</span><span class="nb">{</span>fig:ovo-estrelado<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>figure<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%---------------------------------------------------------------------------------</span>
<span class="c">%</span>
<span class="k">\subsection</span><span class="nb">{</span>State of the Art<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Report of the state of the art and related <span class="k">\cite</span><span class="nb">{</span>shannon2001mathematical<span class="nb">}</span> work. Make lots of references <span class="k">\cite</span><span class="nb">{</span>turing1952chemical<span class="nb">}</span>.
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\section</span><span class="nb">{</span>Development<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Formal development.
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\subsection</span><span class="nb">{</span>Problem Statement<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Formal problem statement.
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\subsection</span><span class="nb">{</span>Problem Resolution<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Formal problem resolution.
<span class="c">%</span>
<span class="c">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
<span class="c">%</span>
<span class="k">\section</span><span class="nb">{</span>Conclusion<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Critical analysis and synthesis of the work. A table might help in highlighting the conclusions (see Table <span class="k">\ref</span><span class="nb">{</span>tab:relative-performance<span class="nb">}</span>).
<span class="c">%</span>
<span class="c">%---------------------------------------------------------------------------------</span>
<span class="c">% Ambiente table</span>
<span class="c">%</span>
<span class="c">% Posiciona automaticamente o conteúdo (normalmente uma tabela com uma legenda) na posição mais adequada.</span>
<span class="c">%</span>
<span class="k">\begin</span><span class="nb">{</span>table<span class="nb">}</span>
<span class="k">\centering</span>
<span class="k">\caption</span><span class="nb">{</span>Caption of the table. (data source: wikipedia)<span class="nb">}</span>
<span class="k">\begin</span><span class="nb">{</span>tabular<span class="nb">}{</span>r|cc<span class="nb">}</span>
<span class="k">\textbf</span><span class="nb">{</span>Method<span class="nb">}</span> <span class="nb">&</span> <span class="k">\textbf</span><span class="nb">{</span>Best<span class="nb">}</span> <span class="nb">&</span> <span class="k">\textbf</span><span class="nb">{</span>Worst<span class="nb">}</span> <span class="k">\\</span>
<span class="k">\hline</span>
Quick Sort <span class="nb">&</span> <span class="s">\(</span><span class="nb">n </span><span class="nv">\log</span><span class="nb"> n</span><span class="s">\)</span> <span class="nb">&</span> <span class="s">\(</span><span class="nb">n^</span><span class="m">2</span><span class="s">\)</span><span class="k">\\</span>
Merge Sort <span class="nb">&</span> <span class="s">\(</span><span class="nb">n </span><span class="nv">\log</span><span class="nb"> n</span><span class="s">\)</span> <span class="nb">&</span> <span class="s">\(</span><span class="nb">n </span><span class="nv">\log</span><span class="nb"> n</span><span class="s">\)</span><span class="k">\\</span>
<span class="k">\textbf</span><span class="nb">{</span>Our's Sort<span class="nb">}</span> <span class="nb">&</span> <span class="s">\(</span><span class="nv">\log</span><span class="nb"> n</span><span class="s">\)</span> <span class="nb">&</span> <span class="s">\(</span><span class="nb">n</span><span class="s">\)</span><span class="k">\\</span>
<span class="k">\end</span><span class="nb">{</span>tabular<span class="nb">}</span>
<span class="k">\label</span><span class="nb">{</span>tab:relative-performance<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>table<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%---------------------------------------------------------------------------------</span>
<span class="c">%</span>
<span class="k">\subsection</span><span class="nb">{</span>Unsolved Problems<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Limitations of the proposed resolution.
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\subsection</span><span class="nb">{</span>Future Work<span class="nb">}</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
Further development outlook.
<span class="c">%</span>
<span class="c">%</span>
<span class="c">%</span>
<span class="k">\bibliographystyle</span><span class="nb">{</span>plain<span class="nb">}</span>
<span class="k">\bibliography</span><span class="nb">{</span>references<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span>
</pre></div>
<h3 id="bibliografia">Bibliografia</h3>
<p><a name="artigobibliografia"></a></p>
<div class="codehilite"><pre>%% Saved with string encoding Unicode (UTF-8)
@article{hawking1975particle,
Author = {Hawking, Stephen W},
Date-Added = {2015-11-13 10:29:59 +0000},
Date-Modified = {2015-11-13 10:29:59 +0000},
Journal = {Communications in mathematical physics},
Number = {3},
Pages = {199--220},
Publisher = {Springer},
Title = {Particle creation by black holes},
Volume = {43},
Year = {1975}}
@book{bohr1948penetration,
Author = {Bohr, Niels},
Date-Added = {2015-11-13 10:29:17 +0000},
Date-Modified = {2015-11-13 10:29:17 +0000},
Publisher = {I kommission hos E. Munksgaard},
Title = {The penetration of atomic particles through matter},
Volume = {18},
Year = {1948}}
@book{maxwell1881treatise,
Author = {Maxwell, James Clerk},
Date-Added = {2015-11-13 10:28:27 +0000},
Date-Modified = {2015-11-13 10:28:27 +0000},
Publisher = {Clarendon press},
Title = {A treatise on electricity and magnetism},
Volume = {1},
Year = {1881}}
@article{einstein1905elektrodynamik,
Author = {Einstein, Albert},
Date-Added = {2015-11-13 10:27:55 +0000},
Date-Modified = {2015-11-13 10:27:55 +0000},
Journal = {Annalen der physik},
Number = {10},
Pages = {891--921},
Publisher = {Wiley Online Library},
Title = {Zur elektrodynamik bewegter k{\"o}rper},
Volume = {322},
Year = {1905}}
@article{shannon2001mathematical,
Author = {Shannon, Claude Elwood},
Date-Added = {2015-11-13 10:26:17 +0000},
Date-Modified = {2015-11-13 10:26:17 +0000},
Journal = {ACM SIGMOBILE Mobile Computing and Communications Review},
Number = {1},
Pages = {3--55},
Publisher = {ACM},
Title = {A mathematical theory of communication},
Volume = {5},
Year = {2001}}
@article{turing1952chemical,
Author = {Turing, Alan Mathison},
Date-Added = {2015-11-13 10:25:12 +0000},
Date-Modified = {2015-11-13 10:25:12 +0000},
Journal = {Philosophical Transactions of the Royal Society of London B: Biological Sciences},
Number = {641},
Pages = {37--72},
Publisher = {The Royal Society},
Title = {The chemical basis of morphogenesis},
Volume = {237},
Year = {1952}}
</pre></div>
</article>
</div>
</div>
</body>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$', '$$'], ["\\[", "\\]"] ],
processEscapes: true
},
TeX: {
equationNumbers: {
autoNumber: 'AMS'
}
},
"HTML-CSS": {
imageFont: null
}
});
</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/2.1-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
</html>