Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. usepackage{booktabs} % Needed for toprule, midrule, bottomrule
  2. pgfplotstableset{% Global config using {}
  3. every head row/.style={before row=toprule,after row=midrule},
  4. every last row/.style={after row=bottomrule},
  5. col sep=&,
  6. row sep=\,
  7. column type=l,
  8. column type={>{fontseries{bx}selectfontcolor{orange}}l}, %see sec 2.6 for defining column types
  9. string type,
  10. postproc cell content/.append style={ % see sec 3.2
  11. /pgfplots/table/@cell content/.add={fontseries{seriesdefault}selectfontcolor{black}}{}}
  12. }%
  13.  
  14. newcommandtest{fullexpandargtexttt{hello}
  15.  
  16. pgfplotstabletypeset{%
  17. col1 & test{} & col3\
  18. here & more & stuff\
  19. }%
  20.  
  21. documentclass{article}
  22. usepackage{fontspec}
  23. usepackage{booktabs}
  24. usepackage{pgfplotstable}
  25. pgfplotstableset{% Global config
  26. every head row/.style={before row=toprule,after row=midrule},
  27. every last row/.style={after row=bottomrule},
  28. col sep=&,
  29. row sep=\,
  30. column type=l,
  31. column type={>{fontseries{bx}selectfontcolor{orange}}l}, %see sec 2.6 for defining column types
  32. string type,
  33. postproc cell content/.append style={ % see sec 3.2
  34. /pgfplots/table/@cell content/.add={fontseries{seriesdefault}selectfontcolor{black}}{}}
  35. }%
  36. newcommandtest{texttt{test}}
  37.  
  38. begin{document}
  39. pgfplotstabletypeset{%
  40. col1 & col2 & col3\ % <-- I want to replace a cell with test{}
  41. here & more & stuff\
  42. for & good & looks\
  43. }%
  44. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement