Template_These_MathSTIC/chapter2/chapter2.tex

41 lines
885 B
TeX
Raw Permalink Normal View History

2022-12-02 19:18:41 +01:00
\documentclass[../main.tex]{subfiles}
\makeatletter
\@ifundefined{fromRoot}{%
\newcommand{\fromRoot}[1]{../#1}
\usepackage{xr}
\externaldocument{../main}
}{}
\def\input@path{{\subfix{../}}}
%or: \def\input@path{{/path/to/folder/}{/path/to/other/folder/}}
\makeatother
\graphicspath{{\subfix{../}}}
\hypersetup{
pdfauthor = {Author},
pdftitle = {Th\`{e}se (Chapitre 2)},
pdfsubject = {Th\`{e}se (Chapitre 2)},
% pdfkeywords = {mots-cl\'{e}s},
}
\begin{document}
\selectlanguage{english}
\chapter{Name of chapter 2} \label{chapter:2}
\chaptermark{Name of chapter 2}
\etocsetnexttocdepth{4}
\etocsettocstyle{{\large \hspace{-1.5 em} \textbf{Contents} \hfill}\vspace{-2.5 em}\\\par\noindent\rule{\linewidth}{1 pt}\vspace{-.2 em}}{\par\noindent\rule{\linewidth}{1 pt}\\}
\localtableofcontents
\section{Section 1}
\section{Section 2}
\end{document}