Skip to content

Instantly share code, notes, and snippets.

@rpgoldman
Last active May 12, 2021 18:59
Show Gist options
  • Save rpgoldman/58ff7370ff6f774a09be686d024d00d2 to your computer and use it in GitHub Desktop.
Save rpgoldman/58ff7370ff6f774a09be686d024d00d2 to your computer and use it in GitHub Desktop.
Problem with typesetting math symbols
\def\year{2021}
%
%Filename: aaai21-mod.sty
%
\typeout{Conference Style for AAAI for LaTeX 2e -- version for the AAAI-21 conference - MODIFIED}
% WARNING: IF YOU ARE USING THIS STYLE SHEET FOR AN AAAI PUBLICATION, YOU
% MAY NOT MODIFY IT FOR ANY REASON. MODIFICATIONS (IN YOUR SOURCE
% OR IN THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER).
%
% WARNING: This style is NOT guaranteed to work. It is provided in the
% hope that it might make the preparation of papers easier, but this style
% file is provided "as is" without warranty of any kind, either express or
% implied, including but not limited to the implied warranties of
% merchantability, fitness for a particular purpose, or noninfringement.
% You use this style file at your own risk. Standard disclaimers apply.
% There are undoubtably bugs in this style. If you would like to submit
% bug fixes, improvements, etc. please let us know. Please use the contact form
% at www.aaai.org.
%
% Do not use this file unless you are an experienced LaTeX user.
%
%
% PHYSICAL PAGE LAYOUT
\setlength\topmargin{-0.25in} \setlength\oddsidemargin{-0.25in}
\setlength\textheight{9.0in} \setlength\textwidth{7.0in}
\setlength\columnsep{0.375in} \newlength\titlebox \setlength\titlebox{2.25in}
\setlength\headheight{0pt} \setlength\headsep{0pt}
%\setlength\footheight{0pt} \setlength\footskip{0pt}
\thispagestyle{empty} \pagestyle{empty}
\flushbottom \twocolumn \sloppy
% We're never going to need a table of contents, so just flush it to
% save space --- suggested by drstrip@sandia-2
\def\addcontentsline#1#2#3{}
% gf: PRINT COPYRIGHT NOTICE
\def\copyright@year{\number\year}
\def\copyright@text{Copyright \copyright\space \copyright@year,
Association for the Advancement of Artificial Intelligence (www.aaai.org).
All rights reserved.}
\def\copyright@on{T}
\def\nocopyright{\gdef\copyright@on{}} % Copyright notice is required for AAAI-21 papers.
\def\copyrighttext#1{\gdef\copyright@on{T}\gdef\copyright@text{#1}}
\def\copyrightyear#1{\gdef\copyright@on{T}\gdef\copyright@year{#1}}
% gf: End changes for copyright notice (used in \maketitle, below)
% Title stuff, taken from deproc.
\def\maketitle{\par
\begingroup % to make the footnote style local to the title
\def\thefootnote{\fnsymbol{footnote}}
% gf: Don't see why we'd want the footnotemark to be 0pt wide
%\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
\twocolumn[\@maketitle] \@thanks
\endgroup
% gf: Insert copyright slug unless turned off
\if T\copyright@on\insert\footins{\noindent\footnotesize\copyright@text}\fi
% gf: And now back to your regular programming
\setcounter{footnote}{0}
\let\maketitle\relax \let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\long\gdef\affiliations #1{ \def \affiliations_{#1}}
\def\@maketitle{%
\newsavebox{\titlearea}
\sbox{\titlearea}{
\let\footnote\relax\let\thanks\relax
\vbox{
\hsize\textwidth
%%% AAAI changed: 03/05/2010
%%\linewidth\hsize \vskip 0.625in minus 0.125in \centering
\linewidth\hsize \vskip 0.625in minus 0.125in \centering
%%% END changed
{\LARGE\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
{
\hbox to \linewidth\bgroup\normalsize \hfil\hfil
\hbox to 0pt\bgroup\hss
\begin{tabular}[t]{p{\textwidth}}\centering \Large{\textbf \@author}
\vspace{3pt} \normalsize \affiliations_
\end{tabular}\hss\egroup
\hfil\hfil\egroup}
\vskip 0.0in plus 2fil minus 0.1in}}
\newlength\actualheight
\settoheight{\actualheight}{\usebox{\titlearea}}
\ifdim\actualheight>\titlebox
\setlength{\titlebox}{\actualheight}
\fi
\setcounter{footnote}{0}
\vbox to \titlebox {\let\footnote\thanks\relax
\vbox{
\hsize\textwidth
%%% AAAI changed: 03/05/2010
%%\linewidth\hsize \vskip 0.625in minus 0.125in \centering
\linewidth\hsize \vskip 0.625in minus 0.125in \centering
%%% END changed
{\LARGE\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
{
\hbox to \linewidth\bgroup\normalsize \hfil\hfil
\hbox to 0pt\bgroup\hss
\begin{tabular}[t]{p{\textwidth}}\centering \Large{\textbf \@author}
\vspace{3pt} \normalsize \affiliations_
\end{tabular}\hss\egroup
\hfil\hfil\egroup}
\vskip 0.0in plus 2fil minus 0.1in}}
}
\renewenvironment{abstract}{\centerline{\bf
Abstract}\vspace{0.5ex}\begin{quote}\small}{\par\end{quote}\vskip 1ex}
% jsp added:
\def\pubnote#1{\thispagestyle{myheadings}
\pagestyle{myheadings}
\markboth{#1}{#1}
\setlength\headheight{10pt} \setlength\headsep{10pt}
}
% SECTIONS with less space
\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
-0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\Large\bf\centering}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-2.0ex plus
-0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
\def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
%%% DIEGO changed: 29/11/2009
%% 2pt minus 1pt}{-1em}{\normalsize\bf}}
-2pt minus -1pt}{-1em}{\normalsize\bf}}
%%% END changed
\setcounter{secnumdepth}{0}
% add period to section (but not subsection) numbers, reduce space after
%\renewcommand{\thesection}
% {\arabic{section}.\hskip-0.6em}
%\renewcommand{\thesubsection}
% {\arabic{section}.\arabic{subsection}\hskip-0.6em}
% FOOTNOTES
\footnotesep 6.65pt %
\skip\footins 9pt plus 4pt minus 2pt
\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
\setcounter{footnote}{0}
% LISTS AND PARAGRAPHS
\parindent 10pt
\topsep 4pt plus 1pt minus 2pt
\partopsep 1pt plus 0.5pt minus 0.5pt
\itemsep 2pt plus 1pt minus 0.5pt
\parsep 2pt plus 1pt minus 0.5pt
\leftmargin 10pt \leftmargini\leftmargin \leftmarginii 10pt
\leftmarginiii 5pt \leftmarginiv 5pt \leftmarginv 5pt \leftmarginvi 5pt
\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
\labelwidth\leftmarginii\advance\labelwidth-\labelsep
\topsep 2pt plus 1pt minus 0.5pt
\parsep 1pt plus 0.5pt minus 0.5pt
\itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep
\topsep 1pt plus 0.5pt minus 0.5pt
\parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
\itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
\labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
\abovedisplayskip 7pt plus2pt minus5pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip 0pt plus3pt%
\belowdisplayshortskip 4pt plus3pt minus3pt%
% Less leading in most fonts (due to the narrow columns)
% The choices were between 1-pt and 1.5-pt leading
\def\normalsize{\@setfontsize\normalsize\@xpt{11}} % 10 point on 11
\def\small{\@setfontsize\small\@ixpt{10}} % 9 point on 10
\def\footnotesize{\@setfontsize\footnotesize\@ixpt{10}} % 9 point on 10
\def\scriptsize{\@setfontsize\scriptsize\@viipt{10}} % 7 point on 8
\def\tiny{\@setfontsize\tiny\@vipt{7}} % 6 point on 7
\def\large{\@setfontsize\large\@xipt{12}} % 11 point on 12
\def\Large{\@setfontsize\Large\@xiipt{14}} % 12 point on 14
\def\LARGE{\@setfontsize\LARGE\@xivpt{16}} % 14 point on 16
\def\huge{\@setfontsize\huge\@xviipt{20}} % 17 point on 20
\def\Huge{\@setfontsize\Huge\@xxpt{23}} % 20 point on 23
\AtBeginDocument{\@ifpackageloaded{natbib}
{
% When natbib is in use, set the proper style and fix a few things
\let\cite\citep
\let\shortcite\citeyearpar
\setcitestyle{aysep={}}
\setlength\bibhang{0pt}
\bibliographystyle{aaai21}
}{}
}
\let\endthebibliography=\endlist
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
\def\year{2021}\relax
\documentclass[letterpaper]{article}
\usepackage{aaai21}
\usepackage{times}
\usepackage{helvet}
\usepackage{courier}
\frenchspacing
\setlength{\pdfpagewidth}{8.5in}
\setlength{\pdfpageheight}{11in}
%%% Other packages
% \usepackage{graphicx}
% \usepackage{fancyvrb}
\usepackage[hyphens]{url}
\usepackage{color}
\usepackage{xcolor}
\usepackage{soul}
\usepackage{natbib}
\usepackage{caption}
%\usepackage{subfig}
\usepackage{ifthen}
\usepackage{xspace}
%\usepackage{listings}
%\usepackage{booktabs}
\usepackage[inline]{enumitem}
% for listings
%\lstset{basicstyle=\footnotesize\ttfamily,breaklines=true}
% For the algorithms
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{algorithm}
\usepackage{algpseudocode}
\urlstyle{rm} % DO NOT CHANGE THIS
\def\UrlFont{\rm} % DO NOT CHANGE THIS
\input{defs}
\newboolean{anonymized}
% FIXME: change this before submitting.
\setboolean{anonymized}{false}
%\newcommand{\from}[2]{\textcolor{red}{\noindent\textbf{\large [}\textsc{note from #1:}\textsf{ #2}\textbf{\large ]}}}
\newcommand{\from}[2]{\noindent\textcolor{red}{{$\bf [\![\!\![$}\underline{\scshape{#1}} {\scshape says:} \textsl{#2}{$\bf ]\!\!]\!]$}}}
\newcommand{\hide}[1]{}
% I think we are supposed to submit w/o copyright.
\ifthenelse{\boolean{anonymized}}{\nocopyright}{}
% new math operators
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
\begin{document}
\begin{definition}[POMDP] %~\cite[adapted]{KaelblingETAL:POMDP:AIJ:1998}]
A POMDP, $\cal P = \langle \mathcal{S}, \mathcal{A}, \mathcal{T}, \mathcal{R}, \Omega, \mathcal{O} \rangle$ where
\begin{enumerate*}
\item $\cal S$ is a finite set of states; $\cal A$ is a finite set of actions;
\item $\cal T: {\mathcal S} \times {\mathcal A} \rightarrow \Pi({\mathcal S})$ is the state-transition function, assigning a probability distribution over successor states when an action, $a$ is executed in state $s$;
\item $\cal R$ is the reward function, which may be defined over $\cal S \times \cal A$ or often simply $\cal S$, and defines the reward, a real number (or, in our case, a rational) reward received when $a$ is executed in $s$. Equivalently, we use a cost function, defined over $\cal S \times \cal A$ in the work described here.
\item $\Omega$ is a set of observations that the agent may make;
\item $\cal{O}: \cal{S} \times \cal{A} \times \cal{S} \rightarrow \Pi(\Omega)$ is the observation function, which gives a probability distribution over the set of observations that may be received when the agent takes action $a$ in state $s_0$ and the successor state (dictated by $\cal T$) is $s_1$.
\end{enumerate*}
\end{definition}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment