# J. Correia Lopes

FEUP/DEI & INESC TEC

teach:feupteses

# feupteses LaTeX style

```%% FEUP THESIS STYLE for LaTeX2e
%% FEUP, JCL & JCF, Mon Oct  2 16:35:08 2017
%%
%% PLEASE send improvements to <jlopes@fe.up.pt> and to <jcf@fe.up.pt>
%%```

The sources and PDF examples of the general style of the FEUP dissertations can be found at /~jlopes/tutoriais/feup-teses/, that can also be downloaded from archive file feup-teses.zip.

The materials related to the MIEIC preparation of dissertations are available in the directory ~jlopes/tutoriais/mieic-distrib/, that can also be downloaded from archive file mieic-distrib.zip.

## Opções Externas

• Língua: `portugues` (por omissão é usado o Inglês)
• Curso: `mieec`, `mieic`, `miem`, `mesw` (por omissão com grau especificado externamente)
• Unidade curricular: `prep` (para usar apenas na preparação da dissertação; só pode ser usada conjuntamente com `mieec` ou `mieic`)
• Formato: `juri`, `final` (por omissão provisional)
• Meio: `onpaper` (por omissão online)
• Ligações internas: `backrefs` (por omissão não é usada)

Private documentation is available in: Developers' feupteses LaTeX style.

## Usage

• Use `pdflatex` instead of `latex`.
• The main file is tese.tex (or thesis.tex). Please read the instructions inside.
• The style is defined in `feupteses.sty`.
• To re-create the example you may use the makefile, or else do:
```pdflatex tese
bibtex tese
pdflatex tese
pdflatex tese```

The file `tese.pdf` (or `thesis.pdf`) contains the result.

• The file `plainnat-pt.bst` is needed to process references in the format (author,date) in Portuguese, In English use `plainnat.bst.`
• The file `alpha-pt.bst` is needed to use alphabetic references.
• The character set used in the editing tool should be reported through the appropriate option:
```\usepackage[latin1]{inputenc}
OR
\usepackage[utf8]{inputenc}
For the MAC use native encoding instead of UTF-8
\usepackage[applemac]{inputenc}```
• Using the MiKTeX distribution, to have the correct hyphenation, select the Portuguese language in "Start→ Programs→ MiKTeX 2→ MiKTeX Option".
• pdf(la)tex works with the following formats: png, jpeg, tiff and pdf. Files produced by `Metapost` (which are written in a simplified version of Postscript) can also be used. To convert eps (Encapsulated Postscript) figures to pdf, the `epstopdf` program can be used. To remove existing space around pdf figures, `pdfcrop` can be used.
• To use the same eps figures with `pdflatex` and latex, as well as using figures created with the package `pstricks`, the package `pst-pdf.sty` can be used (It is justified only in very special cases!)
• To automate the calls to `latex`, `bibtex`, etc. the auxiliary program `latexmk` can be used. It is available in TeXlive and MikTeX (http://texcatalogue.sarovar.org/entries/latexmk.html).

JCL & JCF, 2011-07-31