J'ai réglé toutes les en-têtes avec le package Cependant, ma difficulté est l’en-tête de la bibliographie : elle est en majuscules alors que je la voudrais en minuscules, car toutes les autres en-têtes sont en minuscules. Pour changer l’en-tête de ma bibliographie de la majuscule en minuscule, j'ai essayé plusieurs solutions (les packages Je vous envoie le préambule de mon document LaTeX : Ouvrir dans l'éditeur Overleaf
\documentclass[11pt,a4paper,twoside, openany]{book} %\usepackage[14pt]{extsizes} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{amssymb} \usepackage{multirow} \usepackage[authoryear]{natbib} \usepackage{fancyhdr} \makeatletter \usepackage{xcolor} %\usepackage[ paperheight =297mm,paperwidth =210mm, % or: "paper=a4paper" % layoutheight =200mm,layoutwidth =120mm, % layoutvoffset= 48.9mm,layouthoffset= 45mm, % centering, % margin=0pt, includeheadfoot, %footskip=0mm, % showframe=true, showcrop=true % ]{geometry} \usepackage[bindingoffset=0cm,a4paper,centering,textheight=200mm,textwidth=120mm]{geometry} \usepackage{MnSymbol,wasysym} \newcommand{\cit}[1]{«~#1~»} \usepackage{dashrule} \usepackage{soul} \usepackage{arydshln} \usepackage{graphicx} \usepackage{color, colortbl} \definecolor{Gray}{gray}{0.9} \usepackage{lscape} \usepackage{pdfpages} \usepackage[titletoc]{appendix} \usepackage{pgf,tikz} \usetikzlibrary{arrows,shapes,positioning} \usepackage{makeidx} \makeindex \addcontentsline{toc}{chapter}{Bibliographie} \bibliographystyle{francais} \bibliography{bibdango} \pagestyle{fancy} %\fancyhf{} \renewcommand{\bibfont}{\small} \renewcommand{\chaptermark}[1]{\markboth{\bsc{\chaptername~\thechapter{} :} #1}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection{} \ #1}} \renewcommand{\headrulewidth}{0pt} \lhead[]{\slshape\nouppercase{Bibliographie}} \rhead[\slshape\nouppercase{Bibliographie}]{} |
Le plus simple pour faire ce travail est de redéfinir localement la commande {\renewcommand*\MakeUppercase[1]{#1} \bibliographystyle{francais} \bibliography{bibdango}} Une autre solution consiste à redéfinir \renewcommand{\bibfont}{\small} \makeatletter \renewcommand\bibsection{\chapter*{\bibname}\@mkboth{\bibname}{\bibname}} \makeatother Remarque
Exemple Ouvrir dans l'éditeur
\documentclass[11pt,a4paper,twoside,openany]{book} \begin{filecontents}{bibdango.bib} @article{myart, author = {Me}, title = {My article}, journaltitle = {Texnique.fr}, year = {2015}, } @book{mybook, author = {Me}, title = {My book}, year = {2016}, } @article{uart, author = {You}, title = {Your article}, journaltitle = {Texnique.fr}, year = {2016}, } @book{ubook, author = {You}, title = {Your book}, year = {2015}, } @article{xart, author = {Some one}, title = {Another article}, journaltitle = {Texnique.fr}, year = {2016}, } @book{xbook, author = {Some one}, title = {Another book}, year = {2016}, } \end{filecontents} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} %\usepackage[bindingoffset=0cm,a4paper,centering,textheight=200mm,textwidth=120mm]{geometry} \usepackage[bindingoffset=0cm,a4paper,centering,textheight=60mm,textwidth=120mm]{geometry} \usepackage{fancyhdr} \usepackage[authoryear]{natbib} \usepackage[french]{babel} \newcommand{\cit}[1]{«~#1~»} \renewcommand{\bibfont}{\small} \makeatletter \renewcommand\bibsection{\chapter*{\bibname}\@mkboth{\bibname}{\bibname}} \makeatother \begin{document} \nocite{*} \tableofcontents ... \clearpage% à cause de l'option openany sinon \cleardoublepage \addcontentsline{toc}{chapter}{Bibliographie} %\bibliographystyle{francais} \bibliographystyle{plain} \bibliography{bibdango} \end{document} Publiée 01 Sep '16, 00:41 touhami |
@DAB Merci d'essayer de fournir un ECM.
Les commandes
\lhead[]{\slshape\nouppercase{Bibliographie}}
et\rhead[\slshape\nouppercase{Bibliographie}]{}
sont suspectes : « Bibliographie » va figurer dans tous les entêtes.\lhead[]{\slshape\nouppercase{\rightmark}}
et\rhead[\slshape\nouppercase{\leftmark}]{}
devraient convenir.