From a2bd06ce8f5104aae9171cfe3490a9496b4c2b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Mon, 5 Feb 2024 12:01:49 -0300 Subject: [PATCH] Initial commit --- .gitignore | 301 +++++++++++++++++++++++++++++++++++++++++++++++ main.tex | 31 +++++ template/sbc.sty | 164 ++++++++++++++++++++++++++ 3 files changed, 496 insertions(+) create mode 100644 .gitignore create mode 100644 main.tex create mode 100644 template/sbc.sty diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a5ad18 --- /dev/null +++ b/.gitignore @@ -0,0 +1,301 @@ +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* +# these rules might exclude image files for figures etc. +# *.ps +# *.eps +# *.pdf + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex(busy) +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Build tool directories for auxiliary files +# latexrun +latex.out/ + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.pre +*.snm +*.vrb + +# changes +*.soc + +# comment +*.cut + +# cprotect +*.cpt + +# elsarticle (documentclass of Elsevier journals) +*.spl + +# endnotes +*.ent + +# fixme +*.lox + +# feynmf/feynmp +*.mf +*.mp +*.t[1-9] +*.t[1-9][0-9] +*.tfm + +#(r)(e)ledmac/(r)(e)ledpar +*.end +*.?end +*.[1-9] +*.[1-9][0-9] +*.[1-9][0-9][0-9] +*.[1-9]R +*.[1-9][0-9]R +*.[1-9][0-9][0-9]R +*.eledsec[1-9] +*.eledsec[1-9]R +*.eledsec[1-9][0-9] +*.eledsec[1-9][0-9]R +*.eledsec[1-9][0-9][0-9] +*.eledsec[1-9][0-9][0-9]R + +# glossaries +*.acn +*.acr +*.glg +*.glo +*.gls +*.glsdefs +*.lzo +*.lzs +*.slg +*.slo +*.sls + +# uncomment this for glossaries-extra (will ignore makeindex's style files!) +# *.ist + +# gnuplot +*.gnuplot +*.table + +# gnuplottex +*-gnuplottex-* + +# gregoriotex +*.gaux +*.glog +*.gtex + +# htlatex +*.4ct +*.4tc +*.idv +*.lg +*.trc +*.xref + +# hyperref +*.brf + +# knitr +*-concordance.tex +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz +*-tikzDictionary + +# listings +*.lol + +# luatexja-ruby +*.ltjruby + +# makeidx +*.idx +*.ilg +*.ind + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc[0-9]* +*.slf[0-9]* +*.slt[0-9]* +*.stc[0-9]* + +# minted +_minted* +*.pyg + +# morewrites +*.mw + +# newpax +*.newpax + +# nomencl +*.nlg +*.nlo +*.nls + +# pax +*.pax + +# pdfpcnotes +*.pdfpc + +# sagetex +*.sagetex.sage +*.sagetex.py +*.sagetex.scmd + +# scrwfile +*.wrt + +# svg +svg-inkscape/ + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# pythontex +*.pytxcode +pythontex-files-*/ + +# tcolorbox +*.listing + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# titletoc +*.ptc + +# todonotes +*.tdo + +# vhistory +*.hst +*.ver + +# easy-todo +*.lod + +# xcolor +*.xcp + +# xmpincl +*.xmpi + +# xindy +*.xdy + +# xypic precompiled matrices and outlines +*.xyc +*.xyd + +# endfloat +*.ttt +*.fff + +# Latexian +TSWLatexianTemp* + +## Editors: +# WinEdt +*.bak +*.sav + +# Texpad +.texpadtmp + +# LyX +*.lyx~ + +# Kile +*.backup + +# gummi +.*.swp + +# KBibTeX +*~[0-9]* + +# TeXnicCenter +*.tps + +# auto folder when using emacs and auctex +./auto/* +*.el + +# expex forward references with \gathertags +*-tags.tex + +# standalone packages +*.sta + +# Makeindex log files +*.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib \ No newline at end of file diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..01922b7 --- /dev/null +++ b/main.tex @@ -0,0 +1,31 @@ +\documentclass[12pt]{article} + +\usepackage{template/sbc} +\usepackage{graphicx,url} +\usepackage[brazil]{babel} + +\sloppy + +\title{IF Salas – Uma plataforma de ensino de código aberto para o IFMG} + +\author{Leonardo A. Murça\inst{1}, Carlos A. S. Junior\inst{1}} + +\address{ + Instituto Federal de Educação, Ciência e Tecnologia de Minas Gerais (IFMG) \\ + Campus Sabará | 34.590|390 – Sabará – MG – Brasil + \email{leo@leomurca.xyz, carlos.junior@ifmg.edu.br} +} + +\begin{document} + +\maketitle + +\begin{abstract} + This meta-paper describes the style to be used in articles and short papers + for SBC conferences. For papers in English, you should add just an abstract + while for the papers in Portuguese, we also ask for an abstract in + Portuguese (``resumo''). In both cases, abstracts should not have more than + 10 lines and must be in the first page of the paper. +\end{abstract} + +\end{document} diff --git a/template/sbc.sty b/template/sbc.sty new file mode 100644 index 0000000..7ac166b --- /dev/null +++ b/template/sbc.sty @@ -0,0 +1,164 @@ +% LaTeX definitions for SBC 2001 style +% +% Created by Jomi Hubner & Rafael Bordini, june 2001 +% updated march 2005 + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{sbc-template}[2001/06/09] + +% margem sup 3.5 cm: h? 1,5 cm para header, + 2 cm para top +% margem inf 2.5 cm: h? 1,5 cm para foot, + 1 cm para bottom +% margem esq/dir 3 cm +\RequirePackage[a4paper,top=3.5cm,left=3cm,right=3cm,bottom=2.5cm]{geometry} + +\parindent 1.27cm +\parskip 6pt + +\flushbottom + +% captions +\RequirePackage[bf,sf,footnotesize,indent]{caption2} +\setlength{\captionmargin}{0.8cm} +\renewcommand{\captionfont}{\sffamily\footnotesize\bfseries} +\renewcommand{\captionlabeldelim}{.} + +% font +\RequirePackage{times} + +\renewcommand{\normalsize}{\@setfontsize\normalsize\@xiipt\@xivpt} +\newcommand{\XIIIPT}{\@setfontsize\xiiipt{13}{17}} +\newcommand{\XVIPT}{\@setfontsize\xvipt{16}{20}} + +% new commands +\newcounter{instn} +\setcounter{instn}{1} +\newcommand{\instnum}{\arabic{instn}} +\newcommand{\inst}[1]{\ensuremath{^{#1}}} +\newcommand{\nextinstitute}{\\\mbox{}\\[-6pt] \addtocounter{instn}{1}\inst{\instnum}} +\newcommand{\email}[1]{\\\mbox{}\\[-6pt]\footnotesize\texttt{#1}} +\renewcommand{\and}{, } + +% to avoid [...] in the bibliography +% \item[] instead of \item[\@biblabel{#1}\hfill] +\def\@lbibitem[#1]#2{\item[]\if@filesw + {\let\protect\noexpand + \immediate + \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces} +\renewenvironment{thebibliography}[1] + {\section*{\refname + \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + %% changed! + \itemindent -\leftmargin + \itemsep 6pt + %%%%%%%%%%% + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} + + +% itens +\setlength\leftmargini {1.27cm} +\setlength\leftmargin {\leftmargini} +\setlength\leftmarginii {\leftmargini} +\setlength\leftmarginiii {\leftmargini} +\setlength\leftmarginiv {\leftmargini} +\setlength \labelsep {.5em} +\setlength \labelwidth {\leftmargini} +\addtolength\labelwidth {-\labelsep} +\def\@listI{\leftmargin\leftmargini + \parsep 0\p@ \@plus1\p@ \@minus\p@ + \topsep 0\p@ \@plus2\p@ \@minus4\p@ + \itemsep0\p@} +\let\@listi\@listI +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus2\p@ \@minus\p@} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 0\p@ \@plus\p@\@minus\p@ + \parsep \z@ + \partopsep \p@ \@plus\z@ \@minus\p@} + + +% sections +\renewcommand\section{\@startsection{section}{1}{\z@}% + {-6\p@ \@plus -4\p@ \@minus -4\p@}% + {0\p@ \@plus 4\p@ \@minus 4\p@}% + {\normalfont\XIIIPT\bfseries\boldmath + \rightskip=\z@ \@plus 8em\pretolerance=10000 }} + +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% + {-6\p@ \@plus -4\p@ \@minus -4\p@}% + {0\p@ \@plus 4\p@ \@minus 4\p@}% + {\normalfont\normalsize\bfseries\boldmath + \rightskip=\z@ \@plus 8em\pretolerance=10000 }} + +%\renewcommand{\thesection}{\arabic{section}.} +%\renewcommand{\thesubsection}{\thesection\arabic{subsection}.} +%\renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.} + +\RequirePackage{titlesec} +\titlelabel{\thetitle.\hspace{1ex}} + +% first page + +\pagestyle{empty} + +\newcommand{\authortag}[1]{$^{#1}$} + +\def\address#1{\gdef\@address{#1}} + +\def\@maketitle{\newpage + %\null % isso dava um espaco extra antes do title + \begin{center} + %\vglue -6pt +% \vspace*{12pt} +\vspace*{-.7cm} + {\XVIPT\bf\@title\par} + \vglue 6pt plus 3pt minus 3pt + {\normalsize + \textbf{\begin{tabular}[t]{c}\@author\end{tabular}}\par} + \vglue 6pt plus 3pt minus 3pt + {\normalsize + \begin{tabular}[t]{c}\inst{\instnum}\@address\end{tabular}\par} + \vglue 6pt plus 3pt minus 3pt + \end{center}\par +} +\let\maketitleOLD\maketitle +\renewcommand{\maketitle}{\maketitleOLD\thispagestyle{empty}} + +\renewenvironment{abstract}{% + \list{}{\advance\topsep by6pt\relax%\small + \leftmargin=0.8cm + \labelwidth=\z@ + \listparindent=\z@ + \itemindent\listparindent + \rightmargin\leftmargin}\item[\hskip\labelsep + \bfseries\itshape Abstract.]\itshape}% + {\endlist} + +\newenvironment{resumo}{% + \list{}{\advance\topsep by6pt\relax%\small + \leftmargin=0.8cm + \labelwidth=\z@ + \listparindent=\z@ + \itemindent\listparindent + \rightmargin\leftmargin}\item[\hskip\labelsep + \bfseries\itshape Resumo.]\itshape}% + {\endlist} \ No newline at end of file