I would like to create a title with titlepage
and tikz
. However, I don't know very well these both tools and I need your help.
Here is what I've got now and, then, I have three questions:
1. How can I move a little bit up the black headband?
I would like to reduce the spacing between the black headband and the top. Like I use titlepage
code from another person, I don't know how to do this.
2. How to add another headband with a different color?
I would like to add another headband with a different color above the black one. The color would be \definecolor{titlepagecolor}{cmyk}{0,11,23,24}
. Here is the result I would like to obtain:
3. How to add a vertical banner on the right?
Here is what I understand by "vertical banner". This banner will contain a logo and some text below the logo. You can notice the effect at the bottom of the banner ; it would be very nice if something similar is doable with tikz.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{xspace}
\usepackage{geometry}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{geometry}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage[some]{background}
\definecolor{titlepagecolor}{cmyk}{0,0,0,80}
\DeclareFixedFont{\bigsf}{T1}{phv}{b}{n}{1cm}
\backgroundsetup{
scale=1,
angle=0,
opacity=1,
contents={\begin{tikzpicture}[remember picture,overlay]
\path [fill=titlepagecolor] (-0.5\paperwidth,5) rectangle (0.5\paperwidth,10);
\end{tikzpicture}}
}
\makeatletter
\def\printauthor{%
{\large \@author}}
\makeatother
\author{Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author \\Author}
\begin{document}
\begin{titlepage}
\BgThispage
\newgeometry{left=1cm,right=4cm}
\vspace*{2cm}
\noindent
\textcolor{white}{\bigsf My title\\ in two lines}
\vspace*{2.5cm}\par
\noindent
\begin{minipage}{0.35\linewidth}
\begin{flushright}
\printauthor
\end{flushright}
\end{minipage} \hspace{15pt}
%
\begin{minipage}{0.02\linewidth}
\rule{1pt}{175pt}
\end{minipage} \hspace{-10pt}
%
\begin{minipage}{0.6\linewidth}
\vspace{5pt}
\newenvironment{test}{\begin{center}}{\end{center}}
\begin{abstract}
An abstract is a brief summary of a research article, thesis, review, conference proceeding or any in-depth analysis of a particular subject or discipline, and is often used to help the reader quickly ascertain the paper's purpose. When used, an abstract always appears at the beginning of a manuscript, acting as the point-of-entry for any given scientific paper or patent application. Abstracting and indexing services for various academic disciplines are aimed at compiling a body of literature for that particular subject.
\end{abstract}
\end{minipage}
\end{titlepage}
\restoregeometry
\end{document}
Best Answer
You don't really need the
background
package here; it's enough to have atikzpicture
with theremember picture, overlay
options:To answer your questions:
I used
\node
s; in this way, you can easily place some elements using the node anchors. Controlling the value used foryshift
in theblackrect
node, you can vertically shift the elements at will.The black horizontal stripe is simply a rectangular node filled with some color; to add the other stripe, use another node and place it at the desired position with the help of the
blackrect
anchors.The banner is simply a
signal
shape (from theshapes.symbols
library) with a drop shadow.The images at the bottom can also be included inside
\node
s.