Hot answers tagged

27

Your command is correct. However, I guess you're using the babel langage package which overrides it. In that case, use the \addto command of babel, i.e. replace \renewcommand{\abstractname}{Executive Summary} by \addto{\captionsenglish}{\renewcommand{\abstractname}{Executive Summary}} That applies to further names as well, such as \prefacename, \...


26

This should make the trick. Important Note: This is a copy-paste from: I've just tested it \documentclass[twocolumn]{article} ... \begin{document} ... % \author, etc \twocolumn[ \begin{@twocolumnfalse} \maketitle \begin{abstract} ... \end{abstract} \end{@twocolumnfalse} ]


25

I went with: \begin{abstract} This is cool paper about vuvuzelas. \end{abstract} \renewcommand{\abstractname}{Acknowledgements} \begin{abstract} Thanks Mum! \end{abstract} This way both look similar and good.


24

The simplest way is \usepackage{abstract} \renewcommand{\abstractname}{} % clear the title \renewcommand{\absnamepos}{empty} % originally center The title is stored in \abstractname, so we clear it; but abstract puts the title between \begin{center} and \end{center}, but actually center is stored in the macro \absnamepos; so we abuse LaTeX features and ...


24

The abstract appears on its own page because you've specified the titlepage option to the article document class: \documentclass[12pt,a4paper, titlepage]{article} If you remove this option (or specify notitlepage), then the abstract will appear on the first page, together with the article title, author, and date: \documentclass[12pt,a4paper,notitlepage]{...


20

The easiest way is to insert \noindent: \begin{abstract} \noindent Recent reports ... \end{abstract} The reason is, that article uses a quotation environment for the abstract, and quotation uses paragraph indentation in contrary to quote. So, you coud redefine the abstract environment to use quote, but it's easier just to insert \noindent. If needed, you ...


19

\renewcommand{\abstractname}{\vspace{-\baselineskip}} Slightly more economical than the proposed solution (no need for abstract package).


18

\section*{Acknowledgements} Thanks Mum.


18

Based on Paulo Cereda's suggestion (And the fact I just wrote up a thesis with an abstract using that package, though I didn't double space the abstract), I threw together an example of how this works. \documentclass{article} \usepackage{setspace} %Allows double spacing with the \doublespacing command \begin{document} \begin{abstract} \doublespacing \...


17

To set a title use the option abstract=on. To change the language load both languages via option and uses the command \selectlanguage provided by babel. To set a double abstract put the environments abstract in a minipage Here a small example: \documentclass[abstract=on]{scrreprt} \usepackage[italian,english]{babel} %Loaded here: microtype,graphicx,...


17

