Articles, Essays, and Journal TemplatesChange Abstract to Resumo

IEEE, Elsevier, ACM, ACE, Science, AGU, PNAS, PLOS, RSoC, Springer, Stylish articles and Essays
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Change Abstract to Resumo

Post by templateuser »

Hi

I would like to change "Abstract" to "Resumo". I tried to use \renewcommand and it only worked for Contents. Any suggestion of what I could do? Ah, I also tried to use babel.

Thanks.

juoceano

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Change Abstract to Resumo

Post by Johannes_B »

Hi,
do \renewcommand{\abstractname}{juoceano}

it would be better to use the global option spanish (or whatever language you prefer) and use \selectlanguage{spanish} right after \begin{document}.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
che00
Posts: 5
Joined: Mon Feb 15, 2016 7:33 pm

Change Abstract to Resumo

Post by che00 »

I suspect the code should be the same...but if I want to eliminate the "Abstract" heading (the report I'm using this template for doesn't really have a template), how do I eliminate it? I can easily take out the text for the template by having empty brackets, but I can't figure out how to eliminate the "Abstract" heading. Putting a % in front of the \Abstract line eliminates the entire Abstract box, which I don't want to do. Following the directions above also didn't work. Below is code.

Code: Select all

\documentclass[fleqn,10pt]{SelfArx} 
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{xcolor}
%------------------------------------------------------------------------------
%	COLUMNS
%------------------------------------------------------------------------------

\setlength{\columnsep}{0.55cm} 
\setlength{\fboxrule}{0.75pt}

%-------------------------------------------------------------------------------
%	COLORS
%-------------------------------------------------------------------------------

\definecolor{color1}{cmyk}{1,0.46,0,0.70}
\definecolor{color2}{RGB}{0,20,20} % Color of the boxes behind the abstract and headings

%---------------------------------------------------------------------------------
%	HYPERLINKS
%---------------------------------------------------------------------------------

\usepackage{hyperref} % Required for hyperlinks
\hypersetup{hidelinks,colorlinks,breaklinks=true,urlcolor=color2,citecolor=color1,linkcolor=color1,bookmarksopen=false,pdftitle={Title},pdfauthor={Author}}

%---------------------------------------------------------------------------------
%	ARTICLE INFORMATION
%---------------------------------------------------------------------------------

\JournalInfo{} % Journal information
\Archive{March 2016}

\PaperTitle{Title} 
\Authors{Author 1\textsuperscript{1}*}
\affiliation{\small \textsuperscript{1}\textit{Director}} % Author affiliation
\affiliation{*\textbf{Corresponding author}: Email@address.com}
\Keywords{Keywords --- --- ---}
\newcommand{\keywordname}{Keywords}

%----------------------------------------------------------------------------------
%	ABSTRACT
%---------------------------------------------------------------------------------
\Abstract{Abstract}
%----------------------------------------------------------------------------------
\begin{document}
\flushbottom % Makes all text pages the same height
\maketitle % Print the title and abstract box
\tableofcontents % Print the contents section
\thispagestyle{empty} % Removes page numbering from the first page

%----------------------------------------------------------------------------------
%	ARTICLE CONTENTS
%----------------------------------------------------------------------------------

\section*{Introduction}
\addcontentsline{toc}{section}{Introduction}
\normalsize Here is an introduction.

\end{document}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Change Abstract to Resumo

Post by Johannes_B »

Code: Select all

\addto\captionsenglish{%
\renewcommand{\abstractname}{}
}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
che00
Posts: 5
Joined: Mon Feb 15, 2016 7:33 pm

Re: Change Abstract to Resumo

Post by che00 »

Thanks! Is there a specific place that I need to post that code?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Change Abstract to Resumo

Post by Johannes_B »

I placed it between the %%%%%ABSTRACT thing and the actual abstract.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
che00
Posts: 5
Joined: Mon Feb 15, 2016 7:33 pm

Re: Change Abstract to Resumo

Post by che00 »

Thanks!
Post Reply