Skip to content

Latest commit

 

History

History
181 lines (138 loc) · 3.77 KB

README.md

File metadata and controls

181 lines (138 loc) · 3.77 KB

Status do Projeto: Em desenvolvimento ⚠️

IFGW-LaTeX

LaTeX class for the Ph.D. thesis

Table of Contents

  1. Description.
  2. Instalation.
  3. Usage.

1. Description

This is a LaTeX class for the Ph.D. thesis of Gleb Wataghin Institute of Physics at the University of Campinas.

2. Installation

To use locally just put the file ifgw.cls in the same directory as the document.

3. Usage

To load the class, use the following comand:

\documentclass{ifgw}

By default, the a4paper, 12pt and oneside options are passed. You must provide the title, subtitle, institute and university, both in portuguese and in english.

\author{}
\supervisor[]{}
\cosupervisor[]{}
\city{}
\logo[]{}

\title{
    english={},
    portuguese={},
}

\subtitle{
    english={},
    portuguese={},
}

\institute{
    english={},
    portuguese={},
}

\university{
    english={},
    portuguese={},
}

\backcover{
    portuguese declaration={},
    english declaration={},
    version={},
    language=english,
}

These macros set the author, title, subtitle, supervisor, co-supervisor (optional), the name of the Institute, the name of the University, the city, the logo and the text for the cover page, respectively.

The abstract, resumo and the acknowledgement sections can be done as follows:

\begin{abstract}

\end{abstract}

\begin[name=Resumo]{abstract}

\end{abstract}

\begin[name=Agradecimentos]{abstract}

\end{abstract}

Also there are a new macro to make long citations,

\begin{longcitation}

\end{longcitation}

Putting all together:

\documentclass[oneside, 12pt]{ifgw}
\usepackage{amsmath}
\usepackage{cite}
\usepackage{fourier}
\usepackage{lipsum}
\usepackage{pdfpages}

\author{Anakin Skywalker}
\city{Tatooine}
\cosupervisor[Co-orientador]{Obi-Wan Kenobi}
\logo[align=left]{Images/unicamp.png}
\supervisor[Orientador]{Master Yoda}

\title{
    english={Star Wars},
    portuguese={Guerra nas estrelas},
}

\subtitle{
    english={May the Force be with you},
    portuguese={Que a Força esteja com você},
}

\institute{
    english={Darth Plagueis Institute},
    portuguese={Instituto Darth Plagueis},
}

\university{
    english={University of the Galactic Empire},
    portuguese={Universidade do Império Galático},
}

\backcover{
    portuguese declaration={
        Tese apresentada ao \theinstitute~da \theuniversity~como
        parte dos requisitos exigidos para a obtenção do título de
        \uppercase{Doutor em Ciências}, na Área de \uppercase{Física}.
    },
    english declaration={
        Thesis presented to the \theinstitute[e]~of the \theuniversity[e]~in
        partial fulfillment of the requirements for the de\-gree of
        \uppercase{Doctor of Science}, in the area of \uppercase{Physics}.
    },
    version={
        Es\-te tra\-ba\-lho cor\-res\-pon\-de à ver\-são fi\-nal da
        te\-se de\-fen\-di\-da pe\-lo a\-lu\-no \theauthor~e
        ori\-en\-ta\-da pe\-lo Prof. Dr. \thesupervisor.
    },
    language=english,
}

\begin{document}

\maketitle
\makebackcover

\includepdf[pages=-]{PDFs/ficha_catalografica}
\includepdf[pages=-]{PDFs/folha_de_aprovacao}

\dedication{To my son, Luke Skywalker.}
\epigraph{Master Yoda}{May the Force be with you!}

\include{Chapters/agradecimentos}
\include{Chapters/resumo}
\include{Chapters/abstract}

\listoffigures
\listoftables
\tableofcontents

\include{Chapters/ch01}
\include{Chapters/ch02}
\include{Chapters/ch03}
\include{Chapters/ch04}
\include{Chapters/ch05}
\include{Chapters/ch06}

\bibliographystyle{naturemag}
\bibliography{Chapters/Bibliografia}

\appendix
\include{Chapters/ch07}
\include{Chapters/ch08}
\include{Chapters/ch09}

\end{document}