From 895aabcd0eb147913a57199104c3f6d3e2694177 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sat, 6 Nov 2021 18:50:04 +0100 Subject: move acronyms to appendix and remove header from toc --- pdf/assets/acronyms.tex | 3 +-- pdf/doc.tex | 16 +++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) (limited to 'pdf') diff --git a/pdf/assets/acronyms.tex b/pdf/assets/acronyms.tex index 351ec4a..33e25e2 100644 --- a/pdf/assets/acronyms.tex +++ b/pdf/assets/acronyms.tex @@ -1,7 +1,6 @@ % LTeX: enabled=false -\chapter*{Acronymes} -\addcontentsline{toc}{chapter}{Acronymes} +\chapter{Acronymes} \begin{acronym} \acro{adn}[ADN]{Acide DésoxyriboNucléique} \acro{api}[API]{Application Programming Interface} diff --git a/pdf/doc.tex b/pdf/doc.tex index d466ad4..852fa80 100644 --- a/pdf/doc.tex +++ b/pdf/doc.tex @@ -35,11 +35,6 @@ emphstyle=\color{identifier}, % sets color for comments } -% Appendices -\usepackage{appendix} -\renewcommand{\appendixname}{Annexe} -\renewcommand{\appendixtocname}{Annexes} - % Graphics \usepackage{graphicx} % images and figures \usepackage{subcaption} % subcaption and subtables @@ -107,12 +102,12 @@ \begin{document} -\hypersetup{pageanchor=false} +\pagenumbering{Alph} \begin{titlepage} \maketitle \end{titlepage} -\hypersetup{pageanchor=true} +\pagenumbering{arabic} \tableofcontents \chapter{Introduction} @@ -827,12 +822,11 @@ Lecture de la zone correspondant à la dernière version \\ % Bibliography \bibliography{doc.bib} -% Glossary -\include{assets/acronyms.tex} - % Annexes \appendix -\addappheadtotoc + +% Acronyms +\include{assets/acronyms.tex} \chapter{Documentation de la CLI} -- cgit v1.2.3