Without abusing the usual commands, you can redefine abstract and patch the \maketitle command: \documentclass[a4paper,12pt,titlepage]{scrartcl} \newsavebox{\abstractbox} \renewenvironment{abstract} {\begin{lrbox}{0}\begin{minipage}{\textwidth} \begin{center}\normalfont\sectfont\abstractname\end{center}\quotation} {\endquotation\end{minipage}\end{...


16

abstract is an environment and should be used as such. And \linewidth is smaller than \textwidth within abstract because abstract (without article's titlepage class option) is based on the quotation environment which adds left-hand and right-hand indentation. \documentclass{article} \begin{document} \begin{abstract} This is an abstract. This is an ...


16

if you're submitting this article to the ams, even if you put the keywords into the abstract, they would be edited to put them into the first-page footnotes. if you're just using the amsart class to prepare a preprint, then my suggestion is to start a new paragraph within the abstract, perhaps like this: \smallskip \noindent \textbf{Keywords.} list of ...


14

If you use the multicol package then you can easily mix different column format \documentclass{article} \usepackage{multicol} \usepackage{lipsum}% for dummy text \begin{document} \begin{abstract} \lipsum[1] \end{abstract} \begin{multicols}{2} \lipsum[2] \end{multicols} \end{document}


14

You can try this: \documentclass{article} \usepackage{lipsum}% just for this example \newcommand{\university}[1]{\cr \itshape #1} \def\onlyabstracts{% \long\def\documentclass##1##2\title##3##4\begin##5{\title{##3}##4} \def\title##1{\vskip5ex{\centering\LARGE##1\par}} \let\author=\authorX \let\and=\andX \def\date##1{} \let\maketitle=\relax ...


13

There are really two questions here: how to define the interface and how to implement it. I'll only tackle the former, because the implementation would require several hours' work. First you have to decide whether using non standard commands, say \Title and \Author instead of \title and \author. There are many classes around and different realizations. For ...


13

I've written a short pythontex solution: \documentclass{article} \usepackage{lipsum} \usepackage{pythontex} \newcommand{\university}[1]{{\centering\itshape\large #1\par}\vskip5ex} \newcommand{\abstitle}[1]{{\centering\LARGE #1\par}\vskip3ex} \newcommand{\absauthor}[1]{{\centering\large #1\par}} \newcommand{\absname}{{\centering\bfseries\abstractname\par}\...


12

You can do these things with etoc: Note: for an elaboration (incorporating the remark below) of the technique see my answer to Expanded toc-like environment Remark: The code below defines a command \sectionsummary which ultimately writes things to the .toc file. It thus has the same difficulties with fragile commands that the \section command has. To ...


11

Add \thispagestyle{plain} immediately after starting your abstract environment. (In the report class, at the begin of the abstract environment, \titlepage is called internally by default, which sets \thispagestyle{empty}.) EDIT: If you want to switch to arabic page numbering for the rest of your paper, consider to use the book class instead of report and to ...


11

Here is an example that uses one of the KOMA-Script classes to achieve a similar effect: \documentclass[pagesize=auto, version=last, chapterprefix=true]{scrbook} \usepackage{amsmath} \usepackage{amsfonts} \renewcommand*{\thesection}{\S\enspace\arabic{section}} \renewcommand*{\dictumwidth}{0.7\textwidth} \renewcommand*{\raggeddictum}{\raggedright} \...


10

Page 1, lines 11-12 of the lineno states: lineno.sty can only number lines in the main text. Lines in any kind of boxes cannot be numbered. But see section 7.4 below. The AMS class file typesets the abstract as part of the title page, but the abstract is specified using an environment. So it has to slurp in the text and save it for reuse. It does ...


10

Assuming that the abstract and acknowledgement contents is typeset using a \chapter*{...}, you could do the following: \chapter*{Abstract}% \addcontentsline{toc}{chapter}{\numberline{}Abstract}% ... \chapter*{Acknowledgements}% \addcontentsline{toc}{chapter}{\numberline{}Acknowledgements}% ... This will add a chapter-level (chapter) entry to the table of ...


10

I agree with egreg's comment about using another document class. However if, for some reason, you must use apa6e, then 1., 2., and 3. can be solved by redefining \maketitle as implemented in apa6e.cls. You, however, don't have to modify the file apa6e.cls directly (which, in any case, is never a good practice). You can, for example, make the changes in your ....


10

You could misuse the \publishers element: \documentclass[a4paper,12pt,abstracton,titlepage]{scrartcl} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} \usepackage{lmodern} \titlehead{University} \title{Title} \subject{Subject} \author{Author} \publishers{% \normalfont\normalsize% \parbox{0.8\linewidth}{% ...


10

You are using \abstractname in the environment, but latex does not know it. This is the error you got. Hence defining it solves the issue. You have to define \abstractname by \newcommand\abstractname{Abstract} Your MWE becomes: \documentclass[11pt, a4paper]{book} \usepackage{lipsum} \newcommand\abstractname{Abstract} %%% here \makeatletter \if@...


10

I had a look at the documentation and found out that you can easily set new variables. Sadly, I don't think pandoc is able to automatically extract custom variables, since the documentation states that some variables are automatically set, other aren't. We can extend default.latex from $PANDOC_HOME/templates to include an abstract verification. I made a ...


9

It depends on the option of the class titlepage. The default setting is titlepage=true. You can do two things: \documentclass[12pt, a4paper,notitlepage]{report} Or redefine abstract: \makeatletter \renewenvironment{abstract}{% \if@twocolumn \section*{\abstractname}% \else \small \begin{center}% {\bfseries \abstractname\vspace{-.5em}...


9

While you can manually add an entry to the TOC by \addtocontents or \addcontentsline, the order of commands can be important, especially if you use hyperref, to get the hyperlink above the heading, not below or if you add a section to the TOC, which is done by a macro but several pages long, such as by \listoffigures, \listoftables or \bibliography. A ...


9

There's probably no hard-and-fast rule, but I have two suggestions for abstracts, acknowledgements etc. in different languages. One possibility is to typeset the respective text components basically as unnumbered chapters or sections (using the highest-ranking heading of your document). As a tweak, you could locally disable the \clearpage command so that ...


9

As I said in my comment, \cleardoublepage only works in a double sided layout, so adding twoside to your class options should fix that part. However you problems are not all fixed by this. The other issue is that\pagenumbering{plain} is not a valid counter scheme. What you probably meant is \pagenumbering{arabic}. Once these two changes are done, your ...



Only top voted, non community-wiki answers of a minimum length are eligible