Guest User

Untitled

a guest
Oct 18th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. begin{document}
  2. This (1) is (2).
  3.  
  4. (1: book)
  5. (2: good)
  6. end{document}
  7.  
  8. «This book is good.»
  9.  
  10. documentclass{article}
  11. defmylabel(#1: #2){expandafterdefcsname MY#1endcsname{#2}}
  12. defmyref(#1){csname MY#1endcsname}
  13. begin{document}
  14. mylabel(1: book)
  15. mylabel(2: good)
  16.  
  17. This myref(1) is myref(2).
  18. end{document}
  19.  
  20. documenclass{article}
  21. newcommandsubA{book}
  22. newcommandsubB{good}
  23.  
  24. begin{document}
  25. This subA{} is subB.
  26. end{document}
Add Comment
Please, Sign In to add comment