Text FormattingAlign Abstract Title with Text

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
farnaz
Posts: 9
Joined: Tue Nov 08, 2011 7:00 am

Align Abstract Title with Text

Post by farnaz »

Hi,
When I use \begin{abstract} the abstract title appears in above of text. The file I use is a template. However, I want to align abstract title with its text. I mean that in output pdf abstract part is shown like following:
Abstract: In this paper...
Would any one help me?

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

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Align Abstract Title with Text

Post by Stefan Kottwitz »

You could create your own abstract environment, or use \paragraph or any sectioning format for this, perhaps with a quote or quotation environment.

If you would like to get help in changing the template's abstract environment, you should post the template here as attachment. I guess it's not a secret template.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Align Abstract Title with Text

Post by localghost »

Take a look at the abstract package.


Thorsten
farnaz
Posts: 9
Joined: Tue Nov 08, 2011 7:00 am

Align Abstract Title with Text

Post by farnaz »

Stefan_K wrote:You could create your own abstract environment, or use \paragraph or any sectioning format for this, perhaps with a quote or quotation environment.

If you would like to get help in changing the template's abstract environment, you should post the template here as attachment. I guess it's not a secret template.

Stefan
here is my code:

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
‎%2345678901234567890123456789012345678901234567890123456789012345678901234567890‎
%        ‎1         2         3         4         5         6         7         8‎

%\documentclass[letterpaper, ‎10 pt‎, ‎conference]{ieeeconf}  % Comment this line out‎
                                                          % ‎if you need a4paper‎
‎\documentclass[a4paper‎, ‎10pt‎, ‎conference]{ieeeconf}      % Use this line for a4‎
                                                          % ‎paper‎

‎%\IEEEoverridecommandlockouts                              % This command is only‎
                                                          % ‎needed if you want to‎
                                                          % ‎use the \thanks command‎
‎%\overrideIEEEmargins‎
% ‎See the \addtolength command later in the file to balance the column lengths‎
% ‎on the last page of the document‎



% ‎The following packages can be found on http:\\www.ctan.org‎
\usepackage{titlesec}
‎\usepackage{graphicx} % for pdf‎, ‎bitmapped graphics files‎
‎%\usepackage{epsfig} % for postscript graphics files‎
‎%\usepackage{mathptmx} % assumes new font selection scheme installed‎
‎%\usepackage{times} % assumes new font selection scheme installed‎
‎‎‎\usepackage{amsmath} % assumes amsmath package installed‎
‎%\usepackage{amssymb}  % assumes amsmath package installed‎

‎\title{\LARGE \bf ‎
‎Preparation of Papers for IEEE Sponsored Conferences \& Symposia‎
}

‎%\author{ \parbox{3 in}{\centering Huibert Kwakernaak*‎
%         ‎\thanks{*Use the $\backslash$thanks command to put information here}\\‎
%         ‎Faculty of Electrical Engineering‎, ‎Mathematics and Computer Science\\‎
%         ‎University of Twente\\‎
%         ‎7500 AE Enschede‎, ‎The Netherlands\\‎
%         ‎{\tt\small h.kwakernaak@autsubmit.com}}‎
%         ‎\hspace*{ 0.5 in}‎
%         ‎\parbox{3 in}{ \centering Pradeep Misra**‎
%         ‎\thanks{**The footnote marks may be inserted manually}\\‎
%        ‎Department of Electrical Engineering \\‎
%         ‎Wright State University\\‎
%         ‎Dayton‎, ‎OH 45435‎, ‎USA\\‎
%         ‎{\tt\small pmisra@cs.wright.edu}}‎
%}

‎\author{\fontsize{‎11‎‎}‎{1‎‎‎3‎‎}‎Huibert Kwakernaak and Pradeep Misra% <-this % stops a space‎
‎\thanks{This work was not supported by any organization}% <-this % stops a space‎
‎\thanks{H‎. ‎Kwakernaak is with Faculty of Electrical Engineering‎, ‎Mathematics and Computer Science‎,
        ‎University of Twente‎, ‎7500 AE Enschede‎, ‎The Netherlands‎
        ‎{\tt\small h.kwakernaak@autsubmit.com}}%‎
‎\thanks{P‎. ‎Misra is with the Department of Electrical Engineering‎, ‎Wright State University‎,
        ‎Dayton‎, ‎OH 45435‎, ‎USA‎
        ‎{\tt\small pmisra@cs.wright.edu}}%‎
}


‎\begin{document}‎



