formatafacil-templates 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cdc75b5262c9bb5148583a24caadc79c1b36e747
4
+ data.tar.gz: ad87aa397208913fc0e38c01e673acef99660d1d
5
+ SHA512:
6
+ metadata.gz: 8b12335d7801349b73f1acd7099745898a3def1fb07c0e626b020d89a06c6a205c91b9f530df3da2f6e9b15f11394b0c5b11750ae0e6443b4f31fb0e1ba82e7a
7
+ data.tar.gz: 2d13ccde6d6d3698a1be1c606dda48779d0b07651f865435c1f7c3b4c82aff80d2f87d11d7cfda4bcee074e929e448e4d1217be66200c2eed7e05c4d493f465c
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /abntex2-modelo-artigo.pdf
11
+
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in formatafacil-templates.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,17 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ formatafacil-templates (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (10.4.2)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ bundler (~> 1.8)
16
+ formatafacil-templates!
17
+ rake (~> 10.0)
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Eduardo de Santana Medeiros Alexandre
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Eduardo de Santana Medeiros Alexandre
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Formatafacil::Templates
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/formatafacil/templates`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'formatafacil-templates'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install formatafacil-templates
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it ( https://github.com/[my-github-username]/formatafacil-templates/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "formatafacil/templates"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'formatafacil/templates/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "formatafacil-templates"
8
+ spec.version = Formatafacil::Templates::VERSION
9
+ spec.authors = ["Eduardo de Santana Medeiros Alexandre"]
10
+ spec.email = ["eduardo.ufpb@gmail.com"]
11
+
12
+ spec.summary = %q{Templates of formatafacil}
13
+ spec.description = %q{Templates of formatafacil}
14
+ spec.homepage = "https://github.com/edusantana/formatafacil-templates"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.8"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ end
@@ -0,0 +1,251 @@
1
+ %% abtex2-modelo-artigo.tex, v<VERSION> laurocesar
2
+ %% Copyright 2012-2015 by abnTeX2 group at http://www.abntex.net.br/
3
+ %%
4
+ %% This work may be distributed and/or modified under the
5
+ %% conditions of the LaTeX Project Public License, either version 1.3
6
+ %% of this license or (at your option) any later version.
7
+ %% The latest version of this license is in
8
+ %% http://www.latex-project.org/lppl.txt
9
+ %% and version 1.3 or later is part of all distributions of LaTeX
10
+ %% version 2005/12/01 or later.
11
+ %%
12
+ %% This work has the LPPL maintenance status `maintained'.
13
+ %%
14
+ %% The Current Maintainer of this work is the abnTeX2 team, led
15
+ %% by Lauro César Araujo. Further information are available on
16
+ %% http://www.abntex.net.br/
17
+ %%
18
+ %% This work consists of the files abntex2-modelo-artigo.tex and
19
+ %% abntex2-modelo-references.bib
20
+ %%
21
+
22
+ % ------------------------------------------------------------------------
23
+ % ------------------------------------------------------------------------
24
+ % abnTeX2: Modelo de Artigo Acadêmico em conformidade com
25
+ % ABNT NBR 6022:2003: Informação e documentação - Artigo em publicação
26
+ % periódica científica impressa - Apresentação
27
+ % ------------------------------------------------------------------------
28
+ % ------------------------------------------------------------------------
29
+
30
+ \documentclass[
31
+ % -- opções da classe memoir --
32
+ article, % indica que é um artigo acadêmico
33
+ 11pt, % tamanho da fonte
34
+ oneside, % para impressão apenas no verso. Oposto a twoside
35
+ a4paper, % tamanho do papel.
36
+ % -- opções da classe abntex2 --
37
+ %chapter=TITLE, % títulos de capítulos convertidos em letras maiúsculas
38
+ %section=TITLE, % títulos de seções convertidos em letras maiúsculas
39
+ %subsection=TITLE, % títulos de subseções convertidos em letras maiúsculas
40
+ %subsubsection=TITLE % títulos de subsubseções convertidos em letras maiúsculas
41
+ % -- opções do pacote babel --
42
+ english, % idioma adicional para hifenização
43
+ brazil, % o último idioma é o principal do documento
44
+ sumario=tradicional
45
+ ]{abntex2}
46
+
47
+
48
+ % ---
49
+ % PACOTES
50
+ % ---
51
+
52
+ % ---
53
+ % Pacotes fundamentais
54
+ % ---
55
+ \usepackage{lmodern} % Usa a fonte Latin Modern
56
+ \usepackage[T1]{fontenc} % Selecao de codigos de fonte.
57
+ \usepackage[utf8]{inputenc} % Codificacao do documento (conversão automática dos acentos)
58
+ \usepackage{indentfirst} % Indenta o primeiro parágrafo de cada seção.
59
+ \usepackage{nomencl} % Lista de simbolos
60
+ \usepackage{color} % Controle das cores
61
+ \usepackage{graphicx} % Inclusão de gráficos
62
+ \usepackage{microtype} % para melhorias de justificação
63
+ % ---
64
+
65
+ % ---
66
+ % Pacotes adicionais, usados apenas no âmbito do Modelo Canônico do abnteX2
67
+ % ---
68
+ \usepackage{lipsum} % para geração de dummy text
69
+ % ---
70
+
71
+ % ---
72
+ % Pacotes de citações
73
+ % ---
74
+ \usepackage[brazilian,hyperpageref]{backref} % Paginas com as citações na bibl
75
+ \usepackage[alf]{abntex2cite} % Citações padrão ABNT
76
+ % ---
77
+
78
+ % ---
79
+ % Citacao direta com mais de 3 linhas - ABNT NBR 10520/2002 - 5.3
80
+ % recuo de 4 cm da margem esquerda.
81
+ % Reconfiguração do ambiente `quote` para atender as especificações
82
+ % do ambiente `citacao` de abntex2 (arquivo `abntex2.cls`).
83
+ \renewenvironment*{quote}[1][default]{%
84
+ \list{}%
85
+ \ABNTEXfontereduzida%
86
+ \addtolength{\leftskip}{\ABNTEXcitacaorecuo}%
87
+ \item[]%
88
+ \begin{SingleSpace}%
89
+ \ifthenelse{\not\equal{#1}{default}}{\itshape\selectlanguage{#1}}{}%
90
+ }{%
91
+ \end{SingleSpace}%
92
+ \endlist}%
93
+ % ---
94
+
95
+
96
+
97
+ % ---
98
+ % Configurações do pacote backref
99
+ % Usado sem a opção hyperpageref de backref
100
+ \renewcommand{\backrefpagesname}{Citado na(s) página(s):~}
101
+ % Texto padrão antes do número das páginas
102
+ \renewcommand{\backref}{}
103
+ % Define os textos da citação
104
+ \renewcommand*{\backrefalt}[4]{
105
+ \ifcase #1 %
106
+ Nenhuma citação no texto.%
107
+ \or
108
+ Citado na página #2.%
109
+ \else
110
+ Citado #1 vezes nas páginas #2.%
111
+ \fi}%
112
+ % ---
113
+
114
+ % ---
115
+ % Informações de dados para CAPA e FOLHA DE ROSTO
116
+ % ---
117
+ \titulo{$title$}
118
+ \autor{$author$}
119
+ \local{Brasil} % não é utilizado?
120
+ \data{$date$}
121
+ % ---
122
+
123
+ % ---
124
+ % Configurações de aparência do PDF final
125
+
126
+ % alterando o aspecto da cor azul
127
+ \definecolor{blue}{RGB}{41,5,195}
128
+
129
+ % informações do PDF
130
+ \makeatletter
131
+ \hypersetup{
132
+ %pagebackref=true,
133
+ pdftitle={\@title},
134
+ pdfauthor={\@author},
135
+ pdfsubject={Modelo de artigo científico com abnTeX2},
136
+ pdfcreator={LaTeX with abnTeX2},
137
+ pdfkeywords={abnt}{latex}{abntex}{abntex2}{atigo científico},
138
+ colorlinks=true, % false: boxed links; true: colored links
139
+ linkcolor=blue, % color of internal links
140
+ citecolor=blue, % color of links to bibliography
141
+ filecolor=magenta, % color of file links
142
+ urlcolor=blue,
143
+ bookmarksdepth=4
144
+ }
145
+ \makeatother
146
+ % ---
147
+
148
+ % ---
149
+ % compila o indice
150
+ % ---
151
+ \makeindex
152
+ % ---
153
+
154
+ % ---
155
+ % Altera as margens padrões
156
+ % ---
157
+ \setlrmarginsandblock{3cm}{3cm}{*}
158
+ \setulmarginsandblock{3cm}{3cm}{*}
159
+ \checkandfixthelayout
160
+ % ---
161
+
162
+ % ---
163
+ % Espaçamentos entre linhas e parágrafos
164
+ % ---
165
+
166
+ % O tamanho do parágrafo é dado por:
167
+ \setlength{\parindent}{1.3cm}
168
+
169
+ % Controle do espaçamento entre um parágrafo e outro:
170
+ \setlength{\parskip}{0.2cm} % tente também \onelineskip
171
+
172
+ % Espaçamento simples
173
+ \SingleSpacing
174
+
175
+ % ----
176
+ % Início do documento
177
+ % ----
178
+ \begin{document}
179
+
180
+ % Seleciona o idioma do documento (conforme pacotes do babel)
181
+ %\selectlanguage{english}
182
+ \selectlanguage{brazil}
183
+
184
+ % Retira espaço extra obsoleto entre as frases.
185
+ \frenchspacing
186
+
187
+ % ----------------------------------------------------------
188
+ % ELEMENTOS PRÉ-TEXTUAIS
189
+ % ----------------------------------------------------------
190
+
191
+ % página de titulo
192
+ \maketitle
193
+
194
+ % resumo em português
195
+ \begin{resumoumacoluna}
196
+
197
+ $resumo$
198
+
199
+ \end{resumoumacoluna}
200
+
201
+
202
+ % ] % FIM DE ARTIGO EM DUAS COLUNAS
203
+ % ---
204
+
205
+ % ----------------------------------------------------------
206
+ % ELEMENTOS TEXTUAIS
207
+ % ----------------------------------------------------------
208
+ \textual
209
+
210
+ $body$
211
+
212
+ % ----------------------------------------------------------
213
+ % ELEMENTOS PÓS-TEXTUAIS
214
+ % ----------------------------------------------------------
215
+ \postextual
216
+
217
+ $if(titulo_em_ingles)$
218
+ % titulo em inglês
219
+ \titulo{$titulo_em_ingles$}
220
+ \emptythanks
221
+ \maketitle
222
+ $endif$
223
+
224
+ $if(abstract)$
225
+ % resumo em inglês
226
+ \renewcommand{\resumoname}{Abstract}
227
+ \begin{resumoumacoluna}
228
+ \begin{otherlanguage*}{english}
229
+ $abstract$
230
+ \end{otherlanguage*}
231
+ \end{resumoumacoluna}
232
+ $endif$
233
+
234
+ % ----------------------------------------------------------
235
+ % Referências bibliográficas
236
+ % ----------------------------------------------------------
237
+ %\bibliography{abntex2-modelo-references}
238
+
239
+ $if(bibliografia)$
240
+
241
+ \section*{\hfil Referências\hfil}
242
+
243
+ \setlength{\parskip}{1.5em}
244
+ \begin{flushleft}
245
+ $bibliografia$
246
+ \end{flushleft}
247
+ $endif$
248
+
249
+
250
+
251
+ \end{document}
@@ -0,0 +1,5 @@
1
+ module Formatafacil
2
+ module Templates
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ require "formatafacil/templates/version"
2
+
3
+ module Formatafacil
4
+ module Templates
5
+ # Your code goes here...
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: formatafacil-templates
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Eduardo de Santana Medeiros Alexandre
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Templates of formatafacil
42
+ email:
43
+ - eduardo.ufpb@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - CODE_OF_CONDUCT.md
50
+ - Gemfile
51
+ - Gemfile.lock
52
+ - LICENSE
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
56
+ - bin/console
57
+ - bin/setup
58
+ - formatafacil-templates.gemspec
59
+ - lib/formatafacil/templates.rb
60
+ - lib/formatafacil/templates/artigo-abnt.latex
61
+ - lib/formatafacil/templates/version.rb
62
+ homepage: https://github.com/edusantana/formatafacil-templates
63
+ licenses:
64
+ - MIT
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.4.6
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Templates of formatafacil
86
+ test_files: []