I managed to change the labels in enumerate, but when I use a \label and \ref it keeps giving me brackets like ()REQ-2.0-C. How do I get rid of the brackets?

%begin requirement listing definition






%end requirement listing definition

closed as unclear what you're asking by Andrew Swann, CarLaTeX, Zarko, Mico, Stefan Pinnow May 23 '17 at 11:33

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.

  • 1
    Please make your example compilable (MWE). That includes the documentclass and the document environment. – TeXnician May 7 '17 at 11:22
  • 1
    Is the label empty like ()REQ-2.0-C or is it like (REQ-2.0-C)? – Moriambar May 7 '17 at 11:35
  • 1
    I suggest you use the enumitem package: it defines keys label=(formatting commands) and ref=(own formatting commands). – Bernard May 7 '17 at 12:01
  • Please have a look here: tex.stackexchange.com/questions/118445 – clemens May 7 '17 at 12:50
  • \labelenumi is used to format \item. \p@enumi is used to format \label (actually, \@currentlabel). – John Kormylo May 7 '17 at 18:13

Browse other questions tagged or ask your own question.