Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{cleveref}
  3. usepackage{enumitem}
  4.  
  5. crefname{prop}{property}{properties}
  6. newlist{Prop}{enumerate}{1}
  7. setlist[Prop]{label=arabic*., ref=arabic*}
  8. crefname{Prop}{property}{properties}
  9.  
  10. begin{document}
  11.  
  12. begin{enumerate}[ref=arabic*]
  13. item label[prop]{my:firstlabel}
  14. First property of the list
  15.  
  16. item label[prop]{my:secondlabel}
  17. Second property of the list
  18. end{enumerate}
  19.  
  20. We will discuss the implications of cref{my:firstlabel} and we will
  21. follow with cref{my:secondlabel}.bigskip
  22.  
  23. begin{Prop}[start=3]
  24. item label[Prop]{My:firstlabel}
  25. First property of this list
  26.  
  27. item label[Prop]{My:secondlabel}
  28. Second property of this list
  29. end{Prop}
  30. We will now discuss the implications of cref{My:firstlabel} and we will
  31. follow with cref{My:secondlabel}.
  32.  
  33. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement