How do I set an xlist environment inside an exe environment to use lowercase roman numeration? It always defaults to lowercase letters.

  • 4
    Welcome to TeX.SX! Where are the xlist and exe environment defined? – egreg Oct 28 '18 at 21:46
  • 2
    Are you using gb4e? – egreg Oct 28 '18 at 22:16
  • Yes I'm using gb4e – user242292 Oct 29 '18 at 1:25
  • 3
    @ydnfmew: You'll have to be more forthcoming. Please provide code that starts with \documentclass and ends with \end{document} that we can copy-and-paste-and-compile and see exactly what you're seeing. – Werner Oct 29 '18 at 1:57
  • You got two excellent answers here. What prevents you from accepting one of them? – user121799 Mar 10 '19 at 4:14

Without seeing a minimal working example it is difficult to be sure, but I think that you just need to redefine \thexnumii, which you can do with:


Of course, if you are going to nest these further then you should also redefine \thexnumiii etc. Doing this you get the output

enter image description here

from the MWE (which is adapted from the gb4e manual):



  \begin{exe}                   % sets up the top-level example environment
    \ex\label{here} Here is one.  % example with running number
    \ex[*]{Here another is.}      % judged ex. with running number
    \ex Here are some with judgements.
     \begin{xlist}                % first embedding (alphabetical numbering)
     \ex[]{A grammatical sentence am I.}
     \ex[*]{An ungrammatical sentence is you.}
     \ex[??]{A dubious sentence is she.}
     \ex                          % just the number
     \ex Dare to judge me!
     \end{xlist}                  % end first embedding
    \ex This concludes our demonstration.


The gb4e package comes with variants of the xlist lists:

enter image description here

So there's no need to change the format of the xnumii counter manually.

\ex An example.
\ex Another example.

output of code

If you want to do this globally for all instances of xlist, and you are only using one level of xlist in the document, you could simply add


to your preamble.

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.