TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right now this I'm getting this for my first subsubsection:


I would like for this to be


Does anybody know if it is possible to remove the first dot and put G and 1 together without a space between? Code below:



\subsubsection{Hello World} % G.1.1 I want it to be G1.1

share|improve this question
Welcome to TeX.sx! I took the liberty to reduce your code to a minimal working example (MWE). Please always do that before posting a question here; a MWE is our standard format and requirement, which makes it easier for others to identify your problem and help you with it. It actually turned out that none of your -- admittedly nicely organized -- preamble was relevant to the problem. You did forget \end{document} though. And I'd recommend using braces {} for \renewcommand. – doncherry Sep 21 '12 at 4:24
up vote 6 down vote accepted

You have to redefine \thesubsection, i.e.,

share|improve this answer
Almost there, but now i'm getting 71.1 instead on G1.1? – Niels Sønderbæk Sep 20 '12 at 23:10
@NielsSønderbæk: Use \renewcommand\thesection{\Alph{section}} \renewcommand{\thesubsection}{\thesection\arabic{subsection}}. – Harish Kumar Sep 20 '12 at 23:11
I accidentally deleted my first \renewcommand, which is what caused the mistake. Thank you so much! – Niels Sønderbæk Sep 20 '12 at 23:11

Your Answer


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.