# reference page some numbering is coming [closed]

I have used

\def\thebibliography#1{\section{References}%
\markboth{References}{References}
\list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin
\labelwidth
\usecounter{enumi}}
\def\newblock{\hskip .11em plus .33em minus .07em}
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode\.=1000\relax}


and for referencing at the end I have used

\begin{thebibliography}{100}
\end{thebibliography}


now in the pdf I am getting $4.2$ Reference..why this number $4.2$ is coming in the reference page as well as in the table of contents ?

I dont want it..

\documentclass[a4paper,12pt]{report}
\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{mathtools, nccmath}
\usepackage{blkarray}
\usepackage[titletoc]{appendix}
\usepackage{graphicx}
\usepackage{wasysym}
\usepackage{listings}
\usepackage{color}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usetikzlibrary{decorations.markings}
\usepackage{tabulary}
\usepackage{verbatim}
\usepackage{mathtools}
\usepackage{afterpage}
\usepackage{delarray}
\usepackage{bm}
\usetikzlibrary{arrows,shapes}
\usepackage{soul}
\usepackage{stackrel}
\theoremstyle{definition}
\newtheorem{thm}{Theorem}[chapter]
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{df}{Definition}[chapter]
\newtheorem{example}{Example}[chapter]
\newtheorem{Ex}[thm]{Example}
\newtheorem{ex}[thm]{Example}
\newlength\mylength
\settowidth{\mylength}{\scriptsize Lem.\ 1.1(ii)}
\newcommand\myeq[1]{\stackrel{\makebox[\mylength]{\scriptsize #1}}{=}}
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\Rank}{Rank}
\definecolor{mygreen}{RGB}{28,172,0}
\definecolor{mylilas}{RGB}{170,55,241}
\clearpage
\def\thebibliography#1{\section{References}%
\markboth{References}{References}
\list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin
\labelwidth
\usecounter{enumi}}
\def\newblock{\hskip .11em plus .33em minus .07em}
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode\.=1000\relax}

• Welcome to TeX.SX! Please help us (and also you) and add a minimal working example with bibliography (MWEB), that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass and ending with \end{document}. Jul 13 '17 at 19:01
• Please don't post such fragments only
– user31729
Jul 13 '17 at 19:01
• You want \section*{References} and \addcontentsline{toc}{section}{References}. By the way, in the title of [1], it should be $\lambda Tx+Sx$ rather than $\lambda$Tx+ Sx Jul 13 '17 at 19:02

Your bibliography environment uses

\section{References}


which sets a section with numbering. If you don't want that, then use

\section*{References}

Based on the (re)definition of thebibliograhy, the headers should be set correctly to References (via \markboth).
The addition of \protect\numberline{} ensures that the alignment of your \section titles in the ToC is correct - numbered or unnumbered sections. If you drop it, the References title will be flush left with the other (numbered) elements.
• @Urgent: Change \section{References} to \section*{References}\addcontentsline{toc}{section}{\protect\numberline{}References} in your definition of thebibliography. Jul 13 '17 at 19:17
• @Urgent: What is not coming? What does your \def\thebibliography look like now? Jul 13 '17 at 19:31
• @Urgent: It would be great if you could supply the community with something that replicates your current problem. This "something" I'm talking about is called a minimal working example. It is code that starts with \documentclass (you've provided this) and ends with \end{document} in such a way that we can copy-and-paste-and-compile and see exactly when you're seeing (you haven't provided this). Without it, I cannot adequately replicate your issue. Jul 13 '17 at 19:39