schnorr / infufrgs Goto Github PK
View Code? Open in Web Editor NEWLatex templates for documents of INF/UFRGS
Home Page: http://www.inf.ufrgs.br/utug/
License: GNU General Public License v2.0
Latex templates for documents of INF/UFRGS
Home Page: http://www.inf.ufrgs.br/utug/
License: GNU General Public License v2.0
In the Makefile, the commands to copy the bst and the bib files to the install directory are missing. I had to add them at my fork, so that the abntex library works.
Can someone tell, whether it is correct as it is now? Or should the Makefile be changed?
Check out my version at https://github.com/bombardellif/iiufrgs/blob/master/Makefile.
Keywords should be separated by periods instead of commas
Hi, as it is today there is a bunch of files in the iiufrgs package. Perhaps we should merge them to get a minimal set of required files. What do you think about this?
Eu gostaria de poder trocar a descrição de "orientador" no template por "orientadora".
Não achei um meio de fazer isso.
Seria possível a alteração através de um renewcommand
?
Usei o repositório na minha graduação em música na UFRGS e funcionou bem! Estou usando no Mestrado. Eu sei que é feito para o ii da UFRGS, mas seria interessante colocar nos .tex variáveis para mudar o nome do instituto e curso na capa (como tem para mudar o nome da faculdade). Por exemplo:
\def\ii{Instituto de Artes} \def\ppgc{Programa de Pós Graduação em Música}
Talvez tenha uma maneira mais "correta" de fazer.... Mas assim funciona hehe....
Uma duvida tem como gerar a capa também ? A ultima vez eu modifiquei a folha de rosto para se adequar a capa da ABNT (que são parecidas).
Obrigado !
O capítulo onde são listadas as referências bibliográficas está alinhando o texto a esquerda. Sugiro adicionar a opção bibjustif ao pacote abntex2cite para deixar justificado
Estou utilizando o arquivo iiufrgs.cls para definir a classe da minha tese (aliás, ótimo trabalho realizado pela Informática) e gostaria de verificar como fazer para que seja possível inserir uma lista de quadros.
Grata,
Cleo Silveira
Doutoranda de Administração / PPGA / UFRGS
In the table of contents, there is more empty space before the references then it should be.
We get:
1 INTRODUÇÃO .......................................................................11
1.1 Figuras e tabelas ..............................................................11
1.2 Sobre as referências bibliográficas ............................................13
REFERÊNCIAS ........................................................................14
instead of:
1 INTRODUÇÃO .......................................................................11
1.1 Figuras e tabelas ..............................................................11
1.2 Sobre as referências bibliográficas ............................................13
REFERÊNCIAS ........................................................................14
O modelo não deixa claro como escrever uma tese em inglês (o mais comum para área de informática) com as citações de dois ou mais autores usando separador "and" ao invés de "e". Uma screenshot demonstrando o problema segue:
Isso leva a duas questões:
O cabeçalho da minha proposta de tese (de onde veio a screenshot acima) é:
\documentclass[ppgc,prop-tese,english,formais,babel]{iiufrgs}
Eu me lembro de ter tentado vários workarounds sem sucesso (como invocar babel
passando english
diretamente, e fazer ajustes no iiufrgs.cles
). Um colega de pesquisa do meu grupo conseguiu resolver o problema com uma gambiarra:
Eu consegui resolver o problema do and/e usando essa solução: https://groups.google.com/g/latex-br/c/RA86vYeepvQ/m/UbgWhAEensQJ. É meio gambiarra: baixei o arquivo abntex2-alf.bst da internet, coloquei no diretório do .tex, e modifiquei a variável que usa "e" pra usar "and".
O arquivo alterado está anexado: abntex2-alf.bst.zip.
Estou abrindo esse issue tanto para documentar o problema para quanto deixar o workaround disponível para outros que venham a ter o mesmo problema enquanto isso não é resolvido na fonte.
A ABNT atualizou várias normas recentemente, sendo a mais significativa a mudança na caixa alta da citação.
Por exemplo: (SILVA, 2023) para (Silva, 2023)
Um issue já foi aberto no abntex2 (abntex/abntex2#260), onde também se encontram mais detalhes das outras mudanças. Porém, não tenho ideia de quando e se alguém vai implementá-las.
Compiling results in a perpetual latex warning regarding changing labels:
Label(s) may have changed. Rerun to get cross-references right.
This interferes with some tools for automatic recompilation / opening of pdf files (such as LatexTools for Sublime text). The reason for the warning seems to be a redefinition of \bibcite
in abntex2cite.sty
(around line 629)
The fix is to simply comment those lines:
\ifthenelse{\boolean{ABNThyperref}}{%
%\renewcommand{\bibcite}[2]{% comment here
% \@newl@bel{b}{#1}{\hyper@@link[cite]{}{cite.#1}{#2}}}% comment here
\newcommand{\bibciteEXPL}[2]{%
\@newl@bel{b}{#1++EXPL}{\hyper@@link[cite]{}{cite.#1}{#2}}}%
\newcommand{\bibciteIMPL}[2]{%
\@newl@bel{b}{#1++IMPL}{\hyper@@link[cite]{}{cite.#1}{#2}}}%
\newcommand{\bibciteYEAR}[2]{%
\@newl@bel{b}{#1++YEAR}{\hyper@@link[cite]{}{cite.#1}{#2}}}%
}{}
Could you add this change to the repo?
Just a sugestion: I use TeXstudio for Windows and had to add the line
\usepackage{epstopdf}
in order to make any example run. I suggest to put it in all examples (don't know if there are other implications on this, tough).
A NBR 14724:2011 estipula que a ordem das abreviações na lista deve ser alfabética.
Muitos trabalhos de graduação do INF/UFRGS que usam os exemplos desse repositório como base acabam não seguindo essa regra. Os exemplos poderiam ser ajustados e conter uma menção à norma.
Usando o iiufrgs.cls, os seções não estão sendo numeradas. Analisando o arquivo, vi que o comando
%\renewcommand{\section}{
@startsection{section}{2}{0pt}{18pt}{18pt}{\reset@font\normalsize\bfseries}
}
está comentado.
Retirando o marcador de comentário (%), a numeração fica correta. Sendo assim, está correto as seções não estarem sendo numeradas?
O Makefile espera um arquivo markdown
Line 32 in 7e4f188
[nkatte@Kun infufrgs]$ make INSTALLDIR="./build" install
install -d ./build/tex/latex/iiufrgs ./build/doc/latex/iiufrgs ./build/bibtex/bst
cp -R inputs/* ./build/tex/latex/iiufrgs
cp README.md COPYING CHANGELOG ./build/doc/latex/iiufrgs
cp: cannot stat 'README.md': No such file or directory
make: *** [Makefile:32: install] Error 1
Hi!
I noticed that in modelograduacaocic.pdf, figures in the List of Figures are listed like "Figura 1.1 – figure caption", and likewise for tables. This "Figura" (and "Tabela") is missing in iiufrgs.
from BUGS
file:
Mensagem ``Underfull [...] while \output is active''
- Registro: 2003/03/08 avila
- Status: PENDENTE
- Desc: a msg aparece várias vezes enquanto o documento está sendo
processado; aparentemente tem algo a ver com os floating bodies
... currently, its only up to 3 levels.
(see modelotese.doc, page 8):
1 INTRODUÇÃO ..................................................................................................................... 9
1.1 Sobre os Títulos e Capítulos .............................................................................................. 9
1.1.1 Sobre o Sumário .............................................................................................................. 10
1.1.1.1 Sobre a Lista de Abreviaturas e Siglas ......................................................................... 10
1.1.1.2 Sobre a Lista de Símbolos ............................................................................................ 10
1.1.1.3 Sobre as Listas de Figuras e de Tabelas ....................................................................... 10
Por algum motivo a biblioteca mathptmx
não está funcionando com a versão mais nova do texlive e por isso passa a descartar coisas como os parênteses e alguns símbolos matemáticos (exemplo: \nexists) dentro do math mode.
Esse problema acontece sem dar nenhum warning ou erro, então foi difícil rastrear. Só sei que em versões anteriores do LivTex funciona e que sem essa biblioteca na versão nova também funciona.
Versão do TexLive:
pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016)
Olá, acabo de receber a informação de um ótimo template beamer para apresentações do INF/UFRGS. Foi feito pelo @menegola e o @lmborba. Está disponível aqui: https://github.com/menegola/inf-beamer. Seria bom incorporarmos esse bom trabalho neste repositório, criando uma versão em ORG.
When I try to create an appendix in my thesis:
\appendix
\chapter{...}
I get the following error:
! Undefined control sequence.
\appendix [#1]-> @captionlistingfalse
\setcounter {chapter}{0}\renewcomman...
l.200
Faltam as imagens do template de slides. Estão disponíveis em: https://github.com/menegola/inf-beamer
Submitting iiufrgs
to CTAN should make it easier for people to install/update the package, via tlmgr
for texlive or the miktex package manager.
Packages can be submitted here: http://www.ctan.org/upload
Some questions that need to be decided:
abntex2
? (abntex2
is already part of CTAN)What do you think?
The TOC should not contain the list of tables, figures etc.
First entry should be the first chapter (usually, "Introduction")
see also modelotese.doc
, page 9
As keywords deveriam ser as mesmas independentemente da língua do abstract , além disso hoje elas são definidas em partes diferentes do arquivo o que me pareceu meio confuso. Alguém tem idéia de como unificar isso?
Reorganizar os fontes, seguindo as recomendações do documento Latex2E for class and package writers para distribuição massiva (pela submissão ao CTAN).
~/texmf
is the correct user install directory only for some tex distributions (on Linux, mostly); MacTex uses ~/Library/texmf
for example.
The platform independent way is to run kpsewhich to get the path to the user install dir:
diff --git a/Makefile b/Makefile
index c5c13ce..5c8aa36 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# DO NOT CHANGE
# This is the default user package directory, by installing here
# there is no need to run mktexlsr or to use sudo
-DEFAULT_INSTALLDIR = $(HOME)/texmf/
+DEFAULT_INSTALLDIR = $(shell kpsewhich -var-value=TEXMFHOME)
# USER CONFIG
INSTALLDIR = $(DEFAULT_INSTALLDIR)
tocstyle
has been withdrawn from the koma-script bundle in july 2020, and is being considered as obsolete.
I believe that tocbasic
should be used instead.
If we try to use the color package, we get erros like:
! Undefined control sequence.
\set@color ...\@pdfcolorstack push{\current@color
}\aftergroup \reset@color
l.113 \begin{document}
This also happens with todonote.
After having upgraded by debian system, sections, subsections and subsubsections are not being numbered in the text. They correctly appear numbered in the table of contents, but not in the text. I have made a very small package that show the problem (see the PDF within). Link:
https://dl.dropboxusercontent.com/u/1119921/iiufrgs_problem.tar.gz
Does anyone have the same problem? I believe is something related to the titlesec package.
Uma integrante da minha banca de defesa de tese apontou para o fato de que estão aparecendo "et al's" nas referências (não nos pontos de citação), quando o correto, nesta área, seria mostrar sempre todos os autores. Bug ou intended?
Hello!
I'm trying to migrate the documents in my iiufrgs-pack to the most recent version of iiufrgs, and I found out that the space left for section numbers in the TOC is too small to accomodate two-digit section numbers. I could track the change to commit bf9e46d, specifically:
+\newlength{\seclen}\settowidth{\seclen}{\textbf{2.2~}}
+\newlength{\subseclen}\settowidth{\subseclen}{2.2.2~}
\renewcommand*{\l@section}[2]
- {\@dottedtocline{1}{0em}{2.8em}{\textbf{#1}}{\hss #2}}
-\renewcommand*{\l@subsection}{\@dottedtocline{2}{0em}{3.7em}}
+ {\@dottedtocline{1}{0em}{\seclen}{\textbf{#1}}{\hss #2}}
+\renewcommand*{\l@subsection}{\@dottedtocline{2}{0em}{\subseclen}}
I don't know what would be the proper solution.
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.