I get the 'List of tables' title as a right page heading. How do I fix that?
\documentclass[10pt,cleardoublepage=empty,twoside]{book}
\makeatletter
\def\ps@headings{%
\let\@oddfoot\@empty
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markright {{% %%% original \MakeUppercase
\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ %
\fi
##1}}}}
\makeatother
\pagestyle{headings}
\usepackage{setspace}
\usepackage{array}
\usepackage{amsmath}
\usepackage{fixltx2e}
\usepackage{covington}
\usepackage[danish,english]{babel}
\usepackage{tipa}
\usepackage{pslatex}
\usepackage{float}
\usepackage{graphicx}
\usepackage{titlesec}
\usepackage{amssymb}
\usepackage{typearea}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}%per allineamento a sx delle colonne
\renewcommand{\bibname}{References}
\usepackage{caption}
\usepackage[bitstream-charter]{mathdesign}
\usepackage[T1]{fontenc}
\usepackage{morefloats}
\usepackage{booktabs}
\usepackage[bottom,norule]{footmisc}
\setlength\belowcaptionskip{1\baselineskip}
\usepackage[hidelinks]{hyperref}
\usepackage{bookmark}
\begin{document}
\frontmatter
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat
\cleardoublepage
\pagenumbering{roman}
\tableofcontents
\addcontentsline{file}{sec_unit}{entry}
\addcontentsline{toc}{chapter}{\bibname}
\listoffigures
\listoftables
\mainmatter
\pagenumbering{arabic}
\chapter{Lorem}
\section{lorem ipsum dolor sit amet}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
\chapter{Ipsum}
\section{dolor sit amet lorem ipsum}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
\end{document}
pslatex
which is largely obsolete, and you loadmathdesign
afterwards;\pagenumbering{roman}
and\pagenumbering{arabic}
should be removed; the two\addcontentsline
commands are wrong.\addcontentsline
for the bibliography must go near the bibliography. But it's better to use thetocbibind
package rather than adding it by hand.