-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhead_maintext.sty
34 lines (29 loc) · 1.02 KB
/
head_maintext.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
\usepackage{xr}
\externaldocument[SM-]{SupportingInformation}
\usepackage{setspace}
\doublespacing
%\usepackage{indentfirst}
%\usepackage{siunitx}
\usepackage{array} % This line fixed error in array lining (tex table...)
\usepackage{hyperref}
\usepackage{lineno}
%\linenumbers
\hypersetup{linkcolor=red}
\usepackage{caption}
\captionsetup[figure]{width=16cm}
\captionsetup[figure]{font={stretch=1.5}}
\captionsetup[table]{width=16cm}
\captionsetup[table]{font={stretch=1.5}}
\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}}
\newcommand{\reumax}{\operatorname{max}}
\usepackage[nomarkers,nolists]{endfloat}
% This lines to use longtable option in rmarkdown with endfloat environment
\let\normallongtable=\longtable
\renewcommand{\longtable}{\clearpage\normallongtable}
\DeclareDelayedFloatFlavour*{longtable}{table}