Text FormattingMake abstract across two columns

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Make abstract across two columns

Post by zzzhhh »

It is required by a journal to have abstract across two columns. I followed the instructions here: http://www.tex.ac.uk/FAQ-onecolabs.html, but none of the code snippets there works. The specific problems are:

(1) the "----- star -----" appears before the abstract
(2) the word "Abstract" and "Index Terms" appears as a separate title, not as a bold leading word(s) of the abstract and index terms, respectively.
(3) the footnote does not appear (using the 1st latex code), does not assumes the same format as published papers (using the 2nd latex code) or simply spit out an error (the 3rd latex snippet).

A correct reference paper is attached as follows:
Image

Image

Any (correct) help would be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Make abstract across two columns

Post by Stefan Kottwitz »

Hi,

it's easy to make this with some chosen document class. But that may not work with your document class and your settings and your journal requirements.

Please post your code, that is, your document (journal) class and your document preamble.

Stefan
LaTeX.org admin
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Make abstract across two columns

Post by zzzhhh »

The latex code is pasted as follows. I am using IEEEtran document class.

Code: Select all

\documentclass[10pt,journal,letterpaper,compsoc]{IEEEtran}
\makeatletter
\def\ps@headings{%
\def\@oddhead{}%
\def\@evenhead{\scriptsize\thepage \hfil \leftmark\mbox{}}%
\def\@oddfoot{\mbox{}\scriptsize \rightmark \hfil \thepage\hfil \leftmark \mbox{}}%
\def\@evenfoot{}}
\makeatother
\newcommand{\argmin}{\arg\!\min}
\usepackage{cite}
\usepackage[pdftex]{graphicx}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{algorithms}
\usepackage{algorithmic,array}
\usepackage{setspace}
\usepackage[tight,scriptsize]{subfigure}
\usepackage{wrapfig}
\usepackage{color}
\usepackage{caption}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}


\hyphenation{op-tical net-works semi-conduc-tor}
\begin{document}

\title{\bf\LARGE{title title title title title title title title title title title title}}

\author{author1,~\IEEEmembership{Senior Member,~IEEE}, author2,~\IEEEmembership{Member,~IEEE}, and author3% <-this % stops a space
\IEEEcompsocitemizethanks{\IEEEcompsocthanksitem author1 is with the Department of what what. author2 and 3 are with the Department of what what.\protect\\
E-mail: blah blah
}% <-this % stops an unwanted space
\thanks{}}

\markboth{}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Computer Journals}

\twocolumn[
  \begin{@twocolumnfalse}

\maketitle

\begin{abstract}
abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract. abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract. abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract.
\end{abstract}



\begin{IEEEkeywords}
key words key words
\end{IEEEkeywords}

\end{@twocolumnfalse}
  ]

\IEEEdisplaynontitleabstractindextext
\IEEEpeerreviewmaketitle

\section {Introduction}
\IEEEPARstart{I}{ntroduction} Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction Introduction 




\renewcommand{\baselinestretch}{1}
\bibliographystyle{IEEEtran}
\bibliography{reference}

\end{document}
This is the pdf generated, which contains all problems described in the original thread.
Image
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Make abstract across two columns

Post by Stefan Kottwitz »

zzzhhh wrote:(1) the "----- star -----" appears before the abstract
(2) the word "Abstract" and "Index Terms" appears as a separate title, not as a bold leading word(s) of the abstract and index terms, respectively.
Well, that's the IEEEtran style. Do you publish at an IEEE journal? In that case you need to follow the style anyway. Or is it a different journal? In any case the journal design has to be matched, not a certain good taste.

Stefan
LaTeX.org admin
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Make abstract across two columns

Post by zzzhhh »

Yes, but I can't catch your answer. what do you mean by "follow the style" and "the journal design has to be matched"? What do I do?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Make abstract across two columns

Post by Stefan Kottwitz »

You are using IEEEtran, but what if you publish with AMS instead? What is the document class that your journal requires? (You did not mention the journal.)

Stefan

PS: I may be off for 8 hours.
LaTeX.org admin
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Make abstract across two columns

Post by zzzhhh »

Where in the code indicates "publish with AMS"? It is a IEEE transaction so I think the doc class should be IEEEtran. This is all I know.
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Make abstract across two columns

Post by zzzhhh »

It's been handled.
Post Reply