Text FormattingAbstract Formatting Problem

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
dbboy
Posts: 5
Joined: Thu Oct 29, 2015 11:06 am

Abstract Formatting Problem

Post by dbboy »

Hi Everyone,
I have a problem with Formatting the abstract for a journal. The Journal requires that the Abstract is spread over the paper width rather than the top of the left column, which I've done it but in their sample the word "Abstract" must be at the beginning of the paragraph rather than the Top and whatever I do I can not get it right. Please refer to the Pictures(JornalSample.jpg and Myformatting.JPG). Also I have copied the code which I am using for the abstract.

Code:

Code: Select all

\twocolumn[
 \begin{@twocolumnfalse}
  \maketitle
\begin{abstract}
%\boldmath
This electronic document is a “live” template. The various components of your paper are already defined on the style sheet, as illustrated by the portions given in this document. DO NOT USE SPECIAL CHARACTERS,SYMBOLS, OR MATH IN YOUR TITLE OR ABSTRACT.
\end{abstract}
\end{@twocolumnfalse}

\IEEEpeerreviewmaketitle

\begin{IEEEkeywords}
\textit{Indoor localization, location fingerprinting, RSS, faded signals, wireless LANs, WKNN}
\end{IEEEkeywords}
]
I appreciate if you can help me with this.
Thank you all in advance,
Attachments
how it should look like
how it should look like
dbboyJournalExample.jpg (80.6 KiB) Viewed 14640 times
current state
current state
dbboyAbstract.jpg (39.63 KiB) Viewed 14640 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Abstract Formatting Problem

Post by Johannes_B »

Code: Select all

\documentclass{IEEEtran}
\usepackage{blindtext}
\begin{document}
\begin{abstract}
	\blindtext
\end{abstract}
\end{document}
I need to see a minimal working example to say more.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
dbboy
Posts: 5
Joined: Thu Oct 29, 2015 11:06 am

Abstract Formatting Problem

Post by dbboy »

Dear Johannes,
Thanks for your reply,
Here is the minimal working example which Abstract is staying on top and I don't know how to push it to the beginning of the paragraph like "JournalSample.JPG" provided above.
Thank you in advance

Code: Select all

\documentclass[conference]{IEEEtran}
\usepackage{pgfplots}
\usepackage[justification=centering]{caption,subcaption}
\usepackage[english]{babel}
\addto\captionsenglish{\renewcommand{\figurename}{Fig.}}
\usepackage{multirow}
\usepackage{cite}
\usepackage[T1]{fontenc}
\usepackage{color}

\begin{document}

\twocolumn[
 \begin{@twocolumnfalse}

\begin{abstract}
This electronic document is a live template. The various components of your paper title, text, heads, etc. are already defined on the style sheet, as illustrated by the portions given in this document. DO NOT USE SPECIAL CHARACTERS,SYMBOLS, OR MATH IN YOUR TITLE OR ABSTRACT.
\end{abstract}
\end{@twocolumnfalse}

\IEEEpeerreviewmaketitle

\begin{IEEEkeywords}
\textit{Indoor localization, location fingerprinting, RSS, faded signals, wireless LANs, WKNN}
\end{IEEEkeywords}
]
\end{document}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Abstract Formatting Problem

Post by Johannes_B »

Code: Select all

\documentclass[conference]{IEEEtran}
\usepackage{blindtext}
\begin{document}

\twocolumn[
		\begin{abstract}
			This electronic document is a live template. The various components of your paper title, text, heads, etc. are already defined on the style sheet, as illustrated by the portions given in this document. DO NOT USE SPECIAL CHARACTERS,SYMBOLS, OR MATH IN YOUR TITLE OR ABSTRACT.
		\end{abstract}

	\IEEEpeerreviewmaketitle

	\begin{IEEEkeywords}
		\textit{Indoor localization, location fingerprinting, RSS, faded signals, wireless LANs, WKNN}
	\end{IEEEkeywords}
]
\blindtext
\end{document}\documentclass{IEEEtran}
\usepackage{blindtext}
\begin{document}
\IEEEpeerreviewmaketitle
\begin{abstract}
	\blindtext
\end{abstract}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
dbboy
Posts: 5
Joined: Thu Oct 29, 2015 11:06 am

Abstract Formatting Problem

Post by dbboy »

That works great for the Abstract Thanks but the Paper title and Authors diapered. Do you mind to see this code. I can't thank you enough.

Code: Select all

\documentclass[conference]{IEEEtran}
\usepackage{blindtext}

\begin{document}

\title{Paper Title}


% author names and affiliations
\author{\IEEEauthorblockN{First Last}
\IEEEauthorblockA{Faculty of Pure and Applied Sciences\\
University Name\\
City,Country\\
Email: email@email.com}
\and
\author{\IEEEauthorblockN{First2 Last2}
\IEEEauthorblockA{Faculty of Pure and Applied Sciences\\
University Name2\\
City,Country\\
Email: email2@email.com}}

\twocolumn[
                \begin{abstract}
                        This electronic document is a live template. The various components of your paper title, text, heads, etc. are already defined on the style sheet, as illustrated by the portions given in this document. DO NOT USE SPECIAL CHARACTERS,SYMBOLS, OR MATH IN YOUR TITLE OR ABSTRACT.
                \end{abstract}

        \IEEEpeerreviewmaketitle

        \begin{IEEEkeywords}
                \textit{Indoor localization, location fingerprinting, RSS, faded signals, wireless LANs, WKNN}
        \end{IEEEkeywords}
]
\blindtext
\end{document}\documentclass{IEEEtran}
\usepackage{blindtext}
\begin{document}
\IEEEpeerreviewmaketitle
\begin{abstract}
        \blindtext
\end{abstract}
\end{document}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Abstract Formatting Problem

Post by Johannes_B »

The way you entered the authors wasn't right.

Code: Select all

\author{\IEEEauthorblockN{First Last}
\IEEEauthorblockA{Faculty of Pure and Applied Sciences\\
	University Name\\
	City,Country\\
Email: email@email.com}
\IEEEauthorblockN{First2 Last2}
\IEEEauthorblockA{Faculty of Pure and Applied Sciences\\
	University Name2\\
	City,Country\\
Email: email2@email.com}}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
dbboy
Posts: 5
Joined: Thu Oct 29, 2015 11:06 am

Re: Abstract Formatting Problem

Post by dbboy »

Sorry I cannot spot what has changed in the text you posted and when I check it on overleaf it gives me error, it doesn't compile.(Please see the error.jpg).
Shouldn't be "/maketitle" somewhere after Authors?
This is the only thing left (Title and Authors to come back), I really appreciate your help,
Thank you in advance,
Attachments
error.JPG
error.JPG (110.9 KiB) Viewed 14625 times
dbboy
Posts: 5
Joined: Thu Oct 29, 2015 11:06 am

Re: Abstract Formatting Problem

Post by dbboy »

Finally I fixed the Title issue as well. Thank you very much for your great help, you really made my day.
Have a great time and thanks again.
Post Reply