GeneralReference title modifications

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
vishes4u
Posts: 4
Joined: Sat Jan 19, 2008 10:05 am

Reference title modifications

Post by vishes4u »

Hello,

I'm using a class file modified from the ieeeconf.cls to write an article (non IEEE format). I want to change the title of the reference section from all caps (by default with this cls file) to capitals n small letters. I have not been able to over write the original commands in the class file (I probably am not doing it right!). Is there a command that i can include in my main tex file to change the way the reference title looks (small caps, bold fonts, etc). I am using pdflatex on TeXnic Center. Thanx in advance,

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Reference title modifications

Post by localghost »

Please provide some code in the sense of a minimal working example (MWE) and include the required class file in the attachment.


Best regards and welcome on Board
Thorsten
vishes4u
Posts: 4
Joined: Sat Jan 19, 2008 10:05 am

Re: Reference title modifications

Post by vishes4u »

Hello,

Here is the code in a very simple form.

\documentclass[a4paper, 10 pt, conference]{ieeeconf} % Comment this line out
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{helvet} \renewcommand{\familydefault}{\sfdefault}
\oddsidemargin 0.56in
\evensidemargin 0.56in
\textwidth 5.5in
\topmargin 0.1in
\textheight 9.4244in

\IEEEoverridecommandlockouts
\onecolumn
\title{Altering Reference label in this file}
\author{Myself}
\begin{document}
\maketitle
\thispagestyle{empty}
\pagestyle{empty}

\begin{abstract}
Dummy text \cite{Puttige2006}.
\end{abstract}

\section{\normalfont{\textbf{Intro}}}
I have the option to change the fonts of this section by the use of the normalfont and the textbf command. How can I get the Reference label in the next section to look similar to the label of this section?

\begin{thebibliography}{10}

\bibitem{Puttige2006}
Vishwas Puttige and Sreenatha Anavatti.
\newblock Real-time neural network based online identification technique for a
uav platform.
\newblock In {\em International Conference on Computational Intelligence for
Modeling Control Application}, page~92, Washington, DC, USA, 2006. IEEE
Computer Society.

\end{thebibliography}
\end{document}

How can I make the reference label look similar to the Intro section label?
Can someone also please tell me how can i left justify the author name. I tried using the flushleft command but TeXnicCenter complained of errors. Thanks a lot in advance,

Cheers,
Vishes4u
Attachments
ieeeconf.cls
This is the standard IEEE class file available for a conference paper.
(197.32 KiB) Downloaded 415 times
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Reference title modifications

Post by Juanjo »

To get bold section titles, put this in the preamble:

Code: Select all

\makeatletter
\if@confmode % for conference mode
\renewcommand{\section}{\@startsection{section}{1}{\z@}{1.5ex plus 1.5ex minus 0.5ex}%
   {0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape\bfseries}}
\else % for journals
\renewcommand{\section}{\@startsection{section}{1}{\z@}{3.0ex plus 1.5ex minus 1.5ex}%
   {0.7ex plus 1ex minus 0ex}{\normalfont\normalsize\centering\scshape\bfseries}}
\fi
\makeatother
Of course, don't write \section{\normalfont{\textbf{Intro}}}, but just \section{Intro}.
vishes4u
Posts: 4
Joined: Sat Jan 19, 2008 10:05 am

Re: Reference title modifications

Post by vishes4u »

Hello Sven,

Thank you very much. That piece of code did help. I just had to put the \normalfont before the \textbf in the renewcommand statement of your code ({\normalsize\scshape\normalfont\bfseries}). It works just fine. Thanks again,

Regards,
Vishes4u
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Reference title modifications

Post by Juanjo »

vishes4u wrote:Hello Sven,

Thank you very much. That piece of code did help. I just had to put the \normalfont before the \textbf in the renewcommand statement of your code ({\normalsize\scshape\normalfont\bfseries}). It works just fine. Thanks again,

Regards,
Vishes4u
Sven? Have to put \normalfont before \textbf in \renewcommand? ... Cross posting? Anyway, congratulations if you have solved your problem.
vishes4u
Posts: 4
Joined: Sat Jan 19, 2008 10:05 am

Re: Reference title modifications

Post by vishes4u »

Sorry Juanjo,

My bad.. The reply was for u. Donno where i got the wrong name :lol: Yes I did interchange them in the renewcommand. Thanks again!! Gr8 help.

Cheers,
Vishwas
Post Reply