I have an input file like this:
some_entry 123
another_entry 456
yet_another_entry 789
and I want to typeset it as a table with:
\pgfplotstabletypeset[col sep=space]{FILENAME}
Problem is that LaTeX seems to interpret the underscores as a command to typeset subscript.
Escaping the underscores in the input file does not work.
\begingroup\makeatletter\@makeother\_\pgfplotstabletypeset[col sep=space]{FILENAME}\endgroupmight work – egreg Apr 8 '12 at 16:09