I cannot to understand why I have chapter title in bibliography reference page?
Code:
Code: Select all
\documentclass[10pt]{book}
\usepackage{amsmath,amssymb}
\usepackage{mathtext}
\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian, english]{babel}
\usepackage{graphicx}
\usepackage{indentfirst} % Красная строка
\usepackage{float}
\usepackage{mathabx}
\usepackage{wrapfig}
\usepackage{amsthm}
\usepackage{cite}
\usepackage{section}
\setlength{\secindent}{\parindent}
\setlength{\subindent}{\parindent}
\usepackage[figurename=Рисунок]{caption}
\DeclareCaptionLabelSeparator{defffis}{ }
\captionsetup[figure]{justification=centering, labelfont=it,textfont={it},labelsep=space, font = small}
\renewcommand{\figurename}{Рисунок}
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\usepackage{geometry}
\geometry{
a5paper,
left=14mm,
top=20mm,
right=14mm,
bottom=20mm,
}
\binoppenalty=10000
\relpenalty=10000
\usepackage{tocloft}
\cftsetindents{section}{1em}{2em}
\cftsetindents{subsection}{2em}{3em}
%\renewcommand\cfttoctitlefont{\hfill\Large\bfseries}
\renewcommand\cftaftertoctitle{\hfill\mbox{}}
\setcounter{tocdepth}{2}
\usepackage[raggedright]{titlesec}
\titlespacing{\chapter}{\parindent}{3em}{3em}
\titlespacing{\section}{\parindent}{1em}{1em}
\titlespacing{\subsection}{\parindent}{1em}{1em}
\renewcommand{\leq}{\leqslant} % не забывайте про необходимость \usepackage{amssymb}!
\renewcommand{\geq}{\geqslant}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}
\patchcmd{\ttlh@hang}{\noindent}{}{}{}
\makeatother
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[LE]{\slshape \leftmark }
\fancyhead[RO]{\slshape \rightmark}
\fancyfoot[C]{\thepage}
\usepackage{nomencl}
\makenomenclature
\captionsetup{justification=raggedright,singlelinecheck=false}
\newif\iftex
\textrue
\begin{document}
\tableofcontents
\sloppy{
\chapter{Chapter}
Citation: \cite{SHANNON1948}
\chapter{One more chapter}
Citation: \cite{SHANNON1949} or \cite{WHITTAKER1915}
\footnotesize{
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{bib_forum}{}
\bibliographystyle{plain}
}
}
\end{document}
bib-file:
Code: Select all
@Article{SHANNON1948,
author = {C. E. {Shannon}},
title = {A mathematical theory of communication},
journal = {The Bell System Technical Journal},
year = {1948},
volume = {27},
number = {4},
pages = {623-656},
month = {Oct},
issn = {0005-8580},
doi = {10.1002/j.1538-7305.1948.tb00917.x},
}
@Article{SHANNON1949,
author = {Shannon, C.},
title = {Communication in the presence of noise},
journal = {Proceedings of the Institute of Radio Engineers},
year = {1949},
volume = {37},
number = {1},
pages = {10-–21},
month = {Jan},
}
@Article{WHITTAKER1915,
author = {Whittaker, E.},
title = {XVIII.— On the Functions which are represented by the Expansions of the Interpolation Theory},
journal = {Proceedings of the Royal Society of Edinburgh},
year = {1915},
volume = {35},
pages = {181--194},
doi = {10.1017/S0370164600017806},
}