I'm fairly new to Latex. I tried to make the table of contents like:



A. Text

B. Text

In main body, I use

\titlelabel{\thetitle.\ }

to create headings like:

A. Text




And it works well.

But when I use


to create the contents, it shows me:



A Text

B Text

So only the chapter title has a dot after its number, subsection and subsubsection don't. And there are many spaces between the number and title. How can I add the dot back and reduce the unwanted spaces?

closed as unclear what you're asking by Mensch, Andrew Swann, Symbol 1, Werner, Svend Tveskæg Sep 13 '15 at 14:35

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – LaRiFaRi Sep 1 '15 at 8:16
  • Are you trying to produce appendices? Please say more about what you want to do with a MWE. – user11232 Sep 1 '15 at 8:26

Browse other questions tagged or ask your own question.