An exact LyX port of the standard IIT Madras BTech/MTech/MS/PhD Thesis format.
The following packages need to be installed:
lyx
texlive
texlive-latexextra
texlive-publishers
texlive-science
Use a suitable package manager for your distribution.
Download and install the latest LyX bundle from this website: http://www.lyx.org/Download The same installer will also install MiKTeX on your computer.
After LyX and MiKTeX are installed, open MiKTeX Package Manager (Admin)
from start menu. Go to Repository > Change Repository
, let it pull the names from the internet, and choose any HTTP repository of your choice.
We now need to install three packages, caption
, natbib
and threeparttable
from there. You can search using the Name field on the top bar. Then right click and choose Install on the shown package.
The procedure is not over just yet. Move on to the next section.
The template should work on Windows as well as Linux. However, I recommend using Linux for this since it's much easier to configure there.
-
Download the zip file. Extract it somewhere.
cd
to the folder where you extracted it. -
Copy the
iitmdiss
directory to the latex template directory. Note that on some distributions, path may be different.-
For Archlinux:
sudo cp -r iitmdiss /usr/share/texmf-dist/tex/latex/iitmdiss/
. -
For Ubuntu:
sudo cp -r iitmdiss/ /usr/share/texlive/texmf-dist/tex/latex/iitmdiss
-
-
Copy
iitmdiss.layout
file to LyX layouts directory.sudo cp iitmdiss.layout /usr/share/lyx/layouts/
-
Run
texhash
to refresh file name database.
sudo texhash
- Open LyX. Click on
Tools > Reconfigure
. Restart LyX when done.
-
Download the zip file and extract its contents somewhere.
-
Now copy the directory
iitmdiss
to%AppData%\MiKTeX\2.9\tex\latex
. You may first need to create thelatex
directory inside%AppData%\MiKTeX\2.9\tex\
manually. -
Now copy the file
iitmdiss.layout
insideC:\Program Files (x86)\LyX 2.1\Resources\layouts
. -
After this is done, open
cmd.exe
and type:texhash
-
Open LyX as administrator, and click on
Tools>Reconfigure
. Now restart Lyx, again as an admin.
The template thesis.lyx
should now open and compile properly.
You may get an error saying a class is missing, but ignore it since the PDF is created just fine. Test it by opening thesis.lyx
and choosing File > Export > PDF (pdflatex)
. A new PDF with name thesis.pdf will be created in the same directory.
-
First thing you should do is, open
Document > Settings > LaTeX Preamble
. Set the Thesis title, Author, Date and your Department name there. -
Set your degree in
Documents > Settings > Document class > Custom
. Values can be:- BTech
- MTech
- MS
- PhD
-
If it's a synopsis, add
synopsis
to the end. (Examples:MTech, synopsis
or simplyMTech
) -
Don't remove any of the grey chunks of text you see in the file. Just edit the text part.
-
Figures can be inserted normally through first
Insert > Float > Figure
and thenInsert>Graphics
inside it. Same with tables. -
This document supports all image formats (jpeg, png, eps, pdf etc). Set the image scaling via
Right-click > Settings
on the image. -
References at the end of the document can be set by editing the file
refs.bib
found in the same folder.
Do File > Export > PDF (pdflatex)
. thesis.pdf
will be created in the
same folder.
Good luck! :)