Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. documentclass[varwidth]{standalone}
  2. usepackage{expl3}
  3. begin{document}
  4. ExplSyntaxOn
  5. % following is 60.0ptmm (which is 300/5,
  6. % not to mention silly units; ridiculous)
  7. dim_eval:n{300pt/5mm}\
  8.  
  9. % following is 14.22636pt (I guess/hope it's correct
  10. % conversion of 5mm to pt units)
  11. dim_eval:n{5mm}\
  12.  
  13. % following is 21.42857pt (which is 300/14,
  14. % not 300/14.22636)
  15. % followed by .22636pt (decimal of 14.22636pt;
  16. % which is also ridiculous)
  17. dim_eval:n{300pt/14.22636pt}
  18. ExplSyntaxOff
  19. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement