Skip to content

FR: setting a labelprefix #59

Description

@hu1buerger

Proposal

I want to add a prefix to a enumeration such that the table can be rendered from - to - :

1. one one one 
2. two two two 
3. three three three
--- 
RQ-1: one one one 
RQ-2: two two two \label{rq2}
RQ-3: three three three

And intext the following
\autoref{rq2} is supported by the results. Magic two is two.

should compile to:
RQ-2 is supported by the results. Magic two is two.

What i know:

\item[RQ-2] can be used to replace the label, jet it would need manual intervention if the enumeration becomes reordered.

What i checked:

The documentation at ctan

What i tried:

\item[RQ-\theenumi.] two two two \label{rq2}

results in the enumeration to not advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions