from github to this gitea
This commit is contained in:
31
LaTeX changer le titre du sommaire.md
Normal file
31
LaTeX changer le titre du sommaire.md
Normal file
@@ -0,0 +1,31 @@
|
||||
up:: [[LaTeX]]
|
||||
title:: "`\renewcommand{\contentsname}{New toc title}` (dans le front)"
|
||||
link:: https://tex.stackexchange.com/questions/28516/how-to-change-the-title-of-toc
|
||||
#informatique
|
||||
|
||||
---
|
||||
|
||||
# préciser pour différent langages
|
||||
|
||||
```latex
|
||||
\documentclass{article}
|
||||
|
||||
\usepackage[english]{babel}
|
||||
|
||||
\addto\captionsenglish{% Replace "english" with the language you use
|
||||
\renewcommand{\contentsname}%
|
||||
{Whatever}%
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\section{Section}
|
||||
|
||||
\subsection{Subsection}
|
||||
|
||||
\end{document}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user