How can I import all the elements of a csv file along with corresponding eps files? Basically I have 3 columns, NSC, Name, Structure. I was able to import text using csvsimple
package and I think I have figured out how to import an image of the structure. I wrote the macro into the csv file directly. For example I entered: {\tikz \node[inner sep=0pt] at (0,0) {\includegraphics[width=.4\textwidth]{chemstruc4.png}};}
. The result is shown below, however I have too much white padding and there are mysterious quotation marks. How can remove the quotes, center the content and make the fitment/alignment tighter? Thanks.
\documentclass{standalone}
\usepackage{csvsimple}
\usepackage{array}
\usepackage{booktabs}
\usepackage{tikz}
\begin{document}
\csvreader[head to column
names,tabular=m{0.2\linewidth}m{0.3\linewidth}m{0.5\linewidth},table
head=\toprule\bfseries NSC & \bfseries Name & \bfseries strucPath
\\\midrule,table foot=\bottomrule]%
{pseudoDF.csv}{}%
{\pseudoNSC & \pseudoName & \strucPath}
\end{document}