-
Notifications
You must be signed in to change notification settings - Fork 0
/
table_R.tex
65 lines (63 loc) · 1.5 KB
/
table_R.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%!TEX root=record.tex
\begin{table}[H]
\caption{Коэффициент Холла}
\label{tab:diod}
\pgfkeys{/pgf/number format/.cd,
fixed, 1000 sep={\,}}
\newlength\Colsep
\setlength\Colsep{10pt}
\xdef\Table{data/i.tsv}
\pgfplotstableset{
% multicolumn names, % allows to have multicolumn names
% header=has colnames,
dec sep align,
col sep=tab, % the seperator in our .csv file
fixed zerofill,
precision=4,
columns/i/.style={
column name={$i$, А},
precision=1,
},
columns/ubp2/.style={
column name={$U|_{J=+2\,\text{мА}}$, В},
% column type/.add={|}{},
},
columns/ubm2/.style={
column name={$U|_{J=-2\,\text{мА}}$, В},
% column type/.add={}{|}
},
columns/ubp5/.style={
column name={$U|_{J=+5\,\text{мА}}$, В},
},
columns/ubm5/.style={
column name={$U|_{J=-5\,\text{мА}}$, В},
% column type/.add={}{|}
},
columns/ubp8/.style={
column name={$U|_{J=+8\,\text{мА}}$, В},
},
columns/ubm8/.style={
column name={$U|_{J=-8\,\text{мА}}$, В},
},
empty cells with={\textbf{--}},
every head row/.style={
before row={\toprule},
after row={
\midrule}
},
every last row/.style={after row=\bottomrule},
every row/.style={after row=\midrule},
columns={i,ubp2,ubm2,ubp5,ubm5,ubp8,ubm8 },
% dec zerofill
% fixed,fixed zerofill,
% precision=3
every even column/.style={
% column type/.add={>{\columncolor[gray]{.8}}}{}
},
every even row/.style={
before row={\rowcolor[gray]{0.95}}
},
}
\centering
\pgfplotstabletypeset[]{\Table}
\end{table}