Text Formatting ⇒ Title of the abstract placed just before the text
Title of the abstract placed just before the text
I'm trying to write one article, and i want the title of the abstract placed just before the text, in the following fashion:
Abstract: Once upon a time...zzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzs ssssssssssssssssssss
sssssssss ssssssssss s sssssssssssss so on.
Actually i've already reached to a solution, but it gets centered and not justified as i want, because i must center the authors and the emails.
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Abstract
the answer might vary depending on the document class (crucial information that you forgot to mention), so... which document class are you using?.
Title of the abstract placed just before the text
As you can see, i'm using article class, and i have been trying some hypoteses.
I tried to renew the abstract command, and actually it works, however the abstract gets centered, 'cause i'm centering the authors and e-mails.
i'd aprecciate If you give me some hint, to change the way i'm writting the authors or to change the renewcommand.
Thanks
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage[portuges]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage{aeguill}
\renewcommand{\abstract}[1]{{ \footnotesize \noident {\bf\\Resumo:} #1 }}
\begin{document}
\title{Arquitecturas de Software 2009/2010 \\ Relatorio Final sobre sistema KWIC}
\date{}
\maketitle
\center{\author{Jose Correia \and{e} Rui Domingues }}
\center{\texttt {\{javcorreia,rui.domingues\}@gmail.com}}
\linebreak
\abstract{
O meu abstract bla bla bla asl siaiak ikskakmspkasmpaskmaspkakijnoasiknj onas
asasas abshia hsijhsaohsahj apljapjp aij psa j
ijaskuih kahs ohsa ojhasp okja sp j as
asjhbol ai poaisjos ak}
\end{document}
Title of the abstract placed just before the text


Here's what the title page of this document (guide) consists of:
Code: Select all
\thispagestyle{empty}
\begin{center}\huge
Minion Pro {\footnotesize and} \textsf{Myriad Pro} {\footnotesize for MikTeX 2}\\\large
on a PC with Windows XP and higher
\end{center}
\begin{center}\small
Version: \today~at~\thistime~h
\end{center}
\begin{abstract}\footnotesize
\noindent \textbf{Preamble:}\\
This is a simple guide for installing Minion Pro for the use with MikTeX. This document is intended for entry-level users. If you know how to install a font for MikTeX, you can close this document. There may be other ways to correctly install a font; consider this more of a log of the steps that I (successfully) took. This guide is solely based on the advice I got and the steps I took and of all the steps I took especially the steps that worked. If you want to work through this guide, I suggest you print it.
\end{abstract}
\tableofcontents
Title of the abstract placed just before the text
Actually it almost works, but still there is a problem.
Now with:
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage[portuges]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage{aeguill}
...
\begin{abstract}\footnotesize
\noindent \textbf{Resumo:}
This is...
...........................Abstract(centered)
Resumo: This is....
Is it possible to delete the "Abstract" word as title.
Thanks
Re: Abstract
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Title of the abstract placed just before the text
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[portuges]{babel}
\makeatletter
\if@titlepage
\renewenvironment{abstract}{%
\titlepage
\null\vfil
\@beginparpenalty\@lowpenalty
\paragraph{\abstractname:}
\@endparpenalty\@M
}%
{\par\vfil\null\endtitlepage}
\else
\renewenvironment{abstract}{%
\if@twocolumn
\section*{\abstractname}%
\else
\small
\paragraph{\abstractname:}
\fi}
{\if@twocolumn\else\par\bigskip\fi}
\fi
\makeatother
\title{Arquitecturas de Software 2009/2010 \\ Relatorio Final sobre sistema KWIC}
\author{Jose Correia \\ \texttt{javcorreia@gmail.com} \and Rui Domingues \\ \texttt{rui.domingues@gmail.com}}
\date{}
\begin{document}
\maketitle
\begin{abstract}
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
\end{abstract}
\end{document}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Abstract
Re: Abstract
I really do not know how to shrink the abstract text width.
Thanks again for your support.
Title of the abstract placed just before the text
try this:
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[portuges]{babel}
\makeatletter
\if@titlepage
\renewenvironment{abstract}{%
\titlepage
\null\vfil
\@beginparpenalty\@lowpenalty
\par\medskip\noindent{\bfseries\abstractname:}
\@endparpenalty\@M
}%
{\par\vfil\null\endtitlepage}
\else
\renewenvironment{abstract}{%
\if@twocolumn
{\bfseries\abstractname:}%
\else
\quotation
\small\noindent{\bfseries\abstractname:}
\@endparpenalty\@M
\fi}
{\if@twocolumn\par\medskip\else\endquotation\fi}
\fi
\makeatother
\title{Arquitecturas de Software 2009/2010 \\ Relatorio Final sobre sistema KWIC}
\author{Jose Correia \\ \texttt{javcorreia@gmail.com} \and Rui Domingues \\ \texttt{rui.domingues@gmail.com}}
\date{}
\begin{document}
\maketitle
\begin{abstract}
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
\end{abstract}
\end{document}