I am trying to write a report class document, I numbering in the ToC for sections is not printing also how to hide or remove the word "chapter" for instance, my code is :
\documentclass[letter,titlepage,doublesided]{report}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage[margin=0.6in,bottom=0.8in, top=0.8in]{geometry}
\usepackage{titlesec}
\usepackage{url}
\usepackage{tikz}
\usepackage{fix-cm}
\usepackage{graphicx}
\usepackage{pbox}
\usepackage{titletoc}
\newcommand\mybox[2][]{\tikz[overlay]\node[fill=blue!20,inner sep=2pt, anchor=text, rectangle, rounded corners=1mm,#1] {#2};\phantom{#2}}
\title{REPORT}
\author{\includegraphics[width=0.1\textwidth]{logo.png}}
\date{Revision 5}
\pagestyle{fancy}
\lhead{\large{\bf{\it{xxx}}}}
\chead{}
\rhead{\large{\bf{\it{xxx}}}}
\lfoot{\small\it{{xxx}}}
\cfoot{\small\it{{xxx}}}
\rfoot{\small\it{Page \thepage{} of \pageref{LastPage}}}
\renewcommand{\headrulewidth}{0.3pt}
\renewcommand{\footrulewidth}{0.4pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Colored Section Headings %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\colorsection}[1]{%
\colorbox{blue!20}{\parbox{\dimexpr\textwidth-2\fboxsep}{\thesection\ #1}}}
\newcommand{\colorsubsection}[1]{%
\colorbox{gray!20}{\parbox{\dimexpr\textwidth-2\fboxsep}{\thesubsection\ #1}}}
\titleformat{\section}[block]
{\sffamily\huge}
{}
{0pt}
{\colorsection}
\titlespacing*{\section}{0pt}{\baselineskip}{\baselineskip}
\titleformat{\subsection}[block]
{\sffamily\Large}
{}
{0pt}
{\colorsubsection}
\titlespacing*{\subsection}{0pt}{\baselineskip}{\baselineskip}
\titleformat{\subsubsection}[block]
{\sffamily\large}
{}
{0pt}
{\colorsubsection}
\titlespacing*{\subsubsection}{0pt}{\baselineskip}{\baselineskip}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% / Colored Section Headings %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\hdr}[1]{{\bf\huge{#1}}}
\begin{document}
\centering\Huge{REPORT}
\vspace{5em}
\cleardoublepage
\tableofcontents
\chapter{Scope}
![enter image description here][1]
\section{test}
text!
\end{document}
I am not able to upload a picture but in the page 2, 3. I am not able to see the header and footer as it is in the Page 1. I want to remove the word chapter in Page 3.
\chapter*{...}the word "chapter" will be omitted. i'll leave the questions about headers/footers to someone else. – barbara beeton Mar 08 '13 at 20:30\renewcommand{\chaptername}{}? – hpesoj626 Mar 08 '13 at 20:43