3

I am using IEEEtran (with the conference option). I would like to remove a period at the end of the title.

\documentclass[conference,compsoc]{IEEEtran}

\begin{document}
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\end{document}

This example results:

1. Section
1.1. Subsection
1.1.1. Subsubsection.

How I can remove the period after \subsubsection?

2

1 Answer 1

5

The reason behind this stems from the difference between how \section and \subsection is set when compared to \subsubsection. The former two use a display style, while the latter uses a run-in style. In order to separate the sectional unit title/header from being too close to the content, IEEEtran mentions this in the class file:

% TITLING OF SECTIONS
\def\@IEEEsectpunct{:\ \,}  % Punctuation after run-in section heading  (headings which are
                            % part of the paragraphs), need little bit more than a single space
                            % spacing from section number to title
% compsoc conferences use regular period/space punctuation
\ifCLASSOPTIONcompsoc
\ifCLASSOPTIONconference
\def\@IEEEsectpunct{.\ }
\fi\fi

You can update \@IEEEsectpunct for "lower level headings" to just be (say) a space:

enter image description here

\documentclass[conference,compsoc]{IEEEtran}

\makeatletter
\renewcommand{\@IEEEsectpunct}{~}
\makeatother

\begin{document}

\section{Section}
This is a display section.

\subsection{Subsection}
This is a display subsection.

\subsubsection{Subsubsection}
This is a run-in subsubsection.

\end{document}

Note that changing class styles for an article that will be submitted for print is not advised, since the journal will remove any special modifications anyway.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .