I have just started using Latex, Here is the code I have used (Texstudio editor):
\documentclass{article}
\usepackage{parskip}
\usepackage[margin=3.5cm]{geometry}
\usepackage{makeidx}
\usepackage{paralist}
\usepackage{amsmath,amssymb}
\usepackage{mdwtab}
\usepackage{graphicx,subfigure}
\DeclareMathSymbol{,}{\mathord}{letters}{''3B}
\newcommand{\np}{\newpage}
\begin{document}
\title{DSC4830\\[3mm]
Research Project\\[5mm]
Department of Decision Sciences\\[1cm]
Assignment 1\\[5mm]
Typing in \Latex\\[1cm]
}
\author{\textbf{\Large Lashner Ciorovich}\\[3mm]
/textbf{\Large 07364598}
}
\maketitle
\thispagestyle{empty}
\np
\tableofcontents
\np
\end{document}
I keep getting the following logs:
Missing number, treated as zero. \DeclareMathSymbol{,}{\mathord}{letters}{''3B} Missing \begin{document}. \DeclareMathSymbol{,}{\mathord}{letters}{''3B} Undefined control sequence. \maketitle
Please can someone tell me what is wrong with my code?
Thank you.
\np
and delete the definition from your file (else the monster under your bed might get upset). It seems you are usin the wrong document class. Your title is also a mess (read more).