Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In latex, when I write ,

\subsubsection*{a}

it produces

a:

but I want to write

a)

How should I do this.

share|improve this question

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
add comment

1 Answer 1

up vote 3 down vote accepted

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...

share|improve this answer
    
this is fantastic. thank you. –  Aditya Kumar Jan 28 '12 at 1:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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