I need to have the following
Abstract: Texte
I used
Code: Select all
\renewcommand*\abstractname{Abstract\hfill}
Abstract
Texte
What should I add?
Thanks
Code: Select all
\renewcommand*\abstractname{Abstract\hfill}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass[11pt,a4paper,english]{article}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage{lmodern}\usepackage{blindtext}\title{Modifcation of the \texttt{abstract} environment}\author{NELLLY}\makeatletter\if@titlepage\renewenvironment{abstract}{%\titlepage\null\vfil\@beginparpenalty\@lowpenalty\begin{center}%\bfseries \abstractname\@endparpenalty\@M\end{center}}%{\par\vfil\null\endtitlepage}\else\renewenvironment{abstract}{%\if@twocolumn\section*{\abstractname}%\else\small\list{}{%\settowidth{\labelwidth}{\textbf{\abstractname:}}\setlength{\leftmargin}{\labelwidth}\addtolength{\leftmargin}{\labelsep}}\item[\textbf{\abstractname:}]\fi}{\if@twocolumn\else\endlist\fi}\fi\makeatother\begin{document}\maketitle
This was not clear from your initial post.NELLLY wrote:[...] In fact, the ligns in the abstract should be aligned with the word abstract.
This is what I should obtain:
Abstract:texte...................
texte...................................
texte...................................
What shoud I add?
Code: Select all
\documentclass[11pt,a4paper,english]{article}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage{lmodern}\usepackage{blindtext}\title{Modifcation of the \texttt{abstract} environment}\author{NELLLY}\makeatletter\if@titlepage\renewenvironment{abstract}{%\titlepage\null\vfil\@beginparpenalty\@lowpenalty\begin{center}%\bfseries \abstractname\@endparpenalty\@M\end{center}}%{\par\vfil\null\endtitlepage}\else\renewenvironment{abstract}{%\if@twocolumn\section*{\abstractname}%\else\small\list{}{%\settowidth{\labelwidth}{\textbf{\abstractname:}}\setlength{\leftmargin}{0pt}\setlength{\itemindent}{\labelwidth}\addtolength{\itemindent}{\labelsep}}\item[\textbf{\abstractname:}]\fi}{\if@twocolumn\else\endlist\fi}\fi\makeatother\begin{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.