1

In latex, when I write ,

\subsubsection*{a}

it produces

a:

but I want to write

a)

How should I do this.

migrated from stackoverflow.com Jan 27 '12 at 21:18

This question came from our site for professional and enthusiast programmers.

  • What documentclass are you using? \subsection* would not usually insert punctuation after the title at all... – Ulrich Schwarz Jan 27 '12 at 18:45
  • actually it is \subsubsection, sorry for the mistake. for \subsection it's fine. And I am using \documentclass[conference]{IEEEtran} – Aditya Kumar Jan 27 '12 at 18:53
  • Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. – Werner Jan 27 '12 at 21:33
4

The following minimal example produces what you're after, modifying the "punctuation" of IEEEtran from : to ):

enter image description here

\documentclass[conference]{IEEEtran}% http://ctan.org/pkg/ieeetran
\makeatletter
\renewcommand{\@IEEEsectpunct}{)\ \,}% Modified from {:\ \,}
\makeatother
\begin{document}
\section{A section}
\subsection{A subsection}
\subsubsection*{a}
\subsubsection*{b}
\subsubsection*{c}
​\end{document}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

You could, of course, also just use a list environment to obtain the same numbering...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.