Skip to content

Commit

Permalink
Merge pull request #3 from pbsf/master
Browse files Browse the repository at this point in the history
Format changes - UFPE requirements
  • Loading branch information
yguarata committed Apr 4, 2016
2 parents 5a8cdc4 + c4b7b68 commit 47899a3
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 33 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NAME:=risethesis

pdf:
-rm -f $(NAME).aux
pdflatex $(NAME)
bibtex $(NAME)
pdflatex $(NAME)

clean:
-rm -f *.aux *.bbl *.blg *.log *.dvi *.lof *.lot *.out *.toc risethesis.pdf

8 changes: 5 additions & 3 deletions chapters/introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ \chapter{Introduction}

\begin{figure}[htp]
\centering
\includegraphics[width=\columnwidth]{images/assignment-schema.pdf}
\caption[\ac{cr} assignment.]{\ac{cr} assignment. The router, which may be the
\acs{ccb}, project leaders, or managers, must match \acp{cr} and developers in
order to obtain the shortest fixing and highest quality.}
\includegraphics[width=\columnwidth]{images/assignment-schema.pdf}
\footnotesize{Source: Made by the author.}
\label{fig:assignment-schema}
\end{figure}

Expand Down Expand Up @@ -185,9 +186,10 @@ \section{Research Methodology}

\begin{figure}[h]
\centering
\includegraphics[width=\columnwidth]{images/research-methodology-thesis.pdf}
\caption[Research methodology.]{The research methodology applied for this
thesis.}
\includegraphics[width=\columnwidth]{images/research-methodology-thesis.pdf}
\footnotesize{Source: Made by the author.}
\label{fig:research-methodology-thesis}
\end{figure}

Expand Down Expand Up @@ -286,4 +288,4 @@ \section{Statement of the Contributions}

\section{Organization of the Thesis}

\lipsum[5-10]
\lipsum[5-10]
52 changes: 27 additions & 25 deletions risethesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,10 @@ requirements for the degree of \@degree\ in \@majorfielden.
\newcommand{\formatFrontmatterChapter}{
\titlespacing*{\chapter}{0pt}{-34pt}{40pt}
\titleformat{\chapter}[display]{
\centering\normalfont\huge
\centering\normalfont
}{
\chaptertitlename~\thechapter
}{20pt}{\Huge}
}{20pt}{\normalsize}
}

\renewcommand{\frontmatter}{\formatFrontmatterChapter}
Expand All @@ -410,7 +410,7 @@ requirements for the degree of \@degree\ in \@majorfielden.
{\bfseries}
{\chapnumfont\textcolor{chapnumcol}{\thechapter}}
{-24pt}
{\Huge}
{\normalsize}
}

\newcommand{\formatMainmatterChapter}{
Expand Down Expand Up @@ -510,14 +510,20 @@ requirements for the degree of \@degree\ in \@majorfielden.
\begin{center}
\includegraphics[scale=0.65]{cinlogo} \\
\vfill
\begin{center}
\Large \@author
\vskip4\baselineskip
{\large\bfseries{\MakeUppercase{\@title}}}
\vskip2\baselineskip
{{\large \@texttype}}\\
\end{center}
\vspace{1.4cm}
\begin{center}
{\normalsize\bfseries{\MakeUppercase{\@title}}}
\vskip1\baselineskip
\if\@language0
{\normalsize \bfseries{Por}}
\else
{\normalsize \bfseries{By}}
\fi
\vskip1\baselineskip
\normalsize \textit{\bfseries{\MakeUppercase{\@author}}}
\vskip1\baselineskip
{{\normalsize \bfseries{\@texttype}}}\\
\end{center}
\vspace{0.2cm}
\includegraphics[width=1cm]{ufpelogo} \\
\if\@language0
{\fontfamily{times}\selectfont \tiny \@universitypt\\}
Expand All @@ -528,9 +534,7 @@ requirements for the degree of \@degree\ in \@majorfielden.
{\fontfamily{times}\selectfont \tiny \url{www.cin.ufpe.br/~posgraduacao}\\}
\vskip\baselineskip
\vskip\baselineskip
\@address
\\
\@date
\@address/\@date
\end{center}
}

Expand All @@ -551,7 +555,7 @@ requirements for the degree of \@degree\ in \@majorfielden.
\begin{minipage}[b]{16cm}
{
\if\@language0
\sf\Large
\sf\normalsize
\@universitypt
\vskip 0.1cm
\if\@showinstitute1
Expand All @@ -564,28 +568,28 @@ requirements for the degree of \@degree\ in \@majorfielden.
\fi
\@programpt
\else
\sf\Large
\sf\normalsize
\@universityen
\vskip 0.1cm
\if\@showinstitute1
\vskip \baselineskip
\@instituteen
\@institutept
\vskip 0.1cm
\fi
\if\@showdepartment1
\@departmenten
\@departmentpt
\vskip 0.1cm
\fi
\@programen
\@programpt
\fi
}
\end{minipage}
\end{figure}
\vskip 25mm
\begin{center}
{\Large \@author}
{\normalsize \MakeUppercase{\@author}}
\vskip3\baselineskip
{\large\bfseries{\MakeUppercase{\@title}}}\\
{\normalsize"\MakeUppercase{\@title}"}\\
\vskip 38mm
\begin{flushright}
\begin{minipage}{100mm}
Expand All @@ -603,9 +607,7 @@ requirements for the degree of \@degree\ in \@majorfielden.
\end{minipage}
\end{flushright}
\vfill
\@address
\\
\@date
\@address, \@date
\end{center}
\setcounter{page}{1}
}
Expand Down Expand Up @@ -1000,4 +1002,4 @@ requirements for the degree of \@degree\ in \@majorfielden.
\newcommand{\theoref}[1]{\@theoname~\ref{#1}\xspace}
\newcommand{\corref}[1]{\@corname~\ref{#1}\xspace}
\newcommand{\propref}[1]{\@propname~\ref{#1}\xspace}
\newcommand{\pgref}[1]{\@pagename~\pageref{#1}\xspace}
\newcommand{\pgref}[1]{\@pagename~\pageref{#1}\xspace}
Binary file modified risethesis.pdf
Binary file not shown.
17 changes: 12 additions & 5 deletions risethesis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,26 @@
\usepackage{pdfpages}
\usepackage{caption}
\usepackage{lipsum}
\usepackage{sectsty}

\captionsetup[table]{position=top,justification=centering,width=.85\textwidth,labelfont=bf,font=small}
\captionsetup[lstlisting]{position=top,justification=centering,width=.85\textwidth,labelfont=bf,font=small}
\captionsetup[figure]{position=bottom,justification=centering,width=.85\textwidth,labelfont=bf,font=small}
\captionsetup[table]{position=top,justification=centering,width=.85\textwidth,labelfont=bf,font=footnotesize}
\captionsetup[lstlisting]{position=top,justification=centering,width=.85\textwidth,labelfont=bf,font=footnotesize}
\captionsetup[figure]{position=bottom,justification=centering,width=.85\textwidth,labelfont=bf,font=footnotesize}

%% Chapter and (Sub)Section fonts must be same size as text (12)
\sectionfont{\fontsize{12}{15}\selectfont}
\subsectionfont{\fontsize{12}{15}\selectfont}
\subsubsectionfont{\fontsize{12}{15}\selectfont}

%% Change the following pdf author attribute name to your name.
\usepackage[linkcolor=black,
citecolor=blue,
citecolor=black,
urlcolor=black,
colorlinks,
pdfpagelabels,
pdftitle={Rise Thesis Template (ABNT)},
pdfauthor={Rise Thesis Template (ABNT)}]{hyperref}
pdfauthor={Rise Thesis Template (ABNT)},
breaklinks=true]{hyperref}

\address{RECIFE}

Expand Down

0 comments on commit 47899a3

Please sign in to comment.