Rename ToC, List of Figures, References
I tried to correct some issues, but not all of course.
The commands
\renewcommand{\contentsname}{My nice list of contents}
\renewcommand{\listfigurename}{My nice list of figures}
\renewcommand{\listtablename}{My nice list of table}
work, regardless whether babel
is used or not, at best used right before \begin{document}
or wrapped in \AtBeginDocument{...}
.
Another option could be using \settocname
etc. from tocbibind
, I did not use that here!
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{fourier}
\pagestyle{headings}
\usepackage{marvosym}
\usepackage{graphicx}
\usepackage[margin=2.5cm]{geometry}
\usepackage{rotating}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage{url}
\usepackage{natbib}
\usepackage{setspace}
\linespread{1.5}
\newenvironment{remark}{\par\mbox{}\par\noindent{\bfseries \emph{Remark}\/}:\normalfont}{\par}
\newenvironment{defin}{\par\mbox{}\par\noindent\bfseries \emph{\Pointinghand\ }\normalfont}{\par}
\setcounter{tocdepth}{2}
%\pdfcompresslevel=9
\setstretch{1.0} %vertical stretch
\usepackage{fontspec}
%\setmainfont[BoldFont = AvenirNextRoundedPro-Bold.otf , ItalicFont =AvenirNextRoundedPro-Italic.otf]{AvenirNextRoundedPro-Reg.otf}
%\defaultfontfeatures{Mapping=tex-text}
\usepackage{multirow}
\usepackage{array}
\usepackage{booktabs}
\usepackage{ragged2e}
\usepackage{euler}
\usepackage[euler-digits,euler-hat-accent]{eulervm}
\usepackage[labelfont=bf]{caption}
\usepackage{wrapfig}
\usepackage{amsmath}
\usepackage{amssymb}
%\usepackage[english]{babel}
\usepackage[nottoc]{tocbibind} %Adds "References" to toc
\usepackage{titlesec} \titleformat{\chapter}[display]{\bfseries\huge}{\filleft\Large\chaptertitlename~\thechapter}{1ex}{\vspace{1ex}\filright}[\vspace{0.5ex}\titlerule]
\usepackage{float}
\usepackage{etoolbox}
\makeatletter \patchcmd{\@caption}{\csname the#1\endcsname}{\csname fnum@#1\endcsname:}{}{} \renewcommand*\l@figure{\@dottedtocline{1}{2em}{6em}} \let\l@table\l@figure \makeatother % default for 3rd arg: 2.3em - for list of figures and tables
\usepackage{background}
\definecolor{textcolor}{HTML}{000000}
\newcommand\Text{c\quad o\quad n\quad f\quad i\quad d\quad e\quad n\quad t\quad i\quad a\quad l}
\SetBgColor{textcolor}
\SetBgOpacity{0.3}\SetBgAngle{90}
\SetBgPosition{current page.center}
\SetBgVshift{-0.33\textwidth}
\SetBgScale{1.8}
\SetBgContents{\sffamily\Text} %for confidential
\usepackage[colorlinks=true, a4paper=true, pdfstartview=FitV,
linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref}
\hypersetup{ hidelinks }
\renewcommand{\contentsname}{My nice list of contents}
\renewcommand{\listfigurename}{My nice list of figures}
\renewcommand{\listtablename}{My nice list of table}
\begin{document}
%\include{02_front}
\setcounter{page}{0}
\pagenumbering{roman}
\tableofcontents
\listoffigures
\listoftables
\newpage
\setcounter{page}{0}
\pagenumbering{arabic}
\chapter{blabla} \section{test é è åøæ î}
\appendix
\bibliographystyle{plain}
\bibliography{80_refs}
\end{document}