I am new to LaTeX. I downloaded all files listed in the TUG India website. I tried to pdflatex their code with no success. I wrote to them twice and received no response. Could someone help me pdflatex these files to reproduce their beautiful 17 chapters ?


If you have a look to the sources you have linked you will find an file named tutor.tex. Download all given files into a new directory on your computer. Then compile tutor.tex (be aware to receive errors, the code is a little bit old).

An first run shows something like 155 errors, starting with an \theoremstyle.

To get rid of these errors (but showing 11 pages) a little research has to be done. It seems that amsthm has changed since the document was written. The option mystyles with content in file mystyles.thm does not work.

So change in file tutor.tex line 22 to the following (adding mystyles.thm into the main file):

%\usepackage[mystyles]{amsthm} %  <=========== line 22



\newtheoremstyle{mystyle}{}{}{\slshape}{}{\scshape}{.}{ }{}


\newtheoremstyle{diffnotenonum}{}{}{\itshape}{}{\bfseries}{.}{ }%
  {#1 (\mdseries #3)}
\newtheorem{Cauchy}{Cauchy's Theorem}
\newtheorem{Riemann}{Riemann Mapping Theorem}

\newtheoremstyle{newdiffnotenonum}{}{}{\itshape}{}{\bfseries}{.}{ }%
  {\thmname{#1}\thmnote{( \mdseries #3)}}
\newtheorem{newRiemann}{Riemann Mapping Theorem}

  { }{\thmnote{#3}}



Now I got only one error I can live with:

bibliography not compatible with natbib

You receive the screen version as result. If you want the print version just add the class option print in file tutor.tex.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.