Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contra Capa Biblioteca (Contra Capa Azul) automática quando Dissertação ou Tese #5

Merged
merged 2 commits into from
Jan 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions _a-principal-ex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
% suportadas são 'portuguese' e 'english'
% Para impressão em frente e verso, use a opção 'twoside'. Da
% mesma forma, use 'oneside' para impressão em um lado apenas.
\documentclass[portuguese,oneside]{pucrs-ppgcc}
%\documentclass[english,oneside]{pucrs-ppgcc}
%\documentclass[portuguese,oneside]{pucrs-ppgcc}
\documentclass[english,oneside]{pucrs-ppgcc}

%---------------------------------------------------------
% 05/04/2021 - Para utilizar o formato de referências APALIKE:
Expand Down Expand Up @@ -313,11 +313,11 @@ \chapter{Meu primeiro anexo}
\chapter{My second attachment}

%================================================================
% CONTRA CAPA DA BIBLIOTECA não está sendo inserida ao final do volume
% automaticamente quando é Dissertação ou Tese, mas está implementada.
% Basta apenas descomentar a linha abaixo:
% CONTRA CAPA DA BIBLIOTECA já está sendo inserida ao final do volume
% AUTOMATICAMENTE quando configurado para Dissertação ou Tese.
%----------------------------------------------------------------
%\replacecontracapa
\contracapa
%================================================================

% E aqui (para a felicidade de todos) termina o documento.
\end{document}
30 changes: 19 additions & 11 deletions pucrs-ppgcc.cls
Original file line number Diff line number Diff line change
Expand Up @@ -741,19 +741,19 @@ e-mail <rfbpiccoli at gmail dot com>^^J
\vsize=\paperheight
\textwidth=\paperwidth
\textheight=\paperheight
\evensidemargin0pt
%\evensidemargin0pt
\oddsidemargin0pt
\topmargin0pt
\headheight0pt
\headsep0pt
\topskip0pt
\footskip0pt
\columnsep0pt
\columnseprule0pt
\columnwidth0pt
\marginparpush0pt
\marginparsep0pt
\marginparwidth0pt
%\topskip0pt
%\footskip0pt
%\columnsep0pt
%\columnseprule0pt
%\columnwidth0pt
%\marginparpush0pt
%\marginparsep0pt
%\marginparwidth0pt
\global\let\thanks\relax
\global\let\date\relax
\global\let\@thanks\@empty
Expand All @@ -762,7 +762,7 @@ e-mail <rfbpiccoli at gmail dot com>^^J
\normalfont\normalsize

\begin{figure}[H]
\centering\includegraphics[width=\textwidth]{src/contracapa.png}
\centering\includegraphics[width=\textwidth,height=0.999\textheight]{src/contracapa.png}
\end{figure}%

\end{titlepage}%
Expand Down Expand Up @@ -1664,6 +1664,13 @@ e-mail <rfbpiccoli at gmail dot com>^^J
}}%
}

\newcommand{\contracapa}{\par
\ifx\PP@tipo\tese\replacecontracapa\else
\ifx\PP@tipo\dissertacao\replacecontracapa\fi\fi

\global\let\PP@tipo\@empty
}

\AtEndOfClass{%
\renewcommand*{\familydefault}{\sfdefault}
\renewcommand{\chaptername}{}
Expand Down Expand Up @@ -1777,7 +1784,8 @@ e-mail <rfbpiccoli at gmail dot com>^^J
\ifx\PP@tipo\tese\fillers\else
\ifx\PP@tipo\dissertacao\fillers\fi\fi\fi

\global\let\PP@tipo\@empty

%\global\let\PP@tipo\@empty
\global\let\PP@fichaname\@empty
\global\let\PP@termoname\@empty
\global\let\PP@versaovolume\@empty
Expand Down
Empty file modified sort.sh
100755 → 100644
Empty file.