Emphasize one row in a table created with pgfplotstable
I read this article on "How to change a whole row of a table" but my
problem is that I have my table created with pgfplotstable from an
external file.
How could I set bold the characters of row number 7?
This is in my preamble
% For tables
\usepackage{pgfplotstable}
\usepackage{booktabs}
\usepackage{array}
\usepackage{caption}
\newcolumntype{C}{>{\centering\arraybackslash}m{2.5em}}
\newcolumntype{D}{>{\arraybackslash}m{15em}}
\newcolumntype{E}{>{\centering\arraybackslash}m{3.4em}}
\newcolumntype{F}{>{\centering\arraybackslash}m{4.4em}}
\pgfplotstableset{
font={\small},
empty cells with={--}, % replace empty cells with '--'
every head row/.style={before row=\toprule,after row=\midrule},
every last row/.style={after row=\bottomrule}
}
Then locally
% Add table
\begin{table} [h]
\caption{Breakdown of participation by gender (dependent variable)
(percentage)}
\centering
\pgfplotstabletypeset[
columns/Form of participation/.style={string type, column type=D},
col sep=comma]
{/my/path/power_distortions_off_online/gender_dependent.csv}
\captionsetup{font={footnotesize,bf,it}}
\caption*{Source: p. 196}
\label{gender_dependent}
\end{table}
This is my table file
Form of participation,No answer,Male,Female,Total
No reply,8.3,58.3,33.3,100
I attended one or more public meetings,3.7,63.9,32.4,
I attended other meetings about the public meetings,10.3,69,20.7,
I posted to the CPDP blog,11.1,66.7,22.2,
I asked a question on the DPOP Web site,7.7,84.6,7.7,
I asked a question by letter or prepaid postcard,22.2,55.6,22.2,
I asked a question or commented at a public meeting,10,83.9,16.1,
I looked for more information by mail or in documents,12.2,69.4,18.4,
I visited the CPDP Web sire,6.5,71.4,22.1,
Other,14.3,71.4,14.3,
Total,7.4,62.6,30.1,
No comments:
Post a Comment