I'd like to add a colored ribbon (a rectangular box) and a logo image to the top of my title page.

The title of the document is on the center of the page, and I would like for it to stay there.

As for the ribbon and image, the ribbon should span from the left edge of the page (not margin) to about 3/4 of its width. The logo should be placed to the right of the ribbon, in the remaining quarter (or so) of the page's width. Both elements should be a few centimeters away from the top of the page.

Any idea how I could​ accomplish that?

I'm currently on mobile, but can make s mock-up in Scribus when I get home. I know that I can design the page in Scrib and just include it, but I'd like to know how to do it in Latex.

  • Please to mock something up. Pictures are worth a thousand words...
    – Werner
    Mar 23 '17 at 15:27

With the titling package, you can have a title page along these lines:


\usepackage[showframe, nomarginpar]{geometry}

\title{About John Ford}
\author{The author}
\makebox[\dimexpr 0.25\paperwidth]{\quad\adjincludegraphics[height =5cm, valign=c]{SheWore}}}}
 \setlength\droptitle {-5cm}



enter image description here

  • This is pretty much exactly what I was looking for! Thank you :) I'd like to get a little better understanding of the code you're using - do you have some useful reference, besides the texdocs? Like a site where I can get tips about various commands and so on?
    – Potato
    Mar 23 '17 at 22:44
  • 1
    There's of course the documentation of titling which has the explanations for \maketitlehooka-d and \droptitleFor the rest there's not much really. \centering\makebox[0pt]{contents}` is a standard way to centre a contents which may be wider than \textwidth between the margins. The numerical values I use were found by trial and error. Finally, adjustbox is an extension of graphicx with more built-in possibilities. Feel free to ask for any explanation about a part of the code, but the best is perhaps to play first with the parameters to see what happens when they're changed.
    – Bernard
    Mar 23 '17 at 23:08
  • Okay, thanks! :) Can this code also be used inside the text? Like for a part-of-the-report title page?
    – Potato
    Mar 24 '17 at 8:37
  • I don't think you can use the code which is specific to titling, but you certainly can use the code for the ribbon and image in a redefinition of \part with package titlesec, using the \titleformat and \titlespacingcommands. You should take a look at its documentation.
    – Bernard
    Mar 24 '17 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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