You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
4.0 KiB

  1. % theorem-like environments
  2. % \newtheorem{thm}{Theorem}[section]
  3. % \newtheorem{cor}[thm]{Corollary}
  4. % \newtheorem{lem}[thm]{Lemma}
  5. % \newtheorem{definition}[thm]{Definition}
  6. \newtheorem{prop}{Proposition}
  7. % Definitions for old versions
  8. %% \newtheorem*{algorithm}{Algorithm}
  9. %% \theoremstyle{remark}
  10. %% \newtheorem*{rmk}{Remark}
  11. %% \newtheorem*{ToJane}{To Jane}
  12. %% \newtheorem*{ToDaniel}{To Daniel}
  13. %% \theoremstyle{plain}
  14. %% \newtheorem*{rd_algorithm}{Reference Deadline Algorithm}
  15. %% \newtheorem*{edf_rd}{EDF-RD Algorithm}
  16. %% \newtheorem*{PSA}{Period Synthesis Algorithm}
  17. %% \newtheorem*{priority_boosting_edf}{Priority-Boosting EDF Algorithm}
  18. %% % Using symbole as the footnote mark
  19. %% %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
  20. \newtheorem{plain_definition}{Definition}
  21. %% \def\singlespace{\baselineskip=11pt plus 2pt}
  22. %% \def\oneandonehalfspace{\baselineskip=17pt plus 4pt}
  23. %% \def\doublespace{\baselineskip=22pt plus 4pt}
  24. % \def\doublespace{\baselineskip=26pt plus 4pt}
  25. \newtheorem{theorem}{Theorem}
  26. \newtheorem{lemma}{Lemma}
  27. \def\slug{\hbox to 6pt{\hfill}\hfill\llap{\vrule height 6pt width 6pt depth 0pt}}
  28. \def\proof{\futurelet\next{\bf Proof:}}
  29. %\def\endproof{\hfill\slug}
  30. \def\endproof{\slug}
  31. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  32. \def\appear#1{\def\@appear{#1}}
  33. \appear{Conference of Fun}
  34. \newcount\timehh\newcount\timemm
  35. \timehh=\time \divide\timehh by 60
  36. \timemm=\time \count255=\timehh \multiply\count255 by -60 \advance\timemm by \count255
  37. \def\paperdraftheadertime{Draft of \today\ at \ifnum\timehh<10 0\fi\number\timehh\,:\,\ifnum\timemm<10 0\fi\number\timemm}%
  38. \def\paperdraftheaderday{\footnotesize Draft of \today\ for \@appear.\ }%
  39. \def\paperdraftheader{\paperdraftheaderday}
  40. \newcommand{\draft}{\pagestyle{myheadings}\markboth{\paperdraftheader\hfil}{\paperdraftheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}}
  41. \def\submission#1{\def\@submission{#1}}
  42. \submission{Conference of Fun}
  43. \def\submitheaderday{\footnotesize Submitted to \@appear.\ }%
  44. \def\submitheader{\submitheaderday}
  45. \newcommand{\submit}{\pagestyle{myheadings}\markboth{\submitheader\hfil}{\submitheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}}
  46. \def\appearinheaderday{\footnotesize Appeared in \@appear.\ }
  47. \def\appearinheader{\appearinheaderday}
  48. \newcommand{\appearin}{\pagestyle{myheadings}\markboth{\appearinheader\hfil}{\appearinheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}}
  49. \def\u#1{\underline{#1}}
  50. \newcommand{\good}{\ding{51}}
  51. \newcommand{\bad}{\ding{55}}
  52. \font\tenhv = phvb at 10pt
  53. \def\easycaption#1{\vskip 10pt \centerline{\tenhv #1}}
  54. \font\tenhvs = phvb at 8pt
  55. % ---- OPERATORS (requires amsmath) ----
  56. \def\aff{\operatorname{aff}} % (\Line is better!)
  57. \def\area{\operatorname{area}}
  58. \def\argmax{\operatornamewithlimits{arg\,max}}
  59. \def\argmin{\operatornamewithlimits{arg\,min}}
  60. \def\Aut{\operatorname{Aut}} % Automorphism group
  61. \def\card{\operatorname{card}} % cardinality, deprecated for \abs
  62. \def\conv{\operatorname{conv}} % (\overline is better!)
  63. \def\E{\operatorname{E}} % Expectation: $\E[X]$ (like \Pr)
  64. \def\EE{\operatornamewithlimits{E}}
  65. \def\Hom{\operatorname{Hom}} % Homomorphism group
  66. \def\id{\operatorname{id}} % identity
  67. \def\im{\operatorname{im}} % image
  68. \def\lcm{\operatorname{lcm}}
  69. \def\lfs{\operatorname{lfs}} % local feature size
  70. \def\poly{\operatorname{poly}}
  71. \def\polylog{\operatorname{polylog}}
  72. \def\rank{\operatorname{rank}}
  73. \def\rel{\operatorname{rel\,}} % relative (interior, boundary, etc.)
  74. \def\sgn{\operatorname{sgn}}
  75. \def\vol{\operatorname{vol}} % volume
  76. \def\fp#1{^{\underline{#1}}} % falling powers: $n\fp{d}$
  77. \def\rp#1{^{\overline{#1}}} % rising powers: $n\rp{d}$
  78. \usepackage{color,soul}
  79. \usepackage{myColor}
  80. \input{mycolor.cfg}
  81. \newcommand{\ap}{\ding{51}}
  82. \newcommand{\nap}{\ding{55}}
  83. \usepackage[colorinlistoftodos]{todonotes}
  84. %% \usepackage{easyReview}
  85. \newcommand{\add}[1]{\todo[color=red!40,inline]{#1}}
  86. \newcommand{\rewrite}[1]{\todo[color=green!40,inline]{#1}}
  87. %
  88. %
  89. % \newcommand{\argmax}{\mathop}{\mathrm{argmax}}}