I'm looking for a simple way to have underscores in my column names with the pgfplotstable package.

Something like every head row/.style={string replace={_}{\_}} would be great to work.




capt1_i capt2_i led_o
0 1 1
0 1 0
1 0 0
1 1 1


    % what I actually need to do for each column name individually
    columns/capt1_i/.style={column name=capt1\_i},
    columns/capt2_i/.style={column name=capt2\_i},
    columns/led_o/.style={column name=led\_o},
    %every head row/.style={string replace={_}{\_}}, % would be great to work instead...



You must log in to answer this question.

Browse other questions tagged .