defs_iop.tex 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. % -------------------------------------------------------------------------
  2. % Encoding, fonts, layout
  3. % -------------------------------------------------------------------------
  4. \usepackage[T1]{fontenc}
  5. \usepackage[utf8]{inputenc}
  6. \usepackage{lmodern}
  7. \usepackage{microtype}
  8. %\usepackage{float}
  9. \usepackage{booktabs}
  10. % ---------------------------
  11. % Better float behavior
  12. % ---------------------------
  13. %\setcounter{topnumber}{5}
  14. %\setcounter{bottomnumber}{5}
  15. %\setcounter{totalnumber}{10}
  16. %\renewcommand{\topfraction}{0.9}
  17. %\renewcommand{\bottomfraction}{0.85}
  18. %\renewcommand{\textfraction}{0.08}
  19. %\renewcommand{\floatpagefraction}{0.8}
  20. % -------------------------------------------------------------------------
  21. % Math
  22. % -------------------------------------------------------------------------
  23. \usepackage{amsmath,amssymb,bm,mathtools}
  24. \newcommand{\R}{\mathbb{R}}
  25. \DeclareMathOperator{\logit}{logit}
  26. % -------------------------------------------------------------------------
  27. % Numbers
  28. % -------------------------------------------------------------------------
  29. \usepackage{siunitx}
  30. \sisetup{
  31. detect-all,
  32. round-mode = places,
  33. round-precision = 3,
  34. round-pad = true
  35. }
  36. % -------------------------------------------------------------------------
  37. % Graphics
  38. % -------------------------------------------------------------------------
  39. \usepackage{graphicx}
  40. \usepackage[space]{grffile}
  41. \graphicspath{{./}{./figs/}{./Figures/}}
  42. % Figure width macros
  43. \newcommand{\figWfull}{\linewidth}
  44. \newcommand{\figWmed}{0.85\linewidth}
  45. \newcommand{\figWsmall}{0.70\linewidth}
  46. \newcommand{\figWwide}{0.90\linewidth}
  47. % -------------------------------------------------------------------------
  48. % Tables
  49. % -------------------------------------------------------------------------
  50. \usepackage[table]{xcolor}
  51. \usepackage{array,booktabs,adjustbox,tabularx,makecell,colortbl,multirow}
  52. %\setlength{\tabcolsep}{4pt}
  53. \definecolor{headerblue}{RGB}{52,73,94}
  54. \definecolor{lightgray}{RGB}{242,242,242}
  55. \rowcolors{2}{lightgray!25}{white}
  56. % -------------------------------------------------------------------------
  57. % Comments
  58. % -------------------------------------------------------------------------
  59. \newcommand{\mycomment}[1]{\textcolor{red}{{#1}}}
  60. % -------------------------------------------------------------------------
  61. % Captions/subfigures / lists/floats
  62. % -------------------------------------------------------------------------
  63. %\usepackage{caption}
  64. %\usepackage{subcaption}
  65. \usepackage{enumitem}
  66. \usepackage{placeins}
  67. %\captionsetup[figure]{font=small,labelfont=bf}
  68. %\captionsetup[table]{font=small,labelfont=bf}
  69. % -------------------------------------------------------------------------
  70. % Bibliography
  71. % -------------------------------------------------------------------------
  72. \usepackage[authoryear, round]{natbib}
  73. % -------------------------------------------------------------------------
  74. % Custom macros
  75. % -------------------------------------------------------------------------
  76. \newcommand{\NCgrp}{\mathrm{NC}}
  77. \newcommand{\AEgrp}{\mathrm{AE}}
  78. \newcommand{\SUV}{\mathrm{SUV}}
  79. \newcommand{\sigmoid}{\sigma}
  80. \newcommand{\CB}{\mathrm{CB}}
  81. \DeclareMathOperator*{\argmax}{arg\,max}
  82. \DeclareMathOperator*{\argmin}{arg\,min}
  83. \DeclareMathOperator{\softplus}{softplus}
  84. \DeclareMathOperator{\expit}{expit}
  85. \DeclareMathOperator{\Cov}{Cov}
  86. \DeclareMathOperator{\Var}{Var}
  87. \DeclareMathOperator{\Expect}{E}
  88. \newcommand{\Prob}{P}
  89. \newcommand{\bTheta}{\boldsymbol{\Theta}}
  90. \newcommand{\balpha}{\boldsymbol{\alpha}}
  91. \newcommand{\bbeta}{\boldsymbol{\beta}}
  92. \newcommand{\bphi}{\boldsymbol{\phi}}
  93. \newcommand{\bSigma}{\boldsymbol{\Sigma}}
  94. \newcommand{\comment}[2]{{\bfseries\color{red} #1: #2}}
  95. \newcommand{\commentX}[3]{{\bfseries\color{#1} #2: #3}}
  96. % -------------------------------------------------------------------------
  97. % IOP related macros
  98. % -------------------------------------------------------------------------
  99. \newcommand{\iopheader}[4]{%
  100. % #1 = Journal Name, #2 = Received Date, #3 = Revised Date, #4 = Article Type
  101. {\vspace*{-8mm}\noindent \Large \sf #1}
  102. \vspace*{8mm} \noindent\reversemarginpar
  103. \marginpar{\vspace{-3mm} {\color{gray}\hrule} \ \\ Crossmark\\ {\color{gray}\hrule} \ \\
  104. \tiny {\sf RECEIVED} {\small \\ #2}\\ \\
  105. {\sf REVISED} {\small \\ #3}
  106. }
  107. {\scriptsize \sf{\bfseries \MakeUppercase{#4}}}
  108. }
  109. \makeatletter
  110. \newcommand{\justifying}{%
  111. \rightskip\z@skip
  112. \leftskip\z@skip
  113. \spaceskip\z@
  114. \xspaceskip\z@
  115. \parindent 1.5em % Or your preferred indentation
  116. }
  117. \makeatother
  118. \justifying
  119. \renewenvironment{abstract}{%
  120. \vspace{16pt plus3pt minus3pt}
  121. {\color{gray}\hrule} \ \\
  122. \noindent \fontsize{11}{12}\selectfont {\bfseries Abstract}\\
  123. \rm\ignorespaces }{\vspace{3mm} {\color{gray}\hrule}}