-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTable.sty
34 lines (30 loc) · 1.05 KB
/
Table.sty
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
\usepackage[round-precision = 5, round-mode = figures]{siunitx}
\newcommand{\CellFormat}[2]{
\setlength{\tabcolsep}{0pt}
\begin{tabular}{c}
\num{#1}\tabularnewline
\hline
\num{#2}\tabularnewline
\end{tabular}
}
\usepackage{colortbl}
\usepackage{xcolor}
\usepackage{cancel}
\newcommand{\CellFormatMeanSD}[2]{\CellFormat{#1}{#2}}
\newcommand{\ResultRankA}[1]{\cellcolor[gray]{0.6}#1}
\newcommand{\ResultRankB}[1]{\cellcolor[gray]{0.8}#1}
\newcommand{\ResultRankC}[1]{#1}
\newcommand{\ResultRankD}[1]{#1}
\newcommand{\ResultRankE}[1]{#1}
\newcommand{\ResultRankF}[1]{#1}
\newcommand{\ResultRankG}[1]{#1}
\newcommand{\ResultRankH}[1]{#1}
\newcommand{\ResultRankI}[1]{#1}
\newcommand{\ResultRankJ}[1]{#1}
\newcommand{\ResultDifferent}[1]{#1$^\dagger$}
\newcommand{\ResultIdentical}[1]{#1}
\newcommand{\CellFormatDiffSig}[2]{\CellFormat{#1}{#2}}
\newcommand{\ResultSignificantlyBetter}[1]{\cellcolor{gray!50}#1}
\newcommand{\ResultSlightlyBetter}[1]{\cellcolor{gray!50}\cancel{#1}}
\newcommand{\ResultSignificantlyWorse}[1]{#1}
\newcommand{\ResultSlightlyWorse}[1]{\cancel{#1}}