删除单词“Références”及其前面的空格

删除单词“Références”及其前面的空格
\documentclass[12pt,a4paper,openany]{article}
\usepackage{pifont} %bouni
\usepackage{graphicx}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{newlfont}
\usepackage{amsmath}
\usepackage{t1enc}
\usepackage[latin1]{inputenc}
\usepackage[french]{babel}

\usepackage{fancybox}
\usepackage{xcolor}


\newcommand\encercle[1]{%
    \unitlength1em%
    \begin{picture}(1.5,1.5)%
        \put(0.75,0.3){\circle{1.5}}% modifier 0.3 éventuellement
        \put(0,0){\parbox[b]{1.5em}{\centering#1}}%
    \end{picture}}


\usepackage{amssymb}
\usepackage{relsize}
\usepackage{layout}
\usepackage{fancyhdr}

\usepackage{calc}%pour encadrer un paragraphe
\usepackage{geometry}
\geometry{left=1.5cm,right=1.5cm,top=1.0cm,bottom=1.5cm}

\usepackage{xcolor}
\definecolor{citeblue}{rgb}{0.00,0.00,0.60}
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\hypersetup{urlcolor=citeblue, citecolor=citeblue, linkcolor=citeblue}
%------------------------------------------------------------
\makeatletter
\def\@biblabel#1{\textcircled{\scriptsize #1}}
\makeatother
%------------------------------------------------------------

\begin{document}
\thispagestyle{empty}


\section{Articles préparés pendant la préparation de la thèse}
Durant la préparation de ma thèse, j'ai rédigé et publié 4 articles scientifiques, à savoir : 
\renewcommand{\bibname}{}
\begin{thebibliography}{99}

\bibitem{s1}{J.G. Stampfli,} {The norm of derivation,} Pacific J. Math. 33 (1970), no. 3, 737-747.

\bibitem{s2}{J.G. Stampfli,} {The norm of derivation,} Pacific J. Math. 33 (1970), no. 3, 737-747.

\end{thebibliography}
\section{Articles publiés ou acceptés pour publication après la soutenance de la thèse}
\renewcommand{\bibname}{}
\begin{thebibliography}{99}

\bibitem{s3}{J.G. Stampfli,} {The norm of derivation,} Pacific J. Math. 33 (1970), no. 3, 737-747.

\bibitem{s4}{J.G. Stampfli,} {The norm of derivation,} Pacific J. Math. 33 (1970), no. 3, 737-747.

\end{thebibliography}
\end{document} 

我想删除“Références”这个词以及它前面的空格

在此处输入图片描述

答案1

您不只是想让“参考”一词不可见,对吗?相反,您想完全删除未编号的节级标题,对吗?

如果是这种情况,只需添加说明

\usepackage{etoolbox} % for '\patchcmd' macro
\patchcmd\thebibliography{\section*{\refname}}{}{}{}

到序言部分。这是因为article文档类定义了一个名为 的环境thebibliography。上面显示的指令从该环境中\patchcmd删除了该指令。\section*{\refname}

在此处输入图片描述

\documentclass[12pt,a4paper,openany]{article}
%% I've tried to streamline and de-cruft the preamble code

\usepackage{pifont} %bouni
\usepackage{graphicx}
%%\usepackage{graphicx} % don't load packages more than once
%%\usepackage{amsfonts} % 'amsfonts' is loaded automatically by 'amssymb'
\usepackage{amssymb}
\usepackage{amsthm}
%\usepackage{newlfont} % seriously?!
\usepackage{amsmath}
\usepackage[T1]{fontenc} % 't1enc' package is obsolete
%\usepackage[latin1]{inputenc} % I bet you the input encoding is 'utf8'
\usepackage[french]{babel}
\usepackage{lmodern} % for characters with well-placed accents

\usepackage{fancybox}
%%\usepackage{xcolor} % don't load packages more than once

\newcommand\encercle[1]{%
    \unitlength1em%
    \begin{picture}(1.5,1.5)%
        \put(0.75,0.3){\circle{1.5}}% modifier 0.3 éventuellement
        \put(0,0){\parbox[b]{1.5em}{\centering#1}}%
    \end{picture}}

%%\usepackage{amssymb} % don't load packages more than once
\usepackage{relsize}
\usepackage{layout} % are you sure you need this?
\usepackage{fancyhdr}

\usepackage{calc}%pour encadrer un paragraphe % are you sure??
\usepackage{geometry}
\geometry{hmargin=1.5cm,top=1cm,bottom=1.5cm}

\usepackage{xcolor}
\definecolor{citeblue}{rgb}{0.00,0.00,0.60}
\usepackage[colorlinks=true,allcolors=citeblue,pagebackref=true]{hyperref}

%------------------------------------------------------------
\makeatletter
\def\@biblabel#1{\textcircled{\scriptsize #1}}
\makeatother
%------------------------------------------------------------

%%% New code
\usepackage{etoolbox} % for '\patchcmd' macro
\patchcmd\thebibliography{\section*{\refname}}{}{}{}


\begin{document}

\section{Articles préparés pendant la préparation de la thèse}

Durant la préparation de ma thèse, j'ai rédigé et publié 4 articles scientifiques, à savoir: 

\begin{thebibliography}{99}

\bibitem{s1} J.G. Stampfli, The norm of derivation, Pacific J. Math. 33 (1970), no. 3, 737--747.

\bibitem{s2} J.G. Stampfli, The norm of derivation, Pacific J. Math. 33 (1970), no. 3, 737--747.

\end{thebibliography}


\section{Articles publiés ou acceptés pour publication après la soutenance de la thèse}

\begin{thebibliography}{99}

\bibitem{s3} J.G. Stampfli, The norm of derivation, Pacific J. Math. 33 (1970), no. 3, 737--747.

\bibitem{s4} J.G. Stampfli, The norm of derivation, Pacific J. Math. 33 (1970), no. 3, 737--747.

\end{thebibliography}

\end{document}

相关内容