‎\maketitle‎
‎\thispagestyle{empty}‎
‎\pagestyle{empty}‎
\titleformat{\section}{%
  \centering\normalfont\Large\bfseries}{\thesection}{1em}{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
‎\begin{abstract}‎

‎These instructions provide basic guidelines for preparing camera-ready (CR)‎
‎Proceedings-style papers‎. ‎This document is itself an example of the‎
‎desired layout for CR papers (inclusive of this abstract)‎. ‎The document‎
‎contains information regarding desktop publishing format‎, ‎type sizes‎, ‎and‎
‎type faces‎. ‎Style rules are provided that explain how to handle equations‎,
‎units‎, ‎figures‎, ‎tables‎, ‎references‎, ‎abbreviations‎, ‎and acronyms‎. ‎Sections‎
‎are also devoted to the preparation of the references and acknowledgments‎.

‎\end{abstract}‎


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

‎\subsection{Abbreviations and Acronyms}‎

‎Define abbreviations and acronyms the first time they are used in the text‎,
‎even after they have been defined in the abstract‎. ‎Abbreviations such as‎
‎IEEE‎, ‎SI‎, ‎CGS‎, ‎ac‎, ‎dc‎, ‎and rms do not have to be defined‎. ‎Do not use‎
‎abbreviations in the title unless they are unavoidable‎.

‎\subsection{Equations}‎

‎Number equations consecutively with equation numbers in parentheses flush‎
 ‎with the right margin‎, ‎as in (1)‎. ‎To make your equations more compact‎
 ‎you may use the solidus (/)‎, ‎the exp‎. ‎function‎, ‎or appropriate exponents‎.
  ‎Italicize Roman symbols for quantities and variables‎, ‎but not Greek symbols‎.
   ‎Use a long dash rather then hyphen for a minus sign‎. ‎Use parentheses to avoid‎
    ‎ambiguities in the denominator‎.
‎Punctuate equations with commas or periods when they are part of a sentence‎:
‎$$\Gamma_2 a^2‎ + ‎\Gamma_3 a^3‎ + ‎\Gamma_4 a^4‎ + ... ‎= \lambda \Lambda(x),$$‎
‎where $\lambda$ is an auxiliary parameter‎.

‎Be sure that the symbols in your equation have been defined before the‎
‎equation appears or immediately following‎.
‎Use ``(1),'' not ``Eq‎. ‎(1)'' or ``Equation (1),''‎
‎except at the beginning of a sentence‎: ‎``Equation (1) is‎ ...''.

   ‎\begin{figure}[!t]‎
      ‎\centering‎
      ‎%\includegraphics[scale=1.0]{figurefile}‎
      ‎\caption{Inductance of oscillation winding on amorphous‎
       ‎magnetic core versus DC bias magnetic field}‎
      ‎\label{figurelabel}‎
   ‎\end{figure}‎

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
‎\section{CONCLUSIONS AND FUTURE WORKS}‎

‎\subsection{Conclusions}‎

‎This is a repeat‎.
‎Position figures and tables at the tops and bottoms of columns‎.
‎Avoid placing them in the middle of columns‎. ‎Large figures and tables‎
‎may span across both columns‎. ‎Figure captions should be below the figures;‎
 ‎table captions should be above the tables‎. ‎Avoid placing figures and tables‎
  ‎before their first mention in the text‎. ‎Use the abbreviation ``Fig‎. ‎1''‎,
  ‎even at the beginning of a sentence‎.
‎Figure axis labels are often a source of confusion‎.
‎Try to use words rather then symbols‎. ‎As an example write the quantity ``Inductance"‎,
 ‎or ``Inductance L''‎, ‎not just‎.
 ‎Put units in parentheses‎. ‎Do not label axes only with units‎.
 ‎In the example‎, ‎write ``Inductance (mH)''‎, ‎or ``Inductance L (mH)''‎, ‎not just ``mH''‎.
 ‎Do not label axes with the ratio of quantities and units‎.
 ‎For example‎, ‎write ``Temperature (K)''‎, ‎not ``Temperature/K''‎.


‎\subsection{Future Works}‎

‎This is a repeat‎.
‎Position figures and tables at the tops and bottoms of columns‎.
‎Avoid placing them in the middle of columns‎. ‎Large figures and tables‎
‎may span across both columns‎. ‎Figure captions should be below the figures;‎
 ‎table captions should be above the tables‎. ‎Avoid placing figures and tables‎
  ‎before their first mention in the text‎. ‎Use the abbreviation ``Fig‎. ‎1''‎,
  ‎even at the beginning of a sentence‎.
‎Figure axis labels are often a source of confusion‎.
‎Try to use words rather then symbols‎. ‎As an example write the quantity ``Inductance"‎,
 ‎or ``Inductance L''‎, ‎not just‎.
 ‎Put units in parentheses‎. ‎Do not label axes only with units‎.
 ‎In the example‎, ‎write ``Inductance (mH)''‎, ‎or ``Inductance L (mH)''‎, ‎not just ``mH''‎.
 ‎Do not label axes with the ratio of quantities and units‎.
 ‎For example‎, ‎write ``Temperature (K)''‎, ‎not ``Temperature/K''‎.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
‎\section{ACKNOWLEDGMENTS}‎

‎The authors gratefully acknowledge the contribution of National Research Organization and reviewers' comments‎.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

‎References are important to the reader; therefore‎, ‎each citation must be complete and correct‎. ‎If at all possible‎, ‎references should be commonly available publications‎.

‎\begin{thebibliography}{99}‎

‎\bibitem{R1}‎
‎I‎. ‎Komanovskyand‎, ‎N‎. ‎McClamroch‎, ‎“Development in nonholonomic control problems,” IEEE Control Systems Magazine 15 (6) (1995) 20\_36‎.
‎\bibitem{R2}‎
‎G.A‎. ‎Lafferriere and H‎. ‎Sussmann‎, ‎“A differentjal geometric approach to motion planning,” in Nonholonomic Motion Planning‎, ‎Z‎. ‎Li and J.F‎. ‎Canny‎, ‎Eds.‎, ‎pp‎. ‎235-270‎. ‎Kluwer Academic Publishers‎, ‎1993‎.
‎\bibitem{R3}‎
‎R.W‎. ‎Brockett and L‎. ‎Dai‎, ‎“Nonholonomic kinematics and the role of elliptic functions in constructive controllability,” in Nonholonomic Motion Planning‎, ‎Z‎. ‎Li and J.F‎. ‎Canny‎, ‎Eds.‎, ‎pp‎. ‎1-22‎. ‎Kluwer Academic Publishers‎, ‎1993‎
‎\bibitem{R4}‎
‎S.S‎. ‎Ge‎, ‎Z‎. ‎Sun‎, ‎T.H‎. ‎Lee‎, ‎M.W‎. ‎Spong‎, ‎“ Feedback linearization and stabilization of second-order nonholonomic chained systems”‎, ‎International Journal  of Control 74 (15) (2001) 219\_245‎.
‎\bibitem{R5}‎
‎Z‎. ‎Xi‎, ‎G‎. ‎Feng‎, ‎Z.P‎. ‎Jiang‎, ‎D‎. ‎Cheng‎, ‎“A switching algorithm for global exponential  tabilization of uncertain chained systems‎, ‎” IEEE Transcations on Automatic Control V 48 (10) (2003) 1793\_1798‎.
‎\bibitem{R6}‎
‎X.W‎. ‎Mu‎, ‎J.M‎. ‎Yu‎, ‎W.P‎. ‎Bi‎, ‎D‎. ‎Cheng‎, ‎“Robust adaptive control of nonholonomic systems with uncertainties,” Applied Mathematics and Mechanics 25 (2004) 297\_304‎.
‎\bibitem{R7}‎
‎X.Y‎. ‎Zheng‎, ‎Y.Q‎. ‎Wu‎, ‎“Adaptive stabilization of uncertain nonholonomic systems by output feedback,” in‎: ‎Proc‎. ‎7th World Congress on Intelligent Control and Automation‎, ‎Chongqing‎, ‎2008‎, ‎pp‎. ‎876\_881‎
‎\bibitem{R8}‎
‎S.S‎. ‎Ge‎, ‎Zhuping Wang‎, ‎T.H‎. ‎Lee‎, ‎“Adaptive stabilization of uncertain nonholonomic systems by state andoutput feedback‎, ‎” Automatica 39 (2003) 1451 \_ 1460‎
‎\bibitem{R9}‎
‎Yandong Li‎, ‎Ling Zhu‎, ‎Zongyi Wang and Tao Liu‎, ‎“Trajectory Tracking for Nonholonomic Wheeled Mobile Robots Based on an Improved Sliding Mode Control Method,” 2009 ISECS International Colloquium on Computing‎, ‎Communication‎, ‎Control‎, ‎and Management‎ .
‎\bibitem{R10}‎
‎Theo J.A‎. ‎de Vries‎, ‎Wubbe J.R‎. ‎Velthuis‎, ‎Job van Amerongen‎, ‎“LEARNING FEED-FORWARD CONTROL‎: ‎A SURVEY AND HISTORICAL NOTE,” Proc‎. ‎1st IFAC Conf‎. ‎on Mechatronic Systems (Darmstadt‎, ‎Germany‎, ‎18–20 Sept‎. ‎2000)‎, ‎R‎. ‎Isermann (ed.)‎,
‎\bibitem{R11}‎
‎Zhong Ping Jiang‎, ‎Henk Nijmeijer,``Tracking Control of Mobile Robots‎: ‎A Case Study on Backstepping",\textit{ Automatica}‎, ‎Vol.33‎, ‎No.7‎, ‎pp 1393-1399‎, ‎1997‎.

‎\end{thebibliography}‎

‎\end{document}‎

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

Align Abstract Title with Text

Post by Stefan Kottwitz »

For example:

Code: Select all

\renewenvironment{abstract}{%
  \textbf{\abstractname:}\itshape}{%
  \vspace*{\baselineskip}}
Stefan
LaTeX.org admin
Post Reply