# [texhax] Creating a colored design on a title page

Thu Jun 9 11:55:43 CEST 2005

for the font size, use fix-cm and then
\fontsize{size}{baselineskip}\selectfont

As for the design, you may be better of by using eso-pic to place graphics
in the background. You could even use it to place the text on the title
page, just remember there has to be some thing (perhaps just a ~) on the
page for it to be shiped out.

The internal syntax for the eso-pic makros are just picture macros.

\documentclass[a4paper,oneside,11pt]{memoir}
\usepackage[dvipsnames]{color}
\definecolor{White}{named}{White}
\definecolor{BurntOrange}{named}{BurntOrange}
\definecolor{Blue}{named}{Blue}
\usepackage{calc,eso-pic}
\usepackage{fix-cm}
\newcommand\makeorangeBG{
\put(0,0){{\color{BurntOrange}\rule{\stockwidth}{\stockheight}}}
}
}
\newlength\mylength
\newcommand\makebluebanner{
\setlength\mylength{0.5\paperheight-2cm}
\put(0,\LenToUnit{\mylength}){%
{\color{Blue}\rule{\stockwidth}{4cm}}}
}
}

\begin{document}

\begin{titlingpage}
% \pagecolor{BurntOrange}

\makeorangeBG
\makebluebanner

\color{White}
\setlength{\unitlength}{1cm}
\begin{picture}(16,20)
\setlength{\fboxsep}{0.25cm}
\put(0,18){{\fontsize{45pt}{50pt}\selectfont\bfseries\sffamily
{some text here}}}
\put(0,17.5){{\Huge\textbf{\ldots \ldots}}}
\put(0,16.5){{\large\textbf{some more text here}}}

%\put(0,10){\colorbox{Blue}{\Huge {more text}}}
%\put(0,9){\colorbox{Blue}{\huge {and yet more text}}}
% these two lines work, but not edge to edge for the blue background.

\put(0,10){\Huge {more text}}
\put(0,9){\huge {more text}}

\put(0,5){\Large{more text}}
\put(0,3){\large{and yet more text}}
\end{picture}
\color{black}
\end{titlingpage}

more text

\end{document}

--

/daleif

You cannot help men permanently by doing for them
what they could and should do for themselves. ''
-- Abraham Lincoln