[texhax] How do i get rid off those annoying litlle white pages?
Ndilokelwa Fernandes Luis
dilasluis at ist.utl.pt
Thu Oct 7 19:42:49 CEST 2004
Im having a problem and i need some guidance
Im doing a report but using the book class (I need some stuff that are not
available on report class). The problem is there are some white (plain)
pages that appear (not just one, I think I could live with that) after each
chapter and I dont know what can I do to remove them. Can you help me?
Im putting here a list of the packages and stuff I have on my preamble
because it could be off some help
\documentclass[a4paper,12pt,portuges,openright,draft]{book}
\usepackage[portuges]{babel}
\usepackage[pdftex]{xcolor,graphicx}
\usepackage[latin1]{inputenc}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{eso-pic,graphicx}
\usepackage{xcolor,graphicx}
\usepackage{quotchap}
\usepackage{makeidx}
\usepackage{fancyhdr}
\usepackage{multicol}
\usepackage{fixme}
\usepackage{multibib}
\usepackage{tocbibind}
%%%%%%%%%%%%%%NEW
COMMANDS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%
\makeatletter
\newcommand\BackgroundPicture[0]{%
\setlength{\unitlength}{1pt}%
default \put(0,\strip at pt\paperheight){%
\parbox[t][\paperheight]{\paperwidth}{%
\vspace{4cm}
\hspace{2cm}\rule{\textwidth}{1mm}
}}} %
\makeatother
\newcommand{\myLogo}[2]{%
\setlength{\unitlength}{1cm}
\begin{picture}(0,0)
%\put(-8,+8.5){#1}% the logo for the left side
\put(5,-26){\includegraphics[angle=0]{#1}}% the logo for the right side
%\put(-7,10){\parbox[b]{5cm}{\Large \centering #2}}
\put(14,-26.31){\parbox[b]{5cm}{\textcolor{white}{\normalsize
\begin{center} #2
\end{center}}}}% text for the rightside
\end{picture}}
%%%% Renovos Comandos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand\indexname{\textcolor[rgb]{0.50,0.50,1.00}{Index}}
\renewcommand\bibname{\textcolor[rgb]{0.50,0.50,1.00}{Bibliografia}}
\renewcommand\listfigurename{\textcolor[rgb]{0.50,0.50,1.00}{Lista de
Figuras}}
\renewcommand\listtablename{\textcolor[rgb]{0.50,0.50,1.00}{Lista de
Tabelas}}
\renewcommand\contentsname{\textcolor[rgb]{0.50,0.50,1.00}{Conteúdo}}
\renewcommand{\footrulewidth}{0.6pt}
%%%%%%%%%%%%%%Page
Settings%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%
%\includeonly{intro,magci}
\makeindex
%%%% Dimensionamento da página%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addtolength{\marginparpush}{1cm}
\addtolength{\marginparsep}{5mm}
%%%% Biblioextra %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcites{Art}{\textcolor[rgb]{0.50,0.50,1.00}{Referência de Artigos}}
\newcites{Pub}{\textcolor[rgb]{0.50,0.50,1.00}{Referência de Manuais e
outras publicações na WWW}}
\newcites{Soft}{\textcolor[rgb]{0.50,0.50,1.00}{Software Utilizado}}
%%%% Estilo da página %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]%
{\markboth{\MakeUppercase{\thechapter.\ #1}}{}}
\renewcommand{\sectionmark}[1]%
{\markright{\MakeUppercase{\thesection.\ #1}}}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\newcommand{\helv}{%
\fontfamily{phv} \fontseries{b} \fontsize{9}{11} \selectfont}
\fancyhf{} \fancyhead[LE,RO]{\textcolor[rgb]{0.50,0.50,1.00}{\helv
\thepage}} \fancyhead[LO]{\textcolor[rgb]{0.50,0.50,1.00}{\helv
\rightmark}} \fancyhead[RE]{\textcolor[rgb]{0.50,0.50,1.00}{\helv
\leftmark}}
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers on plain pages
\renewcommand{\headrulewidth}{0pt} % and the line
}
Thank you, hope you can help me.
Ndilokelwa Fernandes Luis
Rua Martin de Freitas, N1 3E
2745-166 Queluz - PORTUGAL
+351 21 436 02 33
+351 91 723 97 62
<mailto:dilasluis at ist.utl.pt> dilasluis at ist.utl.pt
<mailto:dilasluis at aero.ist.utl.pt> dilasluis at aero.ist.utl.pt
<mailto:dilasluis at hotmail.com> dilasluis at hotmail.com
<mailto:dilasluis at iol.pt> dilasluis at iol.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20041007/18de2462/attachment-0001.htm
More information about the texhax
mailing list