SHARE
TWEET

Untitled

a guest Jul 12th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage{datatool,filecontents}
  3. begin{filecontents*}{test1.csv}
  4. Acol, Bcol
  5. Ax,Bx
  6. Ay,By
  7. A1,B22
  8. A2,B44
  9. A3,B11
  10. end{filecontents*}
  11. DTLloaddb{mydata}{test1.csv}
  12. expandafterdefcsname varxendcsname{10cm}
  13. begin{document}
  14.  
  15. DTLforeach{mydata}{A=Acol,B=Bcol}%
  16. {%
  17.  A hspace{csname varxendcsname} B
  18.  newpage
  19. }%
  20.  
  21. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top