\documentclass[12pt]{article} \usepackage{calrsfs} \usepackage{rcsinfo} \pagestyle{fancyplain} \fancyhead[RE,LO]{\leftmark} \fancyhead[RE,LO]{\thepage} \usepackage[colorinlistoftodos, textwidth=4cm, shadow]{todonotes} \definecolor{orange}{rgb}{1.00,0.65,0.00} \definecolor{purple}{rgb}{0.63,0.13,0.94} %\usepackage[displaymath, tightpage]{preview} \newcounter{todocounter} \newcommand{\todonum}[2][] {\stepcounter{todocounter}\todo[#1]{\thetodocounter: #2}} \newcounter{ubcomment} \newcommand{\ubcomment}[2][]{% \refstepcounter{ubcomment}% {% \todo[color={red!90!},size=\footnotesize]{% \textbf{Fixme: UB [\uppercase{#1}\theubcomment]:}~#2}% }} \newcounter{lkcomment} \newcommand{\lkcomment}[2][]{% \refstepcounter{lkcomment}% {% \todo[color={blue!90!}]{% \textbf{Fixme: LK [\uppercase{#1}\thelkcomment]:}~#2}% }} \usepackage{geometry} \geometry{ includeheadfoot, margin=3.54cm } \usepackage{a4wide} \setlength{\parindent}{0pt} \sloppy \parskip=5pt plus 5pt \oddsidemargin-10pt \usepackage{amssymb,amsfonts,amsmath,amsthm} \theoremstyle{definition} \usepackage{latexsym} \usepackage{enumerate} \usepackage{stmaryrd} \let\mathmicro\mu \usepackage{listings} \lstloadlanguages{Matlab} \lstset{language=Matlab,keywordstyle=\bfseries,breaklines=true,mathescape=true,numbers=left,morecomment=[l]\%\%,frameround=fttt} \usepackage{color} \usepackage{graphics,graphicx} \newcommand{\setB}{{\mathord{\mathbb B}}} \newcommand{\setC}{{\mathord{\mathbb C}}} \newcommand{\setN}{{\mathord{\mathbb N}}} \newcommand{\setQ}{{\mathord{\mathbb Q}}} \newcommand{\setR}{{\mathord{\mathbb R}}} \newcommand{\setZ}{{\mathord{\mathbb Z}}} \newcommand{\coloncolon}{\mathrel{::}} \newcommand{\lsemantics}{\mathopen{\lbrack\mkern-3mu\lbrack}} \newcommand{\rsemantics}{\mathclose{\rbrack\mkern-3mu\rbrack}} \newcommand{\lcata}{\mathopen{(\mkern-3mu\mid}} \newcommand{\rcata}{\mathopen{\mid\mkern-3mu)}} \newcommand{\mymargyellow}[1]{ \footnotemark\marginpar{\fbox{\fcolorbox{black}{yellow}{ \begin{minipage}{2cm} \thefootnote\ #1 \end{minipage}}}}} \usepackage[side]{footmisc} \usepackage{framed} \theoremstyle{definition} \begin{document} \begin{enumerate} \item this \begin{itemize} \item that \end{enumerate} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: