I would like to have a section title of special type: I need it to be a letter with a figure in superscript. My code (that does not work) would be:



Is it possible to do this?


1 Answer 1


You can either \protect the command from expanding via


or make it robust using something like etoolbox:

enter image description here

  • Thank you, both work very well. Can you, please, explain, what does the \protect command do?
    – Suzie
    Apr 25, 2014 at 16:09
  • 1
    @Suzie: You should read What is the difference between Fragile and Robust commands? Specific to your case, the argument of \section is considered to be a "moving argument" as it not only winds up in the text where you place it, but also possibly in the ToC. As such, it is written to file where full expansion is attempted unless you \protect (or \robustify) it. Also see David's comment on this topic.
    – Werner
    Apr 25, 2014 at 16:36

You must log in to answer this question.

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