TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to dive under this incredible world of non-WYSIWYG. So, for my first main challenge I need to write my master's thesis with LaTeX. And I found some difficulties at the very beginning of my work: the cover page. I need to customize the cover page like this model (it's the mandatory model for our thesis in my university): enter image description here

I need the university logo to be within the dotted retangle. I tried to fit it there without success.

share|improve this question
Welcome to TeX.SX! Can you show us your attempt by providing a MWE? – Ruben Oct 24 '13 at 13:04
Hello, Pedro! :) I tried to find out the reference to this cover page format in the Unicamp guidelines, but the layout I found is slightly different. Do you have a link to this specific part? – Paulo Cereda Oct 24 '13 at 13:53
Pedro, the minimal working example is very important here, since we don't know the class you're loading -- e.g., if you're working with the abntex2 bundle, you should redefine the \imprimircapa macro. – henrique Oct 24 '13 at 15:17
Sorry guys, I'm new here, I didn't know I had to post my MWE, here goes my preamble: img6.imageshack.us/img6/9237/iok4.png – Pedro Nakasu Oct 25 '13 at 2:05
up vote 4 down vote accepted

First of all, you can encolose the title page in a titlepage environment so the document class deals with it in a proper way.

Then you can set the distances between text blocks in a relative way to each other (by using the \stretch command), so if you are required to change the paper size (university policies with respect to thesis formatting can be very annoying) they still keep the same proportion on the page.

You can also define picture sizes relative to document parameters, by defining lengths as a number multiplying predefined constants, say defining width as a multiple of \textwidth. Be sure to use a vectorial picture so it does not suffer loss of quality due to resizing (and also makes for smaller file sizes). You can find the UNICAMP logo in several formats here (Beware: the eps version has some gibberish code written after the postscript code. Get rid of it otherwise LaTeX won't like it).

You can fine-tune the margins further by using commands from the geometry package.

So a full example of a titlepage would be




\Large{Your Name}

\LARGE{\textbf{Your Thesis Title}}

\Large{Your City\\Date}


Example of a titlepage

share|improve this answer
Hey @Sir Whiteout it was so obvious! I put the \includegraphics within the \centering command and it always appeared in the top middle. Thanks! – Pedro Nakasu Oct 25 '13 at 13:50
No problem! You can have even more control over the positioning of the logo by using either a minipage environment or the wrapfig package, but in this case it's not strictly necessary. – Sir Whiteout Oct 30 '13 at 17:18

Here is a first approach to what you need:

%\geometry{margin=3cm} %declare margins as they shold be in the doument itself
{\color{red}Modelo CAPA...}\par
\vspace{1cm} %or any other space you like
{\Large (Enter your name here)}\par
\vspace{2cm} %as above
{\huge (Enter your title here)}\par
{\Large CAMPINAS\\[.5\baselineskip]
%From here you can start the rest of your thesis

To include you actual image just replace the line


with \includegraphics[scaling]{picname}. Uncomment line 5 after declaring the margins of your actual thesis body (I assumed the margins you gave, are for the titlepage only), and drop the 'showframe' option of geometry when you feel confident about the layout.

share|improve this answer
Hello @Ruben, just by replacing the {\color{blue}\rule{2cm}{2cm}}\par command and inserting my \includegraphics... after compiling the image wasn't at the left corner, but in the top middle. This is my preamble: Preamble – Pedro Nakasu Oct 25 '13 at 13:28
@PedroNakasu: This is easy to fix. Just put the \includegraphics invoce outside of the center environment and everything will be like desired. (The center environment does actaully align its content in the center of the page). And of course, you don't need to put the image into a group, i.e. just eliminate the pair of braces around it. They are needed with the \large, etc. commands for some reasons. But this does not belong to this question. (ATM I can't find a post explaining it on this site, but google will help or you might jut ask a new question, if you don't find it either.) – Ruben Oct 25 '13 at 13:42
Oh yes, I figured it out just now, the problem was indeed the \includegraphics... inside the \begin{center} command thank you! – Pedro Nakasu Oct 25 '13 at 13:52
I've just removed the pair of brackets around the image. Thanks for the tips! – Pedro Nakasu Oct 25 '13 at 14:03


\put(-50,-50)%adjust these values to place the graphic
\vspace{5cm}%adjust as needed
my name here
\vspace{5cm}%adjust as needed
share|improve this answer
+1, but wouldn't this make more sense as a redefinition of \@maketitle? – Sean Allred Oct 24 '13 at 13:36
Didn't know if the title text wasn't repeated or no inside, so tried to make it simple since the OP didn't make an MWE. – WillAdams Oct 24 '13 at 14:11
Hello @WillAdams , I've tested your solution, but after compiling it, a black-colored square has appeared instead of my picture (and I figured out you misstyped "figure" in the \begin{picture} part). The black square was followed by a (0,0) part that I think is due to the \begin{figure}(0,0) command. Here goes my preamble: preamble – Pedro Nakasu Oct 25 '13 at 13:37
I don't see the word ``figure'' in my code. The black coloured square is created by the demo option for graphicx. Replace dummy.jpg w/ your graphic. – WillAdams Oct 25 '13 at 13:51
I suppose it was "figure" and not "picture", am I wrong? Anyway, the problem was the \includegraphics... inside the \begin{center} command. I removed the [demo] option, thank you @WillAdams – Pedro Nakasu Oct 25 '13 at 13:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.