Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. % packages
  2. \usepackage{amsmath,amsfonts,amssymb,amsthm}
  3. \usepackage{hyperref}
  4. \usepackage{xspace}
  5. \usepackage{algorithm}
  6. \usepackage{algorithmic}
  7. \usepackage{color}
  8. \usepackage{graphicx}
  9. \usepackage{mathtools}
  10. \usepackage{footmisc}
  11. \usepackage{subfigure}
  12.  
  13. % amsthm config
  14. \newtheorem{assumption}{Assumption}
  15. \newtheorem{theorem}{Theorem}
  16. \newtheorem{lemma}{Lemma}
  17. \newtheorem{corollary}{Corollary}
  18. \newtheorem{proposition}{Proposition}
  19. \newtheorem{remark}{Remark}
  20. \newtheorem{definition}{Definition}
  21.  
  22. % autoref config
  23. \newcommand{\assumptionautorefname}{Assumption}
  24. \newcommand{\theoremautorefname}{Theorem}
  25. \newcommand{\lemmaautorefname}{Lemma}
  26. \newcommand{\corollaryautorefname}{Corollary}
  27. \newcommand{\propositionautorefname}{Proposition}
  28. \newcommand{\remarkautorefname}{Remark}
  29. \newcommand{\definitionautorefname}{Definition}
  30. \newcommand{\figureautorefname}{Figure}
  31. \newcommand{\subfigureautorefname}{Figure}
  32. \newcommand{\tableautorefname}{Table}
  33. \newcommand{\algorithmautorefname}{Algorithm}
  34. \newcommand{\algorithmicautorefname}{Algorithm}
  35. \newcommand{\sectionautorefname}{Section}
  36. \newcommand{\subsectionautorefname}{Section}
  37. \newcommand{\subsubsectionautorefname}{Section}
  38.  
  39. % change algorithm heading
  40. \renewcommand{\algorithmicrequire}{\textbf{Input:}}
  41. \renewcommand{\algorithmicensure}{\textbf{Output:}}
  42.  
  43. % common operators
  44. \newcommand{\argmin}{\mathop{\mathrm{argmin}}}
  45. \newcommand{\argmax}{\mathop{\mathrm{argmax}}}
  46.  
  47. % common abbreviations
  48. \providecommand{\eg}{\textit{e.g.}\@\xspace}
  49. \providecommand{\ie}{\textit{i.e.}\@\xspace}
  50. \providecommand{\wrt}{\textit{w.r.t.}\@\xspace}
  51. \providecommand{\etal}{\textit{et al}\@\xspace}
  52.  
  53. % reviewer tag
  54. \def\mxj#1{{\color{red}{\bf [Xiaojian:} {\it{#1}}{\bf ]}}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement