0

How can i indent my abstract? I've tried this:

\begin{abstract}
\indent
My abstract is this.
\end{abstract}

But it's not working. I'm even using \usepackage{indentfirst} that seems to work in indenting every other first paragraph of my text.

Edit: I've tried using the command:

\setlength{\absparindent}{0pt}

Inside the abstract environment, with different values, 1pt, 2pt... but nothing seems to change.

Edit 2: Added a MWE, hope this helps someone to figure this out.

\documentclass[
    12pt,               % tamanho da fonte
    oneside,                % para impressão apenas em verso.
    a4paper,            % tamanho do papel.
    chapter=TITLE,      % títulos de capítulos convertidos em letras maiúsculas
    section=TITLE,      % títulos de seções convertidos em letras maiúsculas
    subsection=title,   % títulos de subseções convertidos em letras minúsculas
    subsubsection=title,% títulos de subsubseções convertidos em letras minúsculas
    brazil              % o último idioma é o principal do documento
    ]{abntex2}

\usepackage{indentfirst} % Para identar o primeiro paragrafo
\begin{document}

\begin{agradecimentos}

 Thanking notes! As you can see, the "identfirst" package works here.

\end{agradecimentos}


\begin{resumo}[Resumo]

This is my abstract, help please. The "identfirst" package doesn't work here.

\vspace{\onelineskip}

\textbf{Palavras-chave}: abstract, help.

\end{resumo}

\end{document}
2
  • What \documentclass are you using? Are you able to provide us with a minimal example that replicates your current setup?
    – Werner
    Nov 14, 2019 at 1:01
  • Using abntex2. Yeah, just posted a mwe.
    – Murilo
    Nov 15, 2019 at 10:57

3 Answers 3

2

The abstract is defined by the class to be without indentation. Something one just finds by looking at the .cls file. I just copied and modified it to be just like average, normal paragraphs.

\documentclass[
    12pt,               % tamanho da fonte
    oneside,                % para impressão apenas em verso.
    a4paper,            % tamanho do papel.
    chapter=TITLE,      % títulos de capítulos convertidos em letras maiúsculas
    section=TITLE,      % títulos de seções convertidos em letras maiúsculas
    subsection=title,   % títulos de subseções convertidos em letras minúsculas
    subsubsection=title,% títulos de subsubseções convertidos em letras minúsculas
    brazil              % o último idioma é o principal do documento
    ]{abntex2}

% A norma não diz nada sobre identação e separação entre parágrafos no abstract,
% porém o uso mostra que muitos abstracts são montados sem identação.
\AtBeginDocument{%
   \setlength{\absparindent}{\parindent}
}


\begin{document}

teste

teste para mostrar que não precisa de indentfirst

teste


\begin{resumo}[Resumo]


This is my abstract, help please. The "identfirst" package doesn't work here. This is my abstract, help please. The "identfirst" package doesn't work here. 


This is my abstract, help please. The "identfirst" package doesn't work here. This is my abstract, help please. The "identfirst" package doesn't work here.

This is my abstract, help please. The "identfirst" package doesn't work here.


\vspace{\onelineskip}

\textbf{Palavras-chave}: abstract, help.

\end{resumo}

\end{document}
3
  • Hey, thanks. But now it's also indenting the key-words. This is pissing me off to be honest, it's just some people in the library of my university demanding stuff that i know it doesn't exist in the thecnical norm.
    – Murilo
    Nov 15, 2019 at 14:24
  • 1
    @MuriloAraujoSouza \noindent\textbf{Palavras-chave}...
    – egreg
    Nov 15, 2019 at 14:32
  • Great, it's fixed. Thanks guys!
    – Murilo
    Nov 15, 2019 at 14:38
0

\indent does not work as the code LaTeX inserts to remove the indentation after a section heading really does remove the indentation box, even if added explicitly.

Try

\section{hhh}
\hspace*{\parindent}aa bb ccaa 

See the MWE

\documentclass{article}

\begin{document}

\title{What are the fundamental gaps in scientific knowledge?}
\author{Robin Wilson}

\maketitle

\begin{abstract}
\hspace*{\parindent}aa bb ccaa Recent reports by the global environmental ...
\end{abstract}

\section{Introduction}
Here is the text of your introduction.

And another paragraph here.

\end{document}

enter image description here

4
  • Why do you need all the packages in your example code?
    – Werner
    Nov 14, 2019 at 2:04
  • the packages are not all required--built in for another MWE--copy and paste job--packages can be removed as per requirement
    – js bibra
    Nov 14, 2019 at 3:31
  • The standard article class does indent the first paragraph in the abstract; with this code you get twice the normal indent.
    – egreg
    Nov 14, 2019 at 8:27
  • Thanks. But i'm sorry, this is not working for me. The identation here is too small.
    – Murilo
    Nov 15, 2019 at 9:32
0

More simple and clean way is insert \phantom{2em} in front of abstract. And, you can specify the space your want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.