Definition of env
\newenvironment{env}{
\setlength{\parindent}{0pt}%
\obeylines}
When I try to insert a equation it gives me an error.
\begin{env}
\begin{equation*}
\sin{x}
\end{equation*}
\end{env}
! Missing $ inserted. $ l.68 \begin{equation*}
? ! Display math should end with $$. ^^M l.68 \begin{equation*}
? ! Missing $ inserted. $ l.69 \sin {dwa} ? ! Missing $ inserted. $ l.69 \sin{dwa}
?
! LaTeX Error: Bad math environment delimiter.
See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...
l.70 \end{equation*}
? ! Missing $ inserted. $ l.70 \end{equation*}
? ! Display math should end with $$. \endgroup l.70 \end{equation*}
?
If I begin{equtation} outside of the env environment it doesn't give me and error. If I am unable to use env what can I do to achieve the same result?
edit
1.1 Definitions
reward = r_t at timestep t
behaviour policy =π=P(a|s)
observation = s
set of legal game actions =A={1,...,K}
action = a
optimal action-value function = ~~
I'm not writing sentences therefore I need to \linebreak
.
env
supposed to do in terms of your output? Why not just useequation*
as-is outside ofenv
?\obeylines
before the equation in the main document.