LaTeX forum ⇒ Text FormattingMake abstract across two columns

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

Make abstract across two columns

Postby zzzhhh » Fri Jul 07, 2017 4:01 am

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.

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8529
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jul 07, 2017 4:30 am

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
Site admin

zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Postby zzzhhh » Fri Jul 07, 2017 5:21 am

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

  1. \documentclass[10pt,journal,letterpaper,compsoc]{IEEEtran}
  2. \makeatletter
  3. \def\ps@headings{%
  4. \def\@oddhead{}%
  5. \def\@evenhead{\scriptsize\thepage \hfil \leftmark\mbox{}}%
  6. \def\@oddfoot{\mbox{}\scriptsize \rightmark \hfil \thepage\hfil \leftmark \mbox{}}%
  7. \def\@evenfoot{}}
  8. \makeatother
  9. \newcommand{\argmin}{\arg\!\min}
  10. \usepackage{cite}
  11. \usepackage[pdftex]{graphicx}
  12. \usepackage{graphicx}
  13. \usepackage{epsfig}
  14. \usepackage{amssymb}
  15. \usepackage{amsmath}
  16. \usepackage{mathtools}
  17. \usepackage{algorithms}
  18. \usepackage{algorithmic,array}
  19. \usepackage{setspace}
  20. \usepackage[tight,scriptsize]{subfigure}
  21. \usepackage{wrapfig}
  22. \usepackage{color}
  23. \usepackage{caption}
  24. \usepackage[latin1]{inputenc}
  25. \usepackage{tikz}
  26. \usetikzlibrary{shapes,arrows}
  27.  
  28.  
  29. \hyphenation{op-tical net-works semi-conduc-tor}
  30. \begin{document}
  31.  
  32. \title{\bf\LARGE{title title title title title title title title title title title title}}
  33.  
  34. \author{author1,~\IEEEmembership{Senior Member,~IEEE}, author2,~\IEEEmembership{Member,~IEEE}, and author3% <-this % stops a space
  35. \IEEEcompsocitemizethanks{\IEEEcompsocthanksitem author1 is with the Department of what what. author2 and 3 are with the Department of what what.\protect\\
  36. E-mail: blah blah
  37. }% <-this % stops an unwanted space
  38. \thanks{}}
  39.  
  40. \markboth{}%
  41. {Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Computer Journals}
  42.  
  43. \twocolumn[
  44. \begin{@twocolumnfalse}
  45. \maketitle
  46. \begin{abstract}
  47. 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.
  48. \end{abstract}
  49. \begin{IEEEkeywords}
  50. key words key words
  51. \end{IEEEkeywords}
  52. \end{@twocolumnfalse}
  53. ]
  54.  
  55. \IEEEdisplaynontitleabstractindextext
  56. \IEEEpeerreviewmaketitle
  57.  
  58. \section {Introduction}
  59. \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
  60.  
  61.  
  62.  
  63.  
  64. \renewcommand{\baselinestretch}{1}
  65. \bibliographystyle{IEEEtran}
  66. \bibliography{reference}
  67.  
  68. \end{document}


This is the pdf generated, which contains all problems described in the original thread.
Image

User avatar
Stefan Kottwitz
Site Admin
Posts: 8529
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jul 07, 2017 5:28 am

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
Site admin

zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Postby zzzhhh » Fri Jul 07, 2017 5:50 am

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: 8529
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jul 07, 2017 6:05 am

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.
Site admin

zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

Postby zzzhhh » Fri Jul 07, 2017 6:22 am

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

Postby zzzhhh » Sat Jul 08, 2017 3:39 am

It's been handled.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 7 guests