-
Notifications
You must be signed in to change notification settings - Fork 0
/
head_suppmat.sty
42 lines (35 loc) · 1.17 KB
/
head_suppmat.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
35
36
37
38
39
40
41
42
\renewcommand{\contentsname}{Sections}
\setcounter{figure}{0}
\renewcommand{\thefigure}{S\arabic{figure}}
\setcounter{table}{0}
\renewcommand{\thetable}{S\arabic{table}}
\setcounter{section}{0}
\renewcommand{\thesection}{S\arabic{section}}
\newcommand{\mean}{\operatorname{mean}}
\newcommand{\var}{\operatorname{var}}
\newcommand{\cor}{\operatorname{cor}}
\newcommand{\Ps}{\operatorname{P}}
\newcommand{\Dsq}{\operatorname{D}^2}
\newcommand{\rank}{\operatorname{rank}}
\newcommand{\cov}{\operatorname{cov}}
\usepackage{xr}
\usepackage{setspace}
\doublespacing
%\usepackage{indentfirst}
\usepackage{array}
\usepackage{hyperref}
%\usepackage{lineno}
%\linenumbers
\usepackage[nomarkers,nolists]{endfloat}
%\usepackage[nomarkers,nolists,heads]{endfloat}
\usepackage{caption}
\captionsetup[figure]{width=18cm}
\captionsetup[figure]{font={stretch=1.5}}
\captionsetup[table]{width=18cm}
\captionsetup[table]{font={stretch=1.5}}
\externaldocument[MT-]{MainText}
\hypersetup{linkcolor=red}
% This lines to use longtable option in rmarkdown with endfloat environment
\let\normallongtable=\longtable
\renewcommand{\longtable}{\clearpage\normallongtable}
\DeclareDelayedFloatFlavour*{longtable}{table}