Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- usepackage{booktabs} % Needed for toprule, midrule, bottomrule
- pgfplotstableset{% Global config using {}
- every head row/.style={before row=toprule,after row=midrule},
- every last row/.style={after row=bottomrule},
- col sep=&,
- row sep=\,
- column type=l,
- column type={>{fontseries{bx}selectfontcolor{orange}}l}, %see sec 2.6 for defining column types
- string type,
- postproc cell content/.append style={ % see sec 3.2
- /pgfplots/table/@cell content/.add={fontseries{seriesdefault}selectfontcolor{black}}{}}
- }%
- newcommandtest{fullexpandargtexttt{hello}
- pgfplotstabletypeset{%
- col1 & test{} & col3\
- here & more & stuff\
- }%
- documentclass{article}
- usepackage{fontspec}
- usepackage{booktabs}
- usepackage{pgfplotstable}
- pgfplotstableset{% Global config
- every head row/.style={before row=toprule,after row=midrule},
- every last row/.style={after row=bottomrule},
- col sep=&,
- row sep=\,
- column type=l,
- column type={>{fontseries{bx}selectfontcolor{orange}}l}, %see sec 2.6 for defining column types
- string type,
- postproc cell content/.append style={ % see sec 3.2
- /pgfplots/table/@cell content/.add={fontseries{seriesdefault}selectfontcolor{black}}{}}
- }%
- newcommandtest{texttt{test}}
- begin{document}
- pgfplotstabletypeset{%
- col1 & col2 & col3\ % <-- I want to replace a cell with test{}
- here & more & stuff\
- for & good & looks\
- }%
